Added: 4 years ago
From: IMattNovakI
Views: 57,882
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (81)

Sign In or Sign Up now to post a comment!
  • I don't understand this.

  • This Sucks, indeed

  • why you dont type 666 xDDDDDDDDD

  • Does a namespace have to be a number?

  • After this tutorial I still don't know when I should use void and when I should use a namespace. I mean I know about classes and functions...

  • hmmm..

    mister..

    how to decompile dll files into source code file??

  • hmmm..

    mister..

    how to decompile dll files into source code file

  • @HTIDsrbija

    Its not way better than visual studio. For starters it is, but I would never ever consider making a commercial or serious app on dev C++. VS is a win win if you have a ample amount of experience.

  • I would like tutorials that talk you through it

  • Thank you , it's helpful

  • nicee

  • do you have to keep creating a new project in order to just write a new source file? and also can't you just open a new source and compile it without having to open up the entire project?

  • I am wondering too.

    cant u just debug it without having a project?

  • I don't think so, but I could be wrong.

  • wtf if i try to debug the system cannot find the file specified

  • super shit of video.............

    how can it be a tutoroial?

  • wow your great tutorial skills, I needed that, thnx

  • nice daft punk for ever!!!

  • Soooo, what is that song? I like it for some reason

  • Veridis Quo by Daft Punk.

  • you said so yourself in the title it is

  • Visual Studio C++ Tutorials: Namespace & Functions

    Is the title retard.

  • lamo noob you changed the titile dick head it said tutoril C++ Tutorials: Namespace & Functions when i first posted so your the retard

  • Well, I was wrong on that however when it comes to being a retarded, you still are. The phrase is lmao not "lamo" that and the other grammatical errors you have. So yeah! I was wrong..but your still the retard.

  • The phrase is lmao not "lamo" like i give a fuck you still know what i meant so shutup

  • Comment removed

  • Too little too late.

  • Correction:

    Well, I was wrong on that. However, when it comes to being retarded, you still are. Also, the phrase is 'lmao' not 'lamo' with that and the other grammatical errors you made. So yeah! I was wrong... but you're still a retard.

    You should also work on your grammar, H4CKED.

    Also this was made to fit closer to the author's original post

  • Lol i did not change the title,

  • my choice is visual 2008

    hehe I see dev and visual guys arguing which is better.. I think that both are good.

  • VC++ is not C++

  • I think hes meaning Visual Studio when he says Visual 2008.

  • Hey great tutorial, but two mistakes. In Visual Basic, ??? does not work as a namspace. Instead change it to 000. Second your cout <<New: :First << endl; was giving me a compile error. Just delete that. If anyone else is using Visual Basic, this worked for me. Thanks.

  • with namespaces you could make objects? like

    Ball, Player etc?

    namespace Ball{

    int X;

    int Y;

    int SPEED;}

    etc?

  • NO. That, what you are talking about is a class.

    namespace is just a space where your names (variables, functions...) are declared. So if you have

    namespace MyNamespce

    { int number = 123;

    }

    and you want to use number in other namespace you must write: MyNamespace::number

    or you can write: using namespace MyNamespace;

    and then you can just use number (without prefix MyNamespace::)

    ;)

  • That was for ThunderDonkey

  • posted the message almost month ago, but okay. Thanks for explaining. I'll find some other tutorial for classes.

  • you just explained fully in a few min what it took me a day to finger out on my own ,nice work i hope theres more in your profile.

  • I dont care what anybody says I like your graphics and music its da bomb !!!

  • your music and video layout it too much...omg...bad bad bad

  • how do you make gui windows for the programs

    please tell me if you know

  • visual studio has built-in form designer and there is some designers for dev c++ or codeblocks

  • Didn't know much about namespaces but the vid. was nice. Keep it goin (Y)

  • hay evry body i need elp please i did a program and i want it to look like one how can i make it to get me a picture or some clicabel things not that black screen please if any body now how to tell me

  • Win32 Programming> thats if your using windows. Or you can use WXWidget or sumthing.

  • IT USELESS

  • LOL< true. But its a start for people.

  • WHY CONSOLE APPLICATION?! >:(

  • I dont really like visual studi because

    1. I run Linux, I cant really run it that effectively

    2. All the programs are made in microsoft format insted of cross platform

  • Actually programs u make in visual studio run on linux and mac too. That depends on what your coding, i just use VS cuz its the mainstream compiler for games/ what i mainly use programming for.

  • You can compile them for Linux, or mac. But i just use visual studio cuz im the most familiar with it, and its the industry standard.

  • ok, I use deb. C++

  • its dev C++ btw

  • that's to keep the console from closing after executing the program. otherwise you can't see the output. system("PAUSE"); is a bad idea, it's like trying to kill a fly with a shot gun. So what I do is, I use the following line just before return 0;

    cin.get();

    when the user hits enter, the console closes. holla!

  • ya true, but i did that for simplicity. If your actually making a console application for a reason, its usually gonna be executed from a cmd/command prompt, so that wont be needed, But i jsut put that in there so i dont needa execute by console.

  • what is that thing at the end of line 6

  • This -> ;

  • Music playing is Veridis Quo by Daft Punk!

  • I bless your efforts to help the public understand c++.

  • hun lehet nezni ilyen olyan peldakat meg azt hogy mi micsoda? pl mi az az int? akkor irja h. mi a iostream

    hol vannak ilyan peldak magyarul??

  • Cool language! = ]

  • ahhh, declaring the standards global like that, could come up with unexpected results later on..

  • True, but then again this is a begginers tutorial.

  • Yes,

  • Thanks! Thanks to you i havem ade a simple header file that i include to my other file so it becomes a calculator :D Thanks!!!!

  • Thanks man, I was really confused on functions and now I know how, I credit you 100% keep up the work, make more vids later!

  • er , can u tell me where can i download free compiler C++, im beginner programmer ,so can u teach me

  • download bloodshed dev c++, it's a nice IDE build around the gcc compiler

  • Dev C++ has a horrible debugger. I wouldn't recommend it to anyone. Besides you can get Visual Studio Express Edition for free.

  • dev sucks get visual C++ 2005 or 2008.

    FREE

  • your a noob and dont no how to use dev

  • maybe but visual studios is in general a better compiler.

  • hmm btw dev is free allso

  • so is visual studios.

  • i no its it thats why i said dev is free allso

  • BS DevC++ was ok back in the day. But its so horribly out of date and there's much better things, such as VS Express Edition or almost any other mainstream compiler.

  • Btw, if you programming bigger applications the using namespace std; should be within the {} scope otherwise its not very good. However this is just a simple program so it doesent make a difference.

  • Why did you make a tutorial for void functions ?

    Did you have *requests* for it ?

  • You will be suprised how many people dont know wat voids are or how to use them.

  • Really?

  • Yes, really.

  • Lol np! Remember if you wanna know how to do something just msg me or make a comment here and ill get to it. =)

  • Thanks

  • Ty for this one m8 =)

Loading...
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