Added: 1 year ago
From: onlivegamer
Views: 21,307
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (62)

Sign In or Sign Up now to post a comment!
  • I get an error when I do anything cin related. My computer doesn't understand that >> is an operator. I get an error that says: "Error: No operator '>>' matches these operands." Who knows what I can do? It did the same thing with Code:Blocks and Dev-C++.

  • It gives an error when I type "string Conclusion" (without the "s of course). It says it undeclared... Please help...

  • If you want to use a huuuuuuuuuge number, you can replace "int" with "double"

  • Reminds me alot of Java

  • Haha, 7:16, WOW. you sound so enthusiastic.

  • Erm, instead of using endl; could you not use \n in the text lines? for example:

    cout << "\nYour favourite number is: "<< num1 << "!";

    because I think \n within the speech marks skips a line?

  • Thanks Buddy Your Video Is Very Nice I always use your video for learning

    best of luck.

  • Could you type the variabels in the description, because if they are the same as in java and visual basic then i dont want to watch the hole vid.

    //Groxioio

  • THnaks a lot man, i just came from programming batch files using notepad and now im trying visual c++ this really helps!!! KEEP UP THE TUTORIALS!!!

  • why does my screen display : this project is out of date... but when i press ok it still builds the program??

  • @rocketrroller55 mine does that too, just check always do this option and hit yes

  • YOU ARE GREAT!!!

  • @FuriousWyvern Maybe. I was looking for a way to detect if a checkbox is checked at a button press when i found this video.

  • what if i want it to be a word intead of a number, whats the variable cus i already tried with num1 but there is an error.

  • @FernandoChu97 you would need to use the variable type string instead of int.

  • @onlivegamer Thanks!

  • How do you make like ur own program?

  • @SwaggerOverride This is exactly how you do it.

    You learn the programming language, and once you understand it, you can figure out how to make the program do what you need it to do.

  • can u make it larger please

  • This tutorial was very helpful, Thank you!

  • Aside from the unique syntax used to create the program, this feels very similar to Java. Thank you for your tutorials. I felt lost with the syntax when I started to try C++, but now that I see it, I feel like I can actually do something with it.

  • i get

    1>------ Build started: Project: test123, Configuration: Release Win32 ------

    1>LINK : fatal error LNK1104: cannot open file 'c:\users\tommy\documents\visu­al studio 2010\Projects\test123\Release\­test123.exe'

    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    after i try to add somthing and have to restart visual C++ for some reason

  • Comment removed

  • Comment removed

  • Thanks for the video! You really are helping me out with these things! Thank you! I hope to see more and more videos to keep coming! Thanks again!

  • what do you use to record your screen?

  • @potterdevelopment from the looks of the red numbers at the top left of the screen it appears he is using Fraps.

  • 1>LINK : error LNK2001: unresolved external symbol _mainCRTStartup

    1>C:\Users\Richard\Desktop\pro­gramming\C++\variables\Debug\v­ariables.exe : fatal error LNK1120: 1 unresolved externals

    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    help?

  • YOU SHOULDNT USE VOID MAIN IT IS PROHIBITED!

  • THX MAN... AFTERI DID THIS I MADE A BIG QUESTIONER

  • Okay people please listen up I have few more tips to add for BEGINERS:

    1. Yout don't have to name you variable num1 it can be: a, b, c, d, e, klfvghdj, it is totally your choice.

    2. In the end of the video you saw when he entered the large number and it showed -858993460 it is because it is maximum for int or "integer" so if you whant to set high numbers then you will declare variable as:

    float (32 bit)

    double (64 bit)

    decimal(128 bit)

    So there you go i hope it helps :)

  • sweet ! the second tutorial i followed correctly :)

    oh yeah , you can write it like this too :

    -Whats your favorite number?

    5

    -Wow ! 5 is my favorite number too , have another one !

    8

    -Wow 8 is my favorite number too !

    ( then continue repeating such questions or just end the script so the console ends )

  • Every time I change something, it says the project is out of date. It still allows me to build and it runs absolutely fine, but why is it telling me that?

  • I found out that if some1 types in a numer over 9999999999 then it say's Wow! 4 is also my favorite number xD

  • i cant open it like how it pops up as a cmd

  • From you are here realy good videos. But, will that running on older version?

  • @MrRazovka yes it should run on most versions of visual studio or visual c++ as it is the same language. you may see differences in the interface though

  • From you are here realy good videos.

  • great tutorials, hope you make more, these really helped me with c++

  • Nice

  • I'm confused. For this program, I just updated my hello world program. But when I run it, it still says "hello world", and nothing else I typed after.

  • @griffinhugo well i had the same problem.

    then i deleted the declarations except of iostream and it worked.

    lol

  • haha... num1 is ur favorite number 2 XD

  • What are you talking about silly, .NET isn't a programming language it's a framework of predefined classes and objects! You mean in the BASIC programming langauge ;D

    Though, you are right it is a lot easier to define a variable in a c language! I moved from basic to c# and I don't see how I ever enjoyed coding in such a "baby" syntax.

  • You are supper Professional

    Thank you very much

  • You are supper Professional

    Thank you very much

  • Do you work in image processing? and thanks for tutorials !

  • My Ign is matthewlimma

  • Add me on combat arms?

  • turn on the transcribe audio its hilarious

  • is it possible to do this with letters like "What is your favorite food?" and then you could type in "cupcakes" or something and it would say "wow cupcakes are my favorite food too"

  • Thanks OnliveGamer!

  • does typing "conio.h" with quotations, as opposed to conio.h using brackets, make any difference?

  • ur the bomb

    dude i like all ur videos... thx man

  • just a quick note, i found that with the string it outputs, you don't need to put endl at the end, this could simply be a difference from 08 to 10, but i thought it worth noting

  • @sawboards Yeah, I know, thanks for pointing that out so I can clear it up. It isn't needed but I usually use it unless I'm going to be outputting text or having the user input text on that same line. "endl" just ends the line so if you use "cout", "cin", or "getline" it will do all of that on the line below.

  • @onlivegamer You should talk louder. Your tuts are great, but I can't here a word you say :/

  • @onlivegamer does \n = endl?

  • @bufanpxl8r yes it does, but only if it's in a string i.e. surrounded by quotation marks.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more