Wide-Character I/O Functions : Wide Character Functions « Wide Character String « C Tutorial

Home
C Tutorial
1.Language
2.Data Type
3.String
4.printf scanf
5.Operator
6.Statement
7.Array
8.Function
9.Structure
10.Pointer
11.Memory
12.Preprocessor
13.File
14.Data Structure
15.Search Sort
16.Wide Character String
17.assert.h
18.ctype.h
19.math.h
20.setjmp.h
21.signal.h
22.stdio.h
23.stdlib.h
24.string.h
25.time.h
26.wctype.h
C / ANSI-C
C++
C++ Tutorial
Visual C++ .NET
C Tutorial » Wide Character String » Wide Character Functions 
16.1.2.Wide-Character I/O Functions

The wide-character I/O functions use the header .

Wide-Character I/O Functions and Their char Equivalents

Functionchar Equivalent
win_t fgetwc(FILE *stream)fgetc()
wchar_t *fgetws(wchar_t *str, int num,FILE *stream)fgets()
wint_t fputwc(wchar_t ch, FILE *stream)fputc()
int fputws(const wchar_t *str, FILE *stream)fputs()
int fwprintf(FILE *stream,const wchar_t *fmt, ...)fprintf()
int fwscanf(FILE *stream,const wchar_t *fmt, ...)fscanf()
wint_t getwc(FILE *stream)getc()
wint_t getwchar(void)getchar()
wint_t putwc(wchar_t ch, FILE *stream)putc()
wint_t putwchar(wchar_t ch)putchar()
int swprintf(wchar_t *str, size_t num,const wchar_t *fmt, ...)sprintf()
int swscanf(const wchar_t *str,const wchar_t *fmt, ...)sscanf()
wint_t ungetwc(wint_t ch, FILE *stream)ungetc()
int vfwprintf(FILE *stream,const wchar_t *fmt, va_list arg)vfprintf().
int vfwscanf(FILE * restrict stream,const wchar_t * restrict fmt,va_list arg);vfscanf()
int vswprintf(wchar_t *str, size_t num,const wchar_t *fmt, va_list arg)vsprintf()
int vswscanf(const wchar_t * restrict str, const wchar_t * restrict fmt,va_list arg);Vsscanf()
int vwprintf(const wchar_t *fmt, va_list arg)vprintf()
int vwscanf(const wchar_t * restrict fmt, va_list arg);vscanf()
int wprintf(const wchar_t *fmt, ...)printf()
int wscanf(const wchar_t *fmt, ...)scanf()


(C: The Complete Reference, Fourth Edition by Herbert Schildt McGraw-Hill/Osborne 2000 ISBN-10: 0072121246, ISBN-13: 978-0072121247)

16.1.Wide Character Functions
16.1.1.Wide-Character Functions
16.1.2.Wide-Character I/O Functions
16.1.3.Wide-Character String Functions
16.1.4.Wide-Character String Conversion Functions
16.1.5.Wide-Character Array Functions
16.1.6.Multibyte/Wide-Character Conversion Functions
16.1.7.An open-ended means of classifying characters.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.