Click here to Skip to main content
15,903,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: fgets?? Pin
hauptman20-Mar-05 11:21
hauptman20-Mar-05 11:21 
GeneralRe: fgets?? Pin
David Crow21-Mar-05 4:21
David Crow21-Mar-05 4:21 
AnswerRe: fgets?? Pin
Christian Graus20-Mar-05 11:58
protectorChristian Graus20-Mar-05 11:58 
AnswerRe: fgets?? Pin
Aamir Butt21-Mar-05 0:18
Aamir Butt21-Mar-05 0:18 
QuestionHow do I call a Child window from a Dialog? Pin
TMaxwell8620-Mar-05 10:21
TMaxwell8620-Mar-05 10:21 
AnswerRe: How do I call a Child window from a Dialog? Pin
Renjith Ramachandran20-Mar-05 15:57
Renjith Ramachandran20-Mar-05 15:57 
GeneralAccessing the gui controls of other applications Pin
modshah_one20-Mar-05 7:08
modshah_one20-Mar-05 7:08 
GeneralRe: Accessing the gui controls of other applications Pin
David Crow21-Mar-05 4:26
David Crow21-Mar-05 4:26 
GeneralRe: Accessing the gui controls of other applications Pin
modshah_one21-Mar-05 7:12
modshah_one21-Mar-05 7:12 
GeneralRe: Accessing the gui controls of other applications Pin
David Crow21-Mar-05 7:21
David Crow21-Mar-05 7:21 
GeneralPLBYTE to int * Pin
samhwang20-Mar-05 6:41
samhwang20-Mar-05 6:41 
GeneralRe: PLBYTE to int * Pin
John R. Shaw20-Mar-05 11:10
John R. Shaw20-Mar-05 11:10 
GeneralRe: PLBYTE to int * Pin
samhwang20-Mar-05 14:45
samhwang20-Mar-05 14:45 
GeneralRe: PLBYTE to int * Pin
David Crow21-Mar-05 4:28
David Crow21-Mar-05 4:28 
GeneralRe: PLBYTE to int * Pin
John R. Shaw30-Mar-05 6:00
John R. Shaw30-Mar-05 6:00 
Generalamstream.h Pin
Verolix20-Mar-05 6:15
Verolix20-Mar-05 6:15 
GeneralRe: amstream.h Pin
Christian Graus20-Mar-05 12:01
protectorChristian Graus20-Mar-05 12:01 
Generalsimple program Pin
mpapeo20-Mar-05 4:05
mpapeo20-Mar-05 4:05 
Why does this program crush?, what have i left?

<br />
#include "stdio.h"<br />
<br />
<br />
int main(int argc, char* argv[])<br />
{	<br />
	FILE* fp;<br />
	char fname[10];<br />
	<br />
	printf("Enter the file name: ",fname);<br />
	scanf ("%s",fname);<br />
	 <br />
	if( fp )<br />
		fopen("&fname","wt");<br />
	{		<br />
		int i;<br />
		for( i=0; i<10; ++i )			<br />
			fprintf(fp,"Line %d\n",i);		<br />
		<br />
		fclose(fp);	<br />
	}	<br />
	return 0;<br />
}


oam
GeneralRe: simple program Pin
Chris Losinger20-Mar-05 4:26
professionalChris Losinger20-Mar-05 4:26 
GeneralRe: simple program Pin
eli1502197920-Mar-05 4:30
eli1502197920-Mar-05 4:30 
GeneralRe: simple program Pin
Ravi Bhavnani20-Mar-05 5:39
professionalRavi Bhavnani20-Mar-05 5:39 
GeneralRe: simple program Pin
eli1502197920-Mar-05 20:26
eli1502197920-Mar-05 20:26 
GeneralRe: simple program Pin
mpapeo20-Mar-05 10:59
mpapeo20-Mar-05 10:59 
GeneralRe: simple program Pin
marinme20-Mar-05 11:25
marinme20-Mar-05 11:25 
GeneralRe: simple program Pin
mpapeo20-Mar-05 11:43
mpapeo20-Mar-05 11:43 

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.