Beginner C/C++

Moderators: None (Apply to moderate this forum)
Number of threads: 5428
Number of posts: 16949

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
095440 Posted by sky4rent on 16 May 2010 at 11:01 PM
what is the difference between putc and putw?



M. M. Saifuddin
st. no: 095440
Dept: CEE
Islamic university of technology
Report
Re: 095440 Posted by putin_krab on 15 Jun 2010 at 1:00 PM
The difference in the type of first argument:

int putw(int w, FILE *stream);
int fputc(int c, FILE *stream);

The putw() function writes the word, and putc() writes one byte.
Report
Re: 095440 Posted by meoconvn38 on 17 Jun 2010 at 9:43 AM
Right usually word = sizeof ( int) = 2 byte in x86 system



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.