How to create cpa tutorials www.cpa-tutorials.com

C++ Console Lesson 4: Basic Data Types

Posted on

More at xoax.net This C++ video tutorial explains the four most basic data types in C++. Please submit all questions to our forum xoax.net
Video Rating: 4 / 5

Comments (25) Trackbacks (0)
  1. @LygisLT15 I’am a Lithuanian too xD

  2. OMG THERE IS NO STRING?!

  3. @xXAceyboyXx Basically it means the main function has no output. If I remember correctly this is not allowed for the main function, but I’m not sure so don’t take my word on that. (There’s a reason why I’m watching this video obviously, I’m getting back to grips with C++…)

  4. the other videos have a better audio-qualitiy

  5. scratch that had return 0 still up

  6. how do you keep you window up where it says press any button
    like when i typed g and hit enter i quickly showed the other g
    and closed down?

  7. @lolfreak21196 because you might want to use only numbers in your program.

  8. im confused! if char can manipulate numbers, then why bother ever using int?

  9. nice vids! I even got to my own solution for the program not closing before i could read the output! i just added “std::cin.get();” twice. one in between the first action and one at the end!

  10. dude your very good teacher

  11. dude, i think something happened to your Mic… :S

  12. is it empty prosect Im gonna use?

  13. @CrimsonTuber Don’t use void main()

  14. @fayaz0707 I believe that main must ALWAYS return an int value to let the compiler know it built successfully. In other languages I am pretty sure main doesnt have to return int (like Java would be, public void main()) Just safely assume to always use int main().

  15. @TheAlascar
    You would use string but that is not included in the iostream include you will have to add in
    #include -string-

  16. @petsoukos I believe void means that you do not have to include the “return 0″ statement.

  17. void main() vs. int main() ???

  18. @TheSpleenmaster
    LOL
    Thanks

  19. @qwas12348gr5 Int is faster, you don’t really notice it now, but later on you will.
    (XD, that’s what my programming teacher says. DOUBLE FTW!!!!!)

  20. Thanks, I am now learning Visual C++.

  21. It seems to me like double can do everything that int can do, so is there really a point in using int at all? Ever? Thanks, subbed.
    PS: I would be happy if anyone answered :D

  22. @Magix1reaper its not just variables, everything is c++ is case sensitive

  23. @Magix1reaper its also wrong because cin goes this way >> :)

  24. One word of caution for those who are beginners; the following code would be wrong;

    int ifull;
    cin<

    the reason being is that when an int or other variable is declared it is case sensitive.

  25. i continue to learn because of you.


Trackbacks are disabled.