Format « pointer « C File Q&A

Home
C File Q&A
1.array
2.binary
3.delete
4.Development
5.directory
6.fgets
7.fopen
8.fprintf
9.fscanf
10.fwrite
11.header
12.include
13.input
14.LINE
15.linux
16.open
17.output
18.pointer
19.read
20.size
21.string
22.struct
23.Text
24.windows
25.write
C File Q&A » pointer » Format 

1. Printing char pointer in C - I keep getting bad formatting    stackoverflow.com

I am reading a line from a file containing the names of people, first line contains names of males, and seconds line contains names of females. Then I want to store ...

2. Pointer problems opening file *formatted*    forums.devshed.com

What compiler are you using? Do you clean up all compiler warnings?After fixing the line that M.Hirsch mentioned, VC++ 6.0 says that the first argument, fPtr2, is being used without being initialized. And that is correct. There is a couple ways to fix that: (1) remove the parameter and make it local to the function writefile(), then writefile() should close the ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.