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
Tag Archives: program
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”