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
		
			
			- 
				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;
}
			 
			
			- 
				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.
			 
			
			- 
				
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