Problem with eclipse while running simple c program [message #1749358] |
Mon, 05 December 2016 19:43 |
Cosimo Argentino Messages: 3 Registered: December 2016 |
Junior Member |
|
|
Hi everybody, I'm new in this forum and I installed eclipse with minGW for my university's exam.
I was writing a simple c program to test eclipse installation and I noticed a big problem. There is a screen:
On the console output It seems to run first the last line of the code (the acquisition of the number) and then the first printf with "Inserisci il numero" ("Write the number" in english)
If I go in the debug folder and I run the .exe, the program works perfectly.
Just for another exemple, with this program after saved and debugged, if i run the console the first printf does not appear until i insert a number
I insert the number (5), then the program start the system pause and in the end the program start the first printf and the last.
Also for this program, if I run the exe from the debug folder, the program works perfectly.
I need a working eclipse program for my exam in jenuary, please help me and sorry for my bad english.
-
Attachment: uno.png
(Size: 68.12KB, Downloaded 381 times) -
Attachment: tre.jpg
(Size: 141.06KB, Downloaded 967 times) -
Attachment: Immagine.png
(Size: 76.47KB, Downloaded 1264 times) -
Attachment: due.jpg
(Size: 136.23KB, Downloaded 779 times)
|
|
|
|
Powered by
FUDForum. Page generated in 0.02065 seconds