Added: 2 years ago
From: hdvidsonly
Views: 70,027
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (112)

Sign In or Sign Up now to post a comment!
  • This work for mac? Sorry I'm a computer noob

  • THANYOU I LOOOOOOOOOOOOOOOOOOOOOOOOVVVVV­VVVVVEEEEEEEEEEEE YOU NOT ACTUALLY LOVE BUT YOU KNOW WHAT I MEAN!

  • Lol @dRoseMirakel the drunken troll. That's the only logical answer as to why they're spewing random incoherent nonsense.

  • ey morons, a fully programmed c++ program reguires alot of knowledge, and that cost a hell lot of money, wich u abviouse dont have knowledge for, and moron, i was talking about MASCHINE LANGUEGE wich you dont have knowledge about, stupid dick lol honestlly if you dont even understand the power of a simple batch file then please, cut off your dick and stick it in your moulth, as for my nice typos, I dont give a fuck., douchebag lol

  • This can be done easier lol without any visual studios :P

    copy con helloworld.bat

    @echo off

    cls

    @echo Hello world

    pause

    @echo on

    ^Z

    and voila u got urself a verry own file doing the exact same thing lol

  • @dRoseMirakel Yeah, but C++ can do a whole lot more than Batch files, this is just an initial tutorial.

  • @MajorDudesome

    True, stil typing in a command prompt is much more fun then this expensive shitty program that onley allows you to use windows lol machine languege ftw

  • @dRoseMirakel a) u clearly have no idea what C++ is capable - MUCH more than batch files

    b) Expensive? It's FREE, the hell are you talking about?

    c) You can only do commands in batch files, you can pretty much design anything in C, in this tutorial, the program runs in cmd, just like any batch file, true, but thats because it's a BASIC program. If you designed a GUI and programmed it correctly, you could make anything.

    Honestly, are you a batch-kid? or do you know what you're talking about?

  • @dRoseMirakel Also your batch files seems wierdly written (why is cls, and @echo on there? and it wouldn't even work since "@echo Hello world" is wrong, it should be just "echo Hello world" - the @ sign is required to signing Echo as off...), a better version looks more like this:

    @echo off

    title Hello World Program

    echo Hello world!

    pause>nul

    exit

    that's all you need.

  • @MajorDudesome

    try to actualy spit it ut in dos 5 ;)

  • @dRoseMirakel You're a straight up idiot, you can't disprove what I said, so you just insult me, do me a favour and program yourself an operating system in a .bat.

    Oh, you can't? But C can.

  • Hi, I am using Code::Blocks and when i write system("pause"); the programme give me an error:

    error:'system' was not declared in this scope

    Can you help me?

    Thanks a lot and sorry for mi bad english :$

  • That's actually the first c++ program, but alright.

  • When i do it i follow a c++ thick ass book and when i follow it and compile it says cannot find file when the debug and everything is in the files.

  • Thanks,it works great.

  • I cant find start without debugging D:

  • Thanks I like this tutorial by the help of this I find how to use MS Visual Cpp to write cpp.

  • im new to c++ and i have been programming in visual basic but how do you do the visual stuff like add buttons and all that i could do that in visual basic isnt visual c++ like tht but only coding in c++

  • @AtomicTheater You would create a form, just like you would in VB.

  • @AtomicTheater u could select windows form application in c++

  • SUX

  • Why do I get the "project creation failed"?. I've tried everything, but nothing works, plz help :(

  • @anitdragon13 This is Win32 native C++.Visual C++ is a managed language,such as C#...

  • @anitdragon13 no one said anything about a win32 application .. visual c++ is a program that creates c or c++ generic applications.. if you want windows and frames check other tutorials related to visual c++ win32 application.

  • tx 4 this..

  • this is not visual c++, this is console c

  • I have no idea what your saying

  • @supermation374 well are you blind..i setup an annotation which is linked to my redo of this tutorial.!

  • @hdvidsonly why not use annotation to subtitle your saying in here.. off course you don't sub all.. just the main issue.. like.. 'open the file', 'input the detail' etc

    

  • @hdvidsonly No offence, but different versions (eg. 2008 then 2010) is not a remake.

  • You didn't return 0; from main, that's bad.

  • if you can't write this program with this tutorial than programming isn't for you.

  • system("PAUSE");

    THE PAIN!!!!

  • its comming as an error that the system cannot find the file specified.....what should i do???

  • Hey!! Visual Basic 2008 is better because you just put msgbox("hello world") thats only the code for hello world!!! thumbs up if you agree!

  • @pivotpro28 Visual basic is for beginners. Many software was made and sold! But some people want more options then a simple button1.text = " YOU MUST CLICK THIS BUTTON NOW." . Get it?

  • hi men, i have a problem with vc 2008 expres edition and could you help me please? is, when i want debug my proyect the aplication.exe open but in a few seconds the aplication.exe it is close and i dont know why can u help me please????

  • Why do you use endl?

    I just use \n instead.

  • Oh thank you thank you.

    I downloaded this today and when I started console application I was like wtf is this system::writeline ???

    Now I know you need to add cpp file looool.

    I was using dev c++ before but not anymore since I got windows 7 because it crashes or doesnt compile at all.

  • system, endl and cout are all flagged as "undeclared identifier", why does that not happen in your version?

  • hard to hear you because much background noise

  • :o thanks for the download link! iv beeen looking for it for hours and evryone else sucked you rock :P

  • Working.

    

  • (Namespace) STD lol!

  • syntax error before "namespace"..

  • @raiderrc64 new problem, it wont give me the option to debug or start without debugging

  • @raiderrc64 use ctrl+f5

  • nice

  • Hello to all,

    How to overcome from there were build errors.

  • Ok, i think i get it... dev c++ use visual c++, and not c++ lenguage... isnt it?

  • When i try to Debug the program, It says 1 failed, and I can't open the program.

    Any Ideas?

  • @Internetsimplified any errors?

  • @hdvidsonly , I finally figured it out,

    I used the code-

    main(void)

    instead of-

    void main ( )

    Anyway, THNX man u rlly hlped alot!

  • Hello can you suggest me to overcome from there were build error

    what i have to do to overcome from this errors

    please explain me step by step

    thanks

  • @yuvrajsixes What did it say in the Error dialog?

  • @hdvidsonly yep, i finally figured it out. I forgot ' ; '

    after system("PAUSE")

  • @Internetsimplified

    yes its end letter l not number1

  • @Internetsimplified

    I had the same problem. Turns out I forgot a semicolon

  • your voice is boring it makes me fall asleep when i was taking this tutorial. :)) xD. Still great though! :D. just improve your mic and speech :D. great tutorial

  • i dont think that the other <<endl; is necessary i believe that one is just fine

  • It's wonderful how we have a bunch of idiots being rude on the comments for this video... I don't understand why they think their dumb comments are necessary...poor world we live in...

  • ohhhaa ohhaa godzirraa ohhaaa!

  • thank you for uploading this ^^

  • why did you type : int main (void); ?

    doesn't this work : int main (); ?

  • @Regards200800 both will work, but including void means you need not need to include return 0 but in the later you need to.

  • @hdvidsonly thanks but i hardly understood your english :P, thanks anyway :D

  • Be honest, were you reading a book and copying a tutorial when you were doing this? lol... "using namespace std" - very dumb thing for you to teach people. ALWAYS prefix every necessary std as such "std::cout << "text" << endl;

    Why did you endl twice? Idiot

    You are teaching bad habbits otherwise. Any practical C++ application will have multiple namespace.

  • For whatever reason when I create a new project it doesnt have Header Files, Resource Files and Source files, it has debug and release win 32 instead, PLEASE HELP

  • OMG just use a batch file!!! All you need to type is:

    @echo off

    echo Hello World

    pause

  • @gadgetman147

    Then it wouldnt be a C++ tutorial.

  • trying hard on the accent buddy,,,

  • I tired this with MS Visual Studio 2008 and it gave me an error which follows:

    fatal error C1083: Cannot open include file: 'iosteam': No such file or directory

  • it is iostream not iosteam

  • @hdvidsonly (o.O) my bad.

  • fanks much better video qaulity the others!

  • hahaha std

  • use cin.get(); instead of system pause btw, its not as harsh

  • @MrBeast0123

    I used "std::cin.ignore(std::cin.rdbu­f()->in_avail() + 1);". It seems more practical and a better habbit to learn.

  • mine doesnt have those folders under first project... what do i do?

  • well i got it to work w/o those folders anyways =P thx hdvidsonly

  • What does the "int" in "int main(void)" mean?...

    I don´t use C++, I use VB, and in VB int = 32 bits integer...

    Thanks in advance ;) ...

  • it means that the function main is of integer type which can return a value at the end of the program.

  • Ok, thanks :) ...

  • NO! it doesn't mean that the function main is of Integer type.... at ALL.

    Please if you are going to teach people to program.

    TRY TO LEARN HOW TO PROGRAM YOURSELF!

  • then what do you think

  • I don't think I know ;D.

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

    is the official prototype for the main function

    though you can get away with

    void main(void) (it isn't a good idea)

    this means Not that main is of type int

    it simply means that the main function returns the type int to the program calling it, in this case the OS and You SHOULD return EXIT_SUCCESS (0) if all went well in your program

    there are also a bunch of other return options in stdlib.h that you can use to tell the OS what happened.

  • Comment removed

  • @m4unot if you are just starting off at this point, you don't need to know gui. You should know better than to get ahead of yourself.

  • thanks it worked perfectly for me

  • make sure you build the program.

  • hey I built my Hello world program! cool..um now what?

  • I can do this in Basic

  • for some reason my basic keeps mindfucking me

  • thanks for taking the time to make this tutorial, but you've REALLY gotta fix your mic setup. there is SO much hiss and buzz and you speak too softly to understand. :)

  • it would be nice if you would explain what cout and void and in and any of this means and why we need it...

  • cout we need it to print the output or result. void is used so that a null value is set at the starting of the c++ program and we dont need to return any values at last i.e in simpler words saving a statement at the end of the c++ program.

    I hope now its clear.

  • Hallaleuoghia (whatever it's spelled as) I finally got a working Hello World!!!!!! This is totally AWESOME!!!!! lol :D I thought I was like cursed or something before.

  • is c++ harder to use then c#? yes, right?

  • @sinoso08

    They are completely different. C++ is object oriented. C# is scripting language. C++ is probably easier. If you are worried about the difficulty of something, you should probably stick to Visual Basic.

  • error C2065: 'oout' : undeclared identifier

    Is tutorial fake or what? I allways get this error I can't make anything from tutorials :S

  • its 'cout' not 'oout'

  • lol 5 minutes after I posted message I saw that... Sry gj :) I am beginner in this stuff

  • funny=)))

  • When i do this i get this shit there is build errors.. bla bla bla yes or no

    press yes error. plz help me?^^

  • make sure you spell everything right

  • its not END1, but ENDL

  • hey thanks for uploading this in HD it was helpful

  • @Mim100002

    not really...lol

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