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.
Subscribe to:
Comments (Atom)