Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: B-lo-0 on September 09, 2011, 02:20:19 am

Title: "It seems this file has not been built" error message
Post by: 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;
}
Title: Re: "It seems this file has not been built" error message
Post by: Alpha on September 09, 2011, 04:03:06 am
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 (http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler).  Also, this page (http://wiki.codeblocks.org/index.php?title=Creating_a_new_project) contains basic information on project setup in Code::Blocks, and may help.
Title: Re: "It seems this file has not been built" error message
Post by: jinjin12 on September 25, 2011, 09:23:05 pm
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