Added: 5 years ago
From: IMattNovakI
Views: 104,181
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (182)

Sign In or Sign Up now to post a comment!
  • it's way quicker to make this from the command prompt

  • thanks for help

  • music is also good..

  • thanks for help

  • for this to be a tut u should explain what ur doing

  • Thank you, thank you!!!!

  • you must be kidding!!!?? this supposed to be tutorail?!! if this would be tutorial, it would be for people who are new in c++, and those peple have to slow rewind this video so fucking many times!!! this isnt tutorail fucking faag!!

  • @08link lol its slow enough. you can just pause the video whenever you want.

  • doesnt work

  • all that work just for "Hello World" vfnsrgvndg >.<

    -.-

  • What version is that?

  • Thanks for starting me out, Now im gonna recreate frogger.

  • AprideTV2 the int main() function does not need return 0.

    But only that function.

  • i keep getting an error saying like half my stuff is undeclared identifiers

  • @rajnine make sure it's an empty project - meaning you don't use precompiled headers. There's nothing to declare in this program. So the precompiled header is my best guess :)

  • fatal error LNK1120: 1 unresolved externals

    It doesn't create the .exe file. I'm spinning around this, wth is wrong?

  • @lupi303 you should start with an empty project if you haven't already. That leads to the most unresolved external errors.

  • Muy bueno man :D

  • I'm getting this error with visual studio 2010, "project creation failed" i've tried the registry fix but it doesn't work, any other solutions? :S

  • Nice!!!!thanks

  • yall need to add ; before the return .. ;return(0)

  • Sure, now i did this. But i didnt learn anything from it, i just copied him!

  • I get 9 errors and cant compile, using visual basic express 2005

  • @mikatarkela89 C++ in Visual Basic? Am i the only one that sees a problem here?

  • @goldrun1

    C++ code........ never say that to a c programmer

  • yes 12 and i have already done my first c++ program

  • @codecvr12

    great work ! when i was 12 i made little console games u make them

  • Hi, when i try to compile, I went to debug -> set new instance, and when it complies it gives me the build error that it is not able to find the helloworld.exe file. Where am I suppose to get this file?

  • thank\s! I tried a few other hello worlds, but yours is the only one that works!

  • great !

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

    1>c:\users\doom11\documents\vi­sual studio 2010\Projects\TEST_HELLOWORD!\­Debug\TEST.exe : fatal error LNK1120: 1 unresolved externals

    What the heck is going on?

  • you need to make a console application

  • great song. what it is?

  • can i have song name please?

  • you should use cin.get() instead of system("PAUSE")

  • @etpmatt

    use. cin.get() it is by far better than system("PAUSE");

  • What version of visual studio is this?

  • Thanks a lot for posting this. That was very useful!

  • whats name has the song?

    Sorry for bad english --> german :P

  • cheers,

    music quality distracted me a bit lol!

  • thanks a ton man. I was stuck.

  • hey! thank you XDD!!

  • xD

    +100500

  • My says error cannot find file specidied so bad of c++ i hate it every application i make it says that shit plz any1 who can solve it im sick of this

  • @nawazsucks

    use dev c++ its a compiler

  • Comment removed

  • hmm ...

    Visual Studio says:

    The program '[3340] Hello World.exe: Native' has exited with code 0 (0x0).

    was soll ich tun? helft mir bitte

    danke im vorraus^^

  • @TitanIHuhn press ctrl F5

  • Epic Music! xD

  • worked for me :)

  • dude loose the gay music pls

  • lol change the Cout << to says "Thank you virus installed" then send the complie .exe to your unsuspecting friends for a joke.

  • ..wait probably bad idea as they would freak out if they are not computer savvy.

  • Hi, does somebody knows how i can solve this problem.

    When i press debug it comes up a warning and says (can't find the file, can't find the program) and so on.

    I have MS visual studio 2008 express.

  • it didn't work for me either

  • I have a problem...whenever I run the compiled source, the command windows opens for half a sec and then closes. It shouldn't close like it is on the video right?

  • Add system("PAUSE"); before return 0;

  • type system("PAUSE");

  • did you put pause?

  • thank you very much.

    I am doing the hello project for my c++ class, and when i installed it i could not locate it anywhere!

    Thanks for getting me started! :D

  • hey man, i dont get the resource folder

  • This is a operating system a Linux Kubuntu.

  • You use Kubuntu?

  • THIS SONG OH MY GOD

  • what? its like a echo "$txt='lol'";?

  • CREDIT TO "JUAN SOULIE" stop ripping off peoples work, at least give this guy some credit for coming up with this tutorial...

  • Help! I've gotten a build error here!

    1>Project : error PRJ0003 : Error spawning 'rc.exe'.

    Is the error I get! Any advice?

  • It must be some error in coding.I m a noob in C++ but get used to these errors.

    Just revise your code, some semicolon, coma may be missing.

  • It's been solved. My spysweeper removed the compiler because it thought it was malware :P

    Replaced the compiler and the code now works.

  • system pause failsss :D

  • Great tutorial. Simple question though: What does changing it from Unicode to multi-byte do? Thank you.

  • nice post! thank you

  • I got a thing saying I have "build errors". I know it's something with the programming but I have no idea what it is. I am a total beginner with programming, so I dont know what does what. Any tips/advice?

  • A build error is when it cant compile because there are errors in your code or project.

    Tell us what the build errors are,

  • @tripledarkness18

    tips eh??

    Google c++ tutorial, up should come a website called: cplusplus

    im using it now, good luck

  • This isn't Hello World!! This is a Console Applikation!! You must write the orginal "Hello World" Programm in a emty Project!!!

  • Ah no, hello world is the name of a simple usually first program. Hello world programs could be a introduction to opengl, to the Win32 API or in this case to console C++.

  • How do u go from the code in the video to a real program like itunes that is on you desktop???

  • And i am writing it in a empty project if you actually watched the video.

  • Should I start making tutorials again? ive learned quite a bit in the last while.

  • Great tut =)

    Stay making tuts! Your the best =)

  • people,dont use the system ("pause")

    it can mess up the comp

  • Can't mess up the comp. However its not recommended, its lazy and inappropriate. And wayy too drastic, asking for input is a better way. getch(); or simply ask for input with cin.

  • Thanks.

    Works very well in VS 2005 Std Edition.

    Hit 10 different C++ Hello World tutorials and none of them showed how to setup the project, which if you don't do that, this will never work....

    Thanks again!

  • Really thanks~

    I have studied C before

    The IDE that I used are VERY SIMPLE

    I do not know how to COMPILE using Visual C++....

    I have spent an hour to investigate but still no use.....

    NOW, at least, I can excute Hello World

  • if you do it in bat you have just to enter

    echo "Hello World"

    pause

    XD

  • LOL, true, but then its not in C. But yes, if you just wanna relay text back to you (i do it for hours, its fun, lol jk) then echo works great .

  • open notepad and type:

    @echo off

    echo Hello World

    pause

    Save it as *.bat (put any name for *)

    run it and you see the same thing

  • It doesnt work...just says there are build errors...

    and how come it looks like a notepad like program when it runs instead of the normal form apearance

  • tyvm for this. I am so used to Dev-C++ that I couldn't even get cout to work! Silly me

  • Guys before making any silly comments just make sure u did EVERYTHING right the semi colons and all....

  • it didnt work

  • This tutorial pwnd...

  • i got this all done but when i run the program it doesnt say hello world...it just says press any button to continue...i dont think it understands the cout comand..pleeeaaazzz help

  • works. helped me a lot thanks!

  • OMG! Thnkz, working, great start =)

  • I get this error: Did you forget to add '#include "stdafx.h"' to your source?

    Don't work in Visual C++ 2008 Express in console mode

  • For anyone ion the future do the following

    1. Click view>solution explorer

    2. In the window there should be three folders under your document, Header files, source files, and resource files. Right click on source files Add>New Item. Name and save your file "filename.cpp." **Make sure you choose C++ file** That should fix it.

  • The perfect way to start a project! One of my favorite c++ videos! Oh yeah, this works!

  • did not work!!!

  • thnaks it help me a lot to use the c++ compiler .. thanks again

  • I just downloaded VC++ 2008. I keep getting the error that the compiler can't find iostream.h... Do I need to do something with the header paths? Please reply... Thanks.

  • It's iostream and not iostream.h in modern C++ compilers, unlike TurboC, etc. Hope that helps :)

  • thx, very useful tutorial!

  • ok, thanks im just trying to lay a foundation, and get a basic knowlage of C++.

  • and bwt, what would be the best book for beginners? keep in mind i know nuthing about C++.

  • Books can only take you so far. And it depends what you want to program too. However just for learning generic C++ some good books are C++ Primer, Effective C++, and if you really wanna start off easy and get a base, get some book like learn C++ in 21 days. Then you can move on from that to primer and effective C++.

  • Ok, thanks for your reply. Ive just been trying to learn a few things about it. My friend is 14 and hes made 44k. Ive learned alot from him about it too. i still have alot of resurch to do though.

  • Im a noob, because you cant understand it? Well i guess thats your opinion. But if you actually wanted to learn you could have PM'ed me and I could have explained line by line. But thats using common sense which I see you don't have.

  • ok i created the program, question: does every program have its own code? and if so how do i create my own? and also, sure i followed your steps and it worked, but i dont know what i did, not very helpfull.

  • Yea, you have to buy a book or take a comp sci course or read over tutorials on the net to under stand. Some of it you can pick out logically like iostream you can think of as input output stream. Its a header file which allows you to use such functions as cout which output text and cin which is used for inputting text. endl means endline.

  • I really don't think theres much in these couple lines of code that you cant figure out from running the application and experimenting a bit.

  • hey I have a problem in visual C++ that I just can't fix: after I write the program, it doesnt compile it! there is a message saying:

    general error c10100b1: Failed to load file "..\Debug\gral.exe". The system cannot find the path specified.

    how do I solve this?

  • Thanks it worked like a charm :3

  • this isn't much of a tutorial the point of a tutorial is to teach them how to do it and describe a bit about waht there doing this is just doing it for them

  • Help!

    I get a "This project is out of date" messege then I get a "The system can not find the file specified" any advise? any one else have this problem? please fill me in on what I can do. thanks

  • u mean like on a different operating system?

  • it worked but then they cmd window wont stay or pause why??? cmd came up for like a sec then exited

  • because its doing what its programmed to do and going away then, if you want it to stay you can do system("PAUSE"); but thats very drastic and i wouldent reccomened it, cin.get(); i find much better.

  • can u create c++ files with it?

  • Hey I have an improvement for this program

    If you use system("pause") in alot of programs and you dont want it to say Press any key to continue then type system("Pause>nul") instead and it wont say press any key to continue because system(" ") just invokes MS-DOS commands

  • Thank you for adding that. Im sure it will help people out.

  • I logged in just to say thanks for the entertaining edumacation. ps. do you work for obsidian?

  • No, I do not work for obsidian.

  • tainted love - soft cell hear that its own!

  • C++ can be used to do just about anything you want in the world...

  • This is more interesting then church. It worked great with vs2008. How can I do this with c instead of c++?

  • I got it just change .cpp to .c and it works for C language Thx.

  • still not work

  • n/m after a mistake, intead of retrying to "build solution" again had to "rebuild solution".

  • Its totaly the best vid of all!

    The Prog visual 2005...can i download that for free?

    And does that matter if i use visual C++ 2008?

  • 5/5 !!!! also on favorites! great keep it up! XD

  • Wow, Nevermind. This is the BEST guide for C++ that I have seen yet. Perfect! 5/5 and favorited!

  • Hey, I need help I'm using DEV C++ compiler, and I have an error, I think it might have to do with what I saved it as or something in that sort, Could someone Please help me. Write me a message and maybe we can chat on Msn or something like that, Thanks! Write me back!

  • That's great, so clear. Why don't other tutorials just zoom in???

  • Lol no its the cout and Printf ist the sam in this ways if you write "cout" or "printf" it will do what you ahven write XD

  • while the system{"PAUSE") is bad practice because it's not portable. While on a Windows system it will pause the execution, there's no telling what will happen on another OS, if anything at all.

    return 0; and return(0) are the same exact thing.

    lastly, printf is C, not C++. It will compile, but it is bad practice.

  • awful music

  • WAY KOOL TY

  • visual basic is muuuuuuch better

  • vb isn't better... its just more simple.

    vb = for little kids/ignorant people

    c++ = people who want to get their shit done

  • aydo1994 you do know that every software in the market is probably made on C++ or simmilar.

    It is because C lets you do everything. VBasic not.

  • i did all u made and what do i have to do now ?!

  • A source file in an uncompiled file; like a C++ source file is your code that hasn't been through

    a c++ compiler.

  • How do i create a source file?

  • Right click on the folder named source in your project and "New Item" in Visual Studio.

  • Thanks!

  • what about getch?

  • NO. Even if you hadn't used return(0); instead of the correct return 0; I'd know you were a noob because of this:

    system("PAUSE");

  • isn't there a C++ video like this only they make a windows application? (not a console)

  • narration.....................­

  • Thx,and i want to ask,What is the screen recorder to recorder this movie.I hope you can tell me.

  • Camtasia studio

  • but why it can do the magnify funtion.

    How to do it?

  • Thx

  • this actually looks easier than Lua

  • there's no diference, just 2 ways of doing the same thing.

  • Thanks, But this code is very simple, I wanna see more complication code.

  • sorry for such a long delay, but i use camtasia studio 4 as well, but all my videos are crapy quality, and thanks, if you ever do dat tut plz message me up.

  • hey, IMattNovaki why dont you try to make a tutorial on GUI "hello world." most users know the simple command line stuff, but most dont know GUI, and i am real disappointed in that. Especially if you have an automated tool to make half the templates! i think that will help alot of these users on here. i would have done that myself if i had the right tools to do so. (recording equiment!) what exactly did u use to record this? great recording btw. really liked it.

  • I used camtasia studio 4 to record it and on your request ill make a hello world gui/MFC & Win32 tutorial. Ill probably do it this weekend.

  • The difference is, you dont need to type std:: again and again when you are using cout or cin more than once.

    There is no other difference.

  • To be honest i dont kno. But i use 'using namespace std' because thats what visual studio 2005 seems to like. =)

  • great tuto .. but do some voice overs next time

  • please go into detail thats kinda hard to follow for a beginner.. like me :)

  • If you want a specific C++ tutorial, tell me and ill get right on it. Just dont make it stupid.

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