Click here to Skip to main content
15,889,822 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: simple program Pin
David Crow21-Mar-05 4:30
David Crow21-Mar-05 4:30 
GeneralRe: simple program Pin
mpapeo21-Mar-05 8:45
mpapeo21-Mar-05 8:45 
GeneralCSocket &amp; closed connection Pin
pand_pl20-Mar-05 3:34
pand_pl20-Mar-05 3:34 
GeneralRe: CSocket &amp; closed connection Pin
eli1502197920-Mar-05 4:40
eli1502197920-Mar-05 4:40 
GeneralRe: CSocket &amp; closed connection Pin
pand_pl20-Mar-05 5:23
pand_pl20-Mar-05 5:23 
GeneralRe: CSocket &amp; closed connection Pin
eli1502197920-Mar-05 21:04
eli1502197920-Mar-05 21:04 
GeneralRe: CSocket &amp; closed connection Pin
pand_pl21-Mar-05 1:57
pand_pl21-Mar-05 1:57 
GeneralProcess memory Usage Pin
zan yan20-Mar-05 2:27
zan yan20-Mar-05 2:27 
GeneralRe: Process memory Usage Pin
Aamir Butt21-Mar-05 0:35
Aamir Butt21-Mar-05 0:35 
GeneralRe: Process memory Usage Pin
David Crow21-Mar-05 4:38
David Crow21-Mar-05 4:38 

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.