Click here to Skip to main content
15,899,754 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MCTS certification Pin
Richard MacCutchan9-Feb-12 22:09
mveRichard MacCutchan9-Feb-12 22:09 
GeneralRe: MCTS certification Pin
shanmugarajaa9-Feb-12 22:47
shanmugarajaa9-Feb-12 22:47 
GeneralRe: MCTS certification Pin
Rahul Rajat Singh15-Feb-12 20:15
professionalRahul Rajat Singh15-Feb-12 20:15 
QuestionUSB flash drive serial number in VC++ Pin
RomTibi9-Feb-12 5:06
RomTibi9-Feb-12 5:06 
AnswerRe: USB flash drive serial number in VC++ Pin
Chris Losinger9-Feb-12 5:32
professionalChris Losinger9-Feb-12 5:32 
QuestionHow to parse a file and store few strings in an array Pin
Faez Shingeri8-Feb-12 22:28
Faez Shingeri8-Feb-12 22:28 
AnswerRe: How to parse a file and store few strings in an array Pin
SandipG 8-Feb-12 22:38
SandipG 8-Feb-12 22:38 
GeneralRe: How to parse a file and store few strings in an array Pin
Faez Shingeri8-Feb-12 22:47
Faez Shingeri8-Feb-12 22:47 
 int main()
{
char *buf[1024], *tok;
FILE *fp1, *fp2;
fp1=fopen("test.txt","r+");
fp2=fopen("newtest.txt","w+");

while(fgets(buf, bufsize, fp1) != NULL)
		{
		for(tok = strtok(buf,"{");tok !="}";)
			{
				fprintf(fp2, "%s",buf);
			}	
                }
fclose(fp2);
fclose(fp1);
}


modified 10-Feb-12 0:03am.

GeneralRe: How to parse a file and store few strings in an array Pin
Richard MacCutchan8-Feb-12 23:13
mveRichard MacCutchan8-Feb-12 23:13 
QuestionRe: How to parse a file and store few strings in an array Pin
David Crow9-Feb-12 2:33
David Crow9-Feb-12 2:33 
AnswerRe: How to parse a file and store few strings in an array Pin
Richard MacCutchan9-Feb-12 2:58
mveRichard MacCutchan9-Feb-12 2:58 
GeneralRe: How to parse a file and store few strings in an array Pin
Faez Shingeri9-Feb-12 17:55
Faez Shingeri9-Feb-12 17:55 
GeneralRe: How to parse a file and store few strings in an array Pin
Richard MacCutchan9-Feb-12 22:04
mveRichard MacCutchan9-Feb-12 22:04 
GeneralRe: How to parse a file and store few strings in an array Pin
CPallini9-Feb-12 23:11
mveCPallini9-Feb-12 23:11 
GeneralRe: How to parse a file and store few strings in an array Pin
Richard MacCutchan10-Feb-12 0:42
mveRichard MacCutchan10-Feb-12 0:42 
GeneralRe: How to parse a file and store few strings in an array Pin
CPallini10-Feb-12 0:48
mveCPallini10-Feb-12 0:48 
GeneralRe: How to parse a file and store few strings in an array Pin
Richard MacCutchan10-Feb-12 0:57
mveRichard MacCutchan10-Feb-12 0:57 
GeneralRe: How to parse a file and store few strings in an array Pin
Faez Shingeri10-Feb-12 1:26
Faez Shingeri10-Feb-12 1:26 
GeneralRe: How to parse a file and store few strings in an array Pin
Richard MacCutchan10-Feb-12 6:26
mveRichard MacCutchan10-Feb-12 6:26 
GeneralRe: How to parse a file and store few strings in an array Pin
Faez Shingeri11-Feb-12 6:39
Faez Shingeri11-Feb-12 6:39 
GeneralRe: How to parse a file and store few strings in an array Pin
Richard MacCutchan11-Feb-12 7:11
mveRichard MacCutchan11-Feb-12 7:11 
GeneralRe: How to parse a file and store few strings in an array Pin
Faez Shingeri12-Feb-12 19:19
Faez Shingeri12-Feb-12 19:19 
GeneralRe: How to parse a file and store few strings in an array Pin
Richard MacCutchan12-Feb-12 21:39
mveRichard MacCutchan12-Feb-12 21:39 
GeneralRe: How to parse a file and store few strings in an array Pin
David Crow10-Feb-12 7:14
David Crow10-Feb-12 7:14 
QuestionDirectshow Pin
venkatesh528677-Feb-12 21:22
venkatesh528677-Feb-12 21:22 

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.