Tag: C++

Lesson 4: Variables and Constants in C++

Understanding Variables and Memory in C++ Define and declare constants and variables in C++ Assign and manipulate and print to the screen variable values in C++ Understanding Variables and Memory in C++ Variables in C++ and indeed any programming language are just an easy way to store a value of some kind into the memory […]

Lesson 3: Creating, calling and using functions in C++

If you need to perform specific actions in C++ then you call a function. Once a specific function returns the rest of the program resumes from where it was prior to calling the function. Here is a basic example of what happens when a function is called and the program continues.

The return of […]

Lesson 2: Writing Your First Program

After lesson 1 you should now have NetBeans installed. Of course if you know or prefer a different IDE and have that installed then that is perfectly fine. The coding is still the same but we’re using NetBeans for our examples on this website. Launch Netbeans and we will start our first C++ Project Click […]