I'm trying to write a c application that takes user input. I wrote a simple program, but it did work right. I'm using eclipse c/c++ toolkit. When I save>build>run the console stays blank. If I put in some input, the program then runs. First it prints the printf then the input I entered. It workes ok while running sample program in online compilers. Anyone got any ideas about why?
Asked
Active
Viewed 32 times
0
-
5Please do not post a link to an image of the source... please include the source code directly in the question, using `code` tags. – Andrew Aug 17 '22 at 16:35
-
I have no clue what you mean. It works fine. How online compilers can affect your eclipse? – 0___________ Aug 17 '22 at 16:37
-
@Andrew wrong dupe. Eclipse & mingw need to flush for some reason. New line does not help. – 0___________ Aug 17 '22 at 16:38
-
1Please provide enough code so others can better understand or reproduce the problem. – Community Aug 18 '22 at 02:47