C++ (17)

Jason Moore

Using Vectors In C++

using vectors in c++

The Vector container in C++ is very useful. It will be the better option when you want to store data in an array. Vector has several advantages over a traditional array structure. This makes it more flexible.

Continue reading...
Jason Moore

C++ Basics

This is my guide for people who want to know how C++ works.  With a little effort it can be easy to pick up. I cover the essential basics here with examples.

Continue reading...
Jason Moore

Using Functions in C++

Using Functions in C++
This article is about using functions in C++. Functions reuse code to help solve problems. It is described as doing a small part that can be used elsewhere in your program. Today I want to show you how to do that.
 
 
Jason Moore

How To Read Data From A File With C++

C++ is a really cool language. Despite its age it is still being updated and is one of the top languages around. For hardware programming it is still king and nothing will take its place any time soon. You can do much more than hardware programming in it though. In this article I combine C++ with a basic physics experiment. I show how to read data from a file with C++. I use this data to calculate gravity on Earth. Hopefully I can get close. C++ is so flexible as you can see. That is why I choose to use it still and do tutorials on it. This lesson is over how to read data from a  file. This is still information in a first semester course but I have been busy lately. I plan to write articles well past the first semester so keep checking back. Now on to this lesson.

Continue reading...
Jason Moore

Beginning C++: Making Decisions

Making decisions is one of the fundamental activities in any program. Data has to be compared and conditions will have to be evaluated. This is usually the second stage in learning how to program. C++ is just our tool. Regardless, this is one of those concepts that you need to know really well. It will be applied everywhere.

Continue reading...