Bob, My attempt resulted in the statement below and I am not sure were the prob is; also i have a small green rectangle on the field that preceds the cursur when i enter the code. This rectangle does not appear in your notes...any suggestions?
int main (void)
printf( "Hello Chuck/n" );
'test22.exe': Loaded 'C:Userscwill111DocumentsVisual Studio 2010Projectstest22Debugtest22.exe', Symbols loaded.
'test22.exe': Loaded 'C:WINDOWSSysWOW64ntdll.dll', Cannot find or open the PDB file
'test22.exe': Loaded 'C:WINDOWSSysWOW64kernel32.dll', Cannot find or open the PDB file
'test22.exe': Loaded 'C:WINDOWSSysWOW64KernelBase.dll', Cannot find or open the PDB file
'test22.exe': Loaded 'C:WINDOWSSysWOW64msvcr100d.dll', Symbols loaded.
The program ' test22.exe: Native' has exited with code 0 (0x0).
SOLUTION This solution is FREE courtesy of BrainMass!
Next time if you still have a problem with this post, just send me a message instead of posting it with credit. Also please talk to BrainMass.com so you might get refund for this post since this post is a question regarding the previous post.
Anyway, in your code, after #include, I don't see stdio.h. Do you have it in your code? I tried to run my code without stdio.h and got a build error. See the screen capture. When I cliked Yes, it ran and gave exactly same errors you got.
Also, use n after Churck insted of /n. You also might want to use gets() function to pause the program to see it prints your name. Otherwise, the program will all the way and end without giving you time to see what it printed on console.© BrainMass Inc. brainmass.com September 27, 2022, 5:37 pm ad1c9bdddf>