tag:blogger.com,1999:blog-5130605046143524631.post9204605894583106697..comments2024-02-15T21:03:08.434-08:00Comments on C++ Programming: C++ Tutorial For The First ProgramMohammed Homamhttp://www.blogger.com/profile/03769205145000360084noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-5130605046143524631.post-67508737544454203522018-08-11T00:17:51.289-07:002018-08-11T00:17:51.289-07:00These are truly amongst the wonderful informative ...These are truly amongst the wonderful informative blogs.<br /><a href="https://www.tutorialcup.com/cplusplus" rel="nofollow">c++ programming</a> <br />Clairehttps://www.blogger.com/profile/04565520154551295066noreply@blogger.comtag:blogger.com,1999:blog-5130605046143524631.post-60460658040622282302012-07-06T10:37:23.362-07:002012-07-06T10:37:23.362-07:00Because there is syntax error that you have to fin...Because there is syntax error that you have to find it. The error is that main function is terminated by the semicolon. [main ();] Just remove the semicolon after main function and the program will run fine.Mohammed Homamhttps://www.blogger.com/profile/03769205145000360084noreply@blogger.comtag:blogger.com,1999:blog-5130605046143524631.post-48110010545226838532012-07-05T16:30:31.907-07:002012-07-05T16:30:31.907-07:00but why i am wrong it says syntax error
i'm u...but why i am wrong it says syntax error<br /><br />i'm using devC++Anonymoushttps://www.blogger.com/profile/17361323979362690225noreply@blogger.comtag:blogger.com,1999:blog-5130605046143524631.post-74911857116343353632011-05-23T07:50:46.531-07:002011-05-23T07:50:46.531-07:00Thanks Mohammed.Thanks Mohammed.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5130605046143524631.post-69974712880792081342011-05-22T22:28:14.693-07:002011-05-22T22:28:14.693-07:00You might be using dev c++. You can add std::cin.g...You might be using dev c++. You can add std::cin.get(); or system("PAUSE"); before the return 0; statement.<br /><br />I recommend you to use codeblocks. It is better than dev c++. You can download it from here: http://www.codeblocks.org/downloads/binaries<br /><br />In codeblocks and visual studio, you don't need to add std::cin.get(); or system("PAUSE"); before return 0; statement.Mohammed Homamhttps://www.blogger.com/profile/03769205145000360084noreply@blogger.comtag:blogger.com,1999:blog-5130605046143524631.post-12784634414271566852011-05-22T21:38:37.238-07:002011-05-22T21:38:37.238-07:00When I compile the program using F9, I dont see th...When I compile the program using F9, I dont see the output window. Thanks, AjayAnonymousnoreply@blogger.com