Eclipse Mars settings [message #1744029] |
Wed, 21 September 2016 14:18  |
Massimo Mancini Messages: 24 Registered: September 2016 |
Junior Member |
|
|
Dear all,
thanks for your help.
I am a beginner using Eclipse and I really wish to get deep into using it.
Starting using it, I have to admit that I can hardly understand if it is well setted because anytime I am writing a code, there is no way to build and lounch it.
The program I am writing are simple examples of some exercise coming from a learning book "Deitel & Deitel" ...
The point is, if I copy the exactly code in the new file of a new C program, it doesn't work anything, nor building nor lounching.
How can I solve this problem once for all? What really does change from other IDE?
In my last topic I did ask more or less the same question and I've learned that when I have to printf ..., I have to add fflush(stdout); otherwise it doesn't charge the integer ...
How to understand settings?
Here we are, another example of a very simple program which drive me crazy today:
#include <stdio.h>
int main( void )
{
int x;
for ( x = 1; x <= 10; x++ ) {
if ( x == 5 ) {
break;
}
printf( "%d ", x );
}
printf( "\nBroke out of loop at x == %d\n" , x );
return 0;
}
The console is dislaying: ".. no progam to build"....
Thanks for any advice.
Massimo
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02392 seconds