I have Ubuntu 12.04, I'm new using it so please be patient to explain.
I've installed Ajunta, Eclipse, Code:Blocks, KDevelop, Geany and I run a "Hello World" program and no one work like Windows IDE's.
I run "Hello world!" program in Geany it runs well, but if I run a larger code program it has this error. Note that when I compile, Geany doesn't show me errors.
Here's the code if needed, it's a multiplicator.
Code:
#include <stdio.h>
int main()
{
int st, nd, result;
printf("Enter the first number ");
scanf("%d", &st);
printf("Enter the second number ");
scanf("%d", &nd);
result = st * nd;
printf("The result of your multiplication is %d", result);
getchar();
getchar();
}
Error in Geany is attached.
Feel free if you want to share a better IDE for C or C++.
Thank you!
Bookmarks