Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Problems while running a simple c program on eclipse
Problems while running a simple c program on eclipse [message #1749381] Tue, 06 December 2016 06:19 Go to next message
Cosimo Argentino is currently offline Cosimo ArgentinoFriend
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:

http://imgur.com/a/UzOKQ

On the console output the program start with the system pause (you can see in italian "premi un tasto per continuare..." (press a button to continue) and then, after typing 5, the program go with the first and the last printf.

If I go in the debug folder and I run the .exe, the program works perfectly.

I need a working eclipse program for my exam in jenuary, please help me and sorry for my bad english and sorry for the double thread.
Re: Problems while running a simple c program on eclipse [message #1749383 is a reply to message #1749381] Tue, 06 December 2016 07:00 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 32160
Registered: July 2009
Senior Member
It's better to post about this on the http://eclipse.org/forums/eclipse.tools.cdt forum. Perhaps you just need to flush the output stream, though I have no idea how to do that in C.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Problems while running a simple c program on eclipse [message #1749452 is a reply to message #1749383] Tue, 06 December 2016 23:03 Go to previous message
Jonah Graham is currently offline Jonah GrahamFriend
Messages: 404
Registered: June 2014
Senior Member
This question was moved by Ed to the C/C++ Forum, but also reposted. Find my answer on the reposted question https://www.eclipse.org/forums/index.php/m/1749451/
Previous Topic:Problem with eclipse while running simple c program
Next Topic:Post-Buildstep no .bin file
Goto Forum:
  


Current Time: Sat Jan 22 09:32:59 GMT 2022

Powered by FUDForum. Page generated in 0.02599 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top