News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

"It seems this file has not been built" error message

Started by B-lo-0, September 09, 2011, 02:20:19 AM

Previous topic - Next topic

B-lo-0

im trying to build very basic programs just to see it print out in a dos menu. But even after "building" after this message it still appears. What am i doing wrong?


int main{

  printf("COP 3223 Rocks!\n");
  return 0;
}

Alpha

You have not provided very much information, so it is difficult to tell what the problem is.
You could check if you have a properly installed compiler.  Also, this page contains basic information on project setup in Code::Blocks, and may help.

jinjin12

Quote from: B-lo-0 on September 09, 2011, 02:20:19 AM
im trying to build very basic programs just to see it print out in a dos menu. But even after "building" after this message it still appears. What am i doing wrong?


int main{

  printf("COP 3223 Rocks!\n");
  return 0;
}


trying name the source as a .cpp and compile again.  cause when you save it, it does not have a suffix which tells the ide what type of file it is.  it happened to me before, assuming you are talking about the same thing i am thinking you are talking about.  try to see if that works, if it don't post a screenshot