Post: C++ basic functions that i know so far ( beginner)
03-29-2013, 10:22 PM #1
silverdollar
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({}); OK don't hate im just beginning this is for people like me not that experienced this is what i have remembered though i will update this once i learn more stuff to help you all.

C++ basic functions:

1. int = (intergers) which is whole numbers 123456789

2. double a = numbers with (decimals) 5.1

3. cout << means your output. for example: cout << " i am years old "; you can also have printf ("i am years old");

4. ; means always have at end of sentence/ouput or the sentence an program wont work.

5. getchar () means it keeps the program open instead of closing right away. if you dont want your program to close then always put this at the end before your closing bracket }

6. you start with #include <iostream> there are also other include like #include <stdio.h> the include is always required though mostly the first one i have.

7. then type main () put int main () if dealing with numbers.this is always needed.

8. now put your opening } bracket. this is always needed.

9. at the very end of your program put the closing bracket {. this is always needed
03-30-2013, 02:46 PM #2
SC-Wotan
Do a barrel roll!
1. useless and shit for beginners to !
2. False !! int = -2147483648 - +2147483647
Last edited by SC-Wotan ; 03-30-2013 at 03:33 PM.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo