Added: 2 years ago
From: xoaxdotnet
Views: 51,235
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (119)

Sign In or Sign Up now to post a comment!
  • Will this work for DEVC++

  • i couldnt find 2008 i used 2010, i cant project at the to of the window

  • @slapkickinmule ye i also cant find project at the top?

    sum1 pls tell me how to get to place where i can code pls?

  • i have been searching for better video of c++ tutorial for weeks and have finally ended up here..the video is simple, clear, free from pixelation..thanks to the uploader..am starting to learn c++ frm now, frm this video...thanks mate !

  • @ribbonblew

    Download codeblocks...you dont need to add the return 0; or the system("pause") coding so...yah:D

  • It bothers me how he didn't explain what anything means :(

  • Comment removed

  • I FUCKING LOVE YOU!!!!!!!! LEGEND!!!!!!!!!

  • I am not sure how others are able to actually get this to work but i am not able to. First comaping tis to the actual tutorial that wondows has a .h file needs to be created also the source code in it self has bugs and needs more to it.

    #include "Hello World.h"

    using namespace std;

    int main (int argc, char* argv[])

    { cout<<"Hello, Fucking World!"; char myLine[100]; cin.getline(myLine,100); return 0;

    }

    This is "Hello World" program. BTW thr Left click thing is annoying

  • i can do that with a notepad also

  • I wouldn't bother saying left click all the time, just saying "click" is good and should always be assumed left click, only specify when right clicking.

  • I have visual c++ 2010, and there is no "start without debugging" option, where should i go?

  • @FaultyDoctor Press CTRL F5

  • @HazbyH8U2 Thnx :)

  • @FaultyDoctor No problem.

  • @FaultyDoctor

    Just click on start debugging

  • @FaultyDoctor yes there is

  • I am Shrimptimus Prawne. Instead of hello world, i wrote hello shrimpies!

  • i have visual c++ 2010 express. does this affect anything?

  • @MrMisterJB no nuggeh, i have it too, u just fine man. u so very fine. uh huh, uh huh.....gimme some of that fine-ness.

  • See Pee Pee. Lol. Yes.. I am immature..

  • Please help me with this: My console window shows up but disappears too fast. What could be the problem? After typing in your lesson1 code example, then running or compiling it, it works right but the window doesnt stay up. Thanks in advance.

  • So when you learn the basics of C++ you can start hacking :)?

  • @mytubenik Yes my fellow friend. But probably not from learning to program games :)

  • @mytubenik little more to it rofl. but knowing c++ is definitely a good start.

  • It is a great tutorial, but why do you have so sleepy music under it >.<

  • Great tutorial :-)

  • I have the code EXACTLY the way it should be, but it says there is 1 error, but everything is exactly the same.

  • @EpiicCow its not end1, its endl. Thats ENDL. It stands for end line

  • i miss one word and it messed up but i fixed it and worked (i made the same thing with notepad)

  • THANKS! It's the only lesson series for visual c++ that I can follow.

  • i have 2 questions

    1st. Is this "style" somehow linked with the pascal lanuage?

    2nd.if i hit start it opens the cmd windows but only for a sec.what i should to?

  • What I dont get is why are you put std::end1; much later,

    shouldnt you be doing it with namespace std; under the input and output stream?

  • when i run mine i come up but closes straight away

  • I get the following errors:

    1- end1 is not a member of std (end1 is not associated with std)

    2- end1 is not declared

    I hope you can help me.

  • @hediondon l not 1 - lowercase L - endl - as in EndLine

  • I get the following errors, I hope I can translate them well, because my visual is in spanish.. Errors:

    1- end1 is not a member of std (end1 is not associated with std)

    2- end1 is not declared

    And I also I cant see start without debugging.

    I really appreciate any help that you can giveme I need to start a Collegue assignment.

  • Thank you A lot for your simple way in explaining.

    but I've 2 questions before I continue learning : Is there a big\ an important differences between

    [ VC++ 2008 and VC++ 2008 Express Edition ] versions ?

    2- should I download Compiler for VC++ 2008 E.E. , or not?

  • Thanks for the video, but It doesn't work for me. It says it can't find the file specified or the file path. I typed everything in correctly. (I am using Visual C++ 2010 Express

  • @MegaAwesomeness7

    Hey. i got the ame problem. when i hit ctrl+F5, it brought up the console, but still got the same error. this seems to be an annoying problem with 2010 version...

  • may i ask? for example after downloaded the software Visual C++ express and i want 2 run it without internet connection, can it still function or it requires internet connection? im asking this bcuz im jz using my cousins computer that has an internet connection, i hav my own computer but im not connected 2 the internet cuz i dont hav much money 2 pay monthly internet bill. so i hope someone in the xoax.net read this comment and reply as soon as possible...im need 2 learn programming tnx a lot.

  • would Visual C++ 2010 express work as well?

  • Put this in a line above return and below "Hello world"

    system("PAUSE");

  • I got this one memorized

  • thanks

  • i copied the code exactly but it still tells me i have build errors. help

  • @mtdeezy I got the same problem but you need to have a solution above your project, go to View>>Solution Explorer and ur done with that. It worked when i did it...

    hope i helped

  • @PoizonFart what do you mean by you need a solution a bove your project? sorry im just beggining

  • @mtdeezy Well, at the left you can see your "Console Lesson 1" but my problem was, I didn't got any maps below it. When i added a "solution 'console lesson 1' I got those maps. so when you click View>>Solution Explorer you will get a solution in the left 'menu' bar, and the solution is above youre project like so:

    Solution console lesson 1

    Console lesson 1 (this is ur project)

    Headerfiles(the following are maps)

    Resource files

    Source file

    -main.cpp

    yo added main.cpp if not watch this tut.

  • Ok, due to so many people wondering this, I have an answer:

    "Why does the cmd prompt show for only 1 second, then disappear?"

    The answer is, you must enter this line of command right before the return 0.

    system ("pause");

    This just tells it to pause the program. If you do not, then it will type hello world, then close immediately. Hope this helped =)

  • @MiddleSchoolBuddy

    system("pause") is not recommended to use. You should use cin.get(); instead. Why? Because its a very resource drilling function to use. You'll be better without of it.

  • Comment removed

  • OHHH Left click.

    I was using right click.

  • Umm great tut but i have a problem i dont think its a c++ one more of just a setting on my computer cmd dosnt run so i cant see Hello world! i can see the black screen for cmd for about 1 second but then it gose away D:

  • I thought I should let you know. Ive been trying alot of c++ tutorials (for visual c++). This is the only one ive been able to get work. Thanks ALOT.

  • hmm.... how come I don't see any line numbers in my project?

  • @Beamswordu We have a video on that too. Just search for "Enabling line numbering"

  • @xoaxdotnet will these videos help me learn the language? If not can you point in the direction of some that will?

  • I'm pretty new to this but I'm pretty sure return 0; just ends the thing.

  • But why do we have to use the << before and after the text?

    Also what does the return 0; do?

  • @d0nnis112 << tells the console which direction to send the information "hello world". etc

  • Thank you for saving me after hours of frustration.

    C++ seems like a great language, but visual studio seems like a real nightmare.

    What is the advantage to a bloated compiler like this?

  • @noonco once u get the hang of it

    work becomes easier/faster

    its only tricky at first

  • lol C++ is a bastard if you miss one character

  • Thats how all programing languages are retard....

  • i was stating a fact 'faggot'

  • how am i gonna enter tht code ??

  • YOUR GOING TO TYPE IT

  • type wat ??

  • Seriously I downloaded this on the nintendo DS haha!!!! But now I see what it is!! THQ~!!!

    >> How can I compile this to .NDS file?

  • w/ c++ can u make hacks like aimbot and wallhack?

  • If you're THAT bad at games, maybe you ought to spend time getting better at them rather than learning a programming language to cheat LOL.

  • yes. But that is far ahead. Plus aimbot is very advanced to code.

  • hmm...ok.....btw...do u know? :D

  • yes. Even chams are up the road. Not only do you need to know c++, you need to know how to reverse code, and know d3d. It is not very tough but you need to stay committed and practice. I code private hacks for myself. That way they won't get patched quickly.

  • @shadow94hyunseop

    wow kid lmao 10x harder then this heres a no recoil for you choob lol

    void recoil()

    { DWORD dwPlayerPtr = *(DWORD*)playerpointer; if(dwPlayerPtr != 0) { *(float*)(dwPlayerPtr + recoiloffset1) = 0; *(float*)(dwPlayerPtr + recoiloffset2) = 0; *(float*)(dwPlayerPtr + recoiloffset3) = 0; }

    }

  • omg wot did u put here?

    avoid recoil?? ooh it ill be good :D

    explain pls ^^

  • do you people not understand how hard it is to make a hack and after you make the hack you need to make a bypass! = hard!

  • i know :D

    i gave up haking xD

  • how calming

  • My text do not have any color!

    (In Visiual C++ (code editor))

    help plz =)

  • lol.... i did that my first time. try looking at main.cpp you might have said main.ccp :P hope this helps.

  • hello world, wots mean tha?

  • Hola mundo es un simple código principiantes

    My spanish is quite limited lol.

  • aa....just nothing?

  • Nice tut, nice background music, nice program. 5/5*!

  • dam speak up mate.

  • Nice to see a C++ tutorial here, maybe I can learn something.

  • great work dude.......................

  • does it have to be cosolelesson1?

  • cool!

  • you can also place this before return 0;

    cin.clear()

    cin.ignore(255, '\n')

    cin.get()

    this is what i use but u must also have

    using namespace std; above the function

  • u could also just add

    getchar();

  • put this before the return 0;

    getchar();

    it will wait until you press something

  • please tell me how do i remove a project ?

  • *Funeral music*

    Don't show this dialog again. Put this code in. It should say 'Hello World'.

    This concludes the lesson.

  • you don't need a pause. you should build the solution and then play without debugging instead of build and play, then you can check for errors and it automatically pauses it for you

  • my console closes instantly, what am I doing wrong?

  • You need to write this before you close the main function:

    int main()

    { ... system("pause");

    }

  • Or you can, instead of system("pause"), write this line alternatively:

    getchar();

    While system("pause") returns "Press any key to continue...", getchar() will show no phrase but will wait until you press any key to close the window!

  • the code he entered will make the console quit (after displaying Hello World for a split second), because there is no command telling it to wait for input

  • sorry about the last comment.... i tried to get c++ but its not connecting to the internet EVEN WHEN IM PLUGGED INTO AN ETHRANET CABLE!!!!

    blows....

  • lol awesome how you pronounce 'Debug" wrong... xD but nice tutorials/ lessons

  • Thank you

  • Comment removed

  • 2nd comment :D lol i wish xoax could do like Direct3D and stuff

  • wooo! i am the first veiwer! and first comment

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