-->
In this walkthrough, you deliberately introduce a C++ syntax error in your code to learn what a compilation error looks like and how to fix it. When you compile the project, an error message indicates what the problem is and where it occurred.
Prerequisites
Aug 16, 2010 Hi, I'm use dev c to do my homework. But when I want to make a software, I think it's difficult than MS VS: how to build a GUI( or can I 'design' by mouse a. In Visual Studio, open the File menu and choose New Project to open the New Project dialog. In the New Project dialog, select Installed, Visual C if it isn't selected already, and then choose the Empty Project template. Rmx 500 vst download. In the Name field, enter HelloWorld. Choose OK to create the project.
- This walkthrough assumes that you understand the fundamentals of the C++ language.
- It also assumes that you've completed the earlier related walkthroughs that are listed in Using the Visual Studio IDE for C++ Desktop Development.
To fix compilation errors
- In Game.cpp, delete the semicolon in the last line so that it resembles the statement:
return 0
- On the menu bar, choose Build > Build Solution.
- A message in the Error List window indicates that there was an error in the building of the project. The description looks something like the error message:
error C2143: syntax error: missing ';' before '}'
To view help information about this error, highlight it in the Error List window and then choose the F1 key. Antares auto tune power supply. - Add the semicolon back to the end of the line that has the syntax error:
return 0;
- On the menu bar, choose Build > Build Solution.A message in the Output window indicates that the project compiled successfully.
How To Create A Project In Dev C++
Next Steps
Create Project In Dev C++
Previous:Walkthrough: Working with Projects and Solutions (C++)
Next:Walkthrough: Testing a Project (C++)
Next:Walkthrough: Testing a Project (C++)