Click next and again accept all the defaults in the Select Configurations window. Figure 1: Create a Hello World C++ ProjectĬlick next and accept all the defaults in the Basic Settings window. Name it Hello, and select the project type as Hello World C++ Project (Figure 1). This opens the C++ ‘perspective’ in Eclipse, which is a fancy way of saying it makes available the windows and options you need to develop C++ programs. Window > Open Perspective > Other > C/C++ Open eclipse (you’ll find it in the Applications > Programming menu), and if this is the first time you have used it, accept the default workspace and close the welcome window. There’s a wealth of information on the Eclipse website that tells you how to install Eclipse for your operating system, but the heads up if you’re a Fedora user is just switch to root (or use sudo) and run: yum install eclipse-cdt Create your project I program on Fedora Linux, not Windows, so although your screenshots may differ slightly to mine, Eclipse runs quite happily on both. Why? Because in the majority of my other C++ tutorials I will be using Eclipse as the IDE (integrated development environment), and building on a basic project such as this. This is a tutorial on creating and understanding a ‘Hello World’ program in C++ using Eclipse. It’s a series of professional video and text tutorials on using C++ and Eclipse CDT.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |