So we know how to do a basic print and read on our program now, this is an excellent base skill to learn but now we need to find some ways to make it slightly more useful. Equations and math C++ can easily be used to create formulations and perform calculations to display on theContinue reading “c++ programming lesson 3: adding some value to inputs and printing”
Tag Archives: learn
c++ programming function index
cout: used to print sentences or varibales into the terminal. cin: used to enable inputs from the user int: used to initialise integer variables, that is whole numbers positive and negative. string: used to initialise a string variable such as words
c++ Programming lesson 2: basic inputs/outputs
Okay so now that you have a directory and c++ file created in CS50 IDE (if not see here how to do so,) we are going to look into how we can create a basic piece of coding that with take an input from a user and read out some text. To start the codeContinue reading “c++ Programming lesson 2: basic inputs/outputs”