Click here to Skip to main content
15,917,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: passing strings Pin
toxcct8-Aug-07 23:27
toxcct8-Aug-07 23:27 
GeneralRe: passing strings Pin
dona jain8-Aug-07 23:33
dona jain8-Aug-07 23:33 
GeneralRe: passing strings Pin
David Crow9-Aug-07 3:38
David Crow9-Aug-07 3:38 
AnswerRe: passing strings Pin
jhwurmbach8-Aug-07 23:37
jhwurmbach8-Aug-07 23:37 
GeneralRe: passing strings Pin
dona jain8-Aug-07 23:40
dona jain8-Aug-07 23:40 
GeneralRe: passing strings Pin
jhwurmbach8-Aug-07 23:43
jhwurmbach8-Aug-07 23:43 
GeneralRe: passing strings Pin
dona jain8-Aug-07 23:46
dona jain8-Aug-07 23:46 
GeneralRe: passing strings Pin
jhwurmbach8-Aug-07 23:55
jhwurmbach8-Aug-07 23:55 
Ranjoy Guha already programmed you a function which you simply need to give the buffers as parameters:
char buffer1[100];
char buffer2[100];
char buffer3[100];

FileOpration fcRead;
fcRead.fileRead( buffer1, buffer2, buffer3);
Now look at buffer1, 2, 3 in the debugger.

As a side-question:
Do you really desire to learn C?
And why do you ask your questions in a C++/MFC-Forum?
The C++ way of reading a file would be std::ifstream.


Though I speak with the tongues of men and of angels, and have not money, I am become as a sounding brass, or a tinkling cymbal.
George Orwell, "Keep the Aspidistra Flying", Opening words

GeneralRe: passing strings Pin
toxcct9-Aug-07 0:17
toxcct9-Aug-07 0:17 
AnswerRe: passing strings Pin
Ranjoy Guha8-Aug-07 23:41
Ranjoy Guha8-Aug-07 23:41 
GeneralRe: passing strings Pin
dona jain8-Aug-07 23:43
dona jain8-Aug-07 23:43 
GeneralRe: passing strings Pin
Cedric Moonen8-Aug-07 23:51
Cedric Moonen8-Aug-07 23:51 
GeneralRe: passing strings Pin
toxcct8-Aug-07 23:51
toxcct8-Aug-07 23:51 
GeneralRe: passing strings Pin
Ranjoy Guha8-Aug-07 23:51
Ranjoy Guha8-Aug-07 23:51 
GeneralRe: passing strings Pin
dona jain8-Aug-07 23:56
dona jain8-Aug-07 23:56 
GeneralRe: passing strings Pin
sunit59-Aug-07 0:10
sunit59-Aug-07 0:10 
GeneralRe: passing strings Pin
toxcct9-Aug-07 0:10
toxcct9-Aug-07 0:10 
GeneralRe: passing strings Pin
dona jain9-Aug-07 0:18
dona jain9-Aug-07 0:18 
GeneralRe: passing strings Pin
dona jain9-Aug-07 0:24
dona jain9-Aug-07 0:24 
GeneralRe: passing strings Pin
toxcct9-Aug-07 0:26
toxcct9-Aug-07 0:26 
GeneralRe: passing strings Pin
Ranjoy Guha9-Aug-07 0:19
Ranjoy Guha9-Aug-07 0:19 
AnswerRe: passing strings Pin
Jim Crafton9-Aug-07 8:43
Jim Crafton9-Aug-07 8:43 
QuestionTCHAR* argv[ ] Pin
baerten8-Aug-07 22:59
baerten8-Aug-07 22:59 
AnswerRe: TCHAR* argv[ ] Pin
jk chan8-Aug-07 23:11
jk chan8-Aug-07 23:11 
GeneralRe: TCHAR* argv[ ] Pin
baerten8-Aug-07 23:42
baerten8-Aug-07 23:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.