To write your code the easiest way to do it is click the new icon on the toolbar and save it as a *.cpp file. Then write your code and compile it to run the program. the shortcut key to compile is Ctrl-F7. The proper way to start a new project is Click File->New then a pop up dialog box will appear. Select the type of project your wanting to make. Most likely since your new to C++ it will be "Win32 Console Application". Type the name in the project name field and then click OK. Another dialog box appears and you have a few more options, you will probably want to create an empty project. Click Finish. Then you will need to click File->New again. Select C++ Source file form the dialog box then type the name of the file you are going to create and click OK. That is it all you have to do now is code your heart out. Hope that helps you get started
If you need to see the line number you are on, look at the lower right corner in the status bar. It will say something like "Ln 73, Col 12" meaning the cursor is on line 73 at position 12 of the line.
If you want to jump to a particular line, you can hit Ctrl-G, make sure Line is selected on the left, enter the line number on the right, and hit enter.
If you get compiler errors or warnings that mention a specific line, you can just double click on that error or warning in the output window and the file will come up with the cursor on the appropriate line.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.