Tuesday, October 25, 2016

we are now able to get input through our programs. This type of input can be used to make a "Choose your own adventure" story/RPG because now the user suddenly has input. The user can now execute the 'choose' part of the 'choose your own adventure' story. This is entirely how RPG games as well as other games in general are made.

Friday, October 21, 2016

There are many different types of data types in C++. floating point data types are for things that need the decimal point to 'float' around, like for use in scientific calculations, or other things that need to be for decimal math. the Int, or integer, data type is used for whole numbers, or integers. the double data type I know is used for decimal calcualtions again. There are several variations of the double data type, such as long double, short double, long long double, etc. These are used for calculations concerning certain number ranges, whether or not you need them to be high, low, or negative numbers.

Wednesday, October 19, 2016

The most fun that I have had with C++ has been being able to make something out of nothing. For example, I can now create algebraic expressions out of some C++ code and have the computer do the work for me. This honestly was the most fun because I learned the foundations for what C++ needed to write complete programs and do certain things. This honestly made me excited because this poened the door for me to do other awesome things like create apps for a PC, maybe even write a game.

Monday, October 3, 2016

C++ treats variables and floating variables differently. A floating variables simply means that the number can have a decimal point and other things behind it. Integers, in the programming sense, can only partain to any whole,real number. Literals are also different in the way that they literally mean whatever you define them as. Literals are this way because they need to be the key part of the variable. Without a literal, the variable would not be able to function or compile.

Thursday, September 29, 2016

The idea of variables refers to something that can change in the course of a program. A vairable can be very useful in a program because it allows the input of users and can change the value of their input. It can be altered by operands and operators and essentially allows the program to run in the first place. Variables in computer terms are much like they are in math terms in the since that they can be changed and represented and altered. They are not always representing numbers either; they can represent other values set equal to words as well. Variables are the keystone of programming

Tuesday, September 27, 2016

These commands are important because they lay the foundations for every program that there is. I believe that the textbook went over how these commands are the basics of nearly every program that there is. These commands are not in every program, but some are. The textbook goes over the syntax of the C++ language, and how every command has to be written in a certain style. This is how programming languages are like real life. In most languages, every sentence must be formatted in a certain way. This is also how C++ mus be written.















































































Friday, September 23, 2016

a computer program is a set of instructions that become run by the computer. This is usually compiled code that is executed. A computer program can be made in any of a set of different languages like C++, Java, etc. The three main parts in a computer program are source code, compilation, and execution. Writing the source code is designing the computer program from the language itself. Then comes the part that converts the source code into something that the computer can work with. This is compiling. The code is put through a preprocessor that checks for syntax errors and then through tthe compiler itself. The compiler puts the source code into machine code, so the CPU can actually calculate the code. Then, execution comes. The execution is when the code is calculated out and the program runs. This is when you click the icon or that .exe, .run, etc.