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 !
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.
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.
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.
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
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.
@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...
@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:
@MiddleSchoolBuddy to make the screen appear u have to include the header file #include<conio.h> and then at the end of main type getch(); this should make the screen stable for eg:
@MiddleSchoolBuddy to make the screen appear u have to include the header file #include<conio.h> and then at the end of main type getch(); this should make the screen stable for eg:
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.
@MiddleSchoolBuddy to make the screen appear u have to include the header file #include<conio.h> and then at the end of main type getch(); this should make the screen stable for eg:
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:
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.
When I make a new project and want to start programming. The codes do not have any color.. (In all tutorials I have seen ther is collor on the code text)
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
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
This has been flagged as spam show
sum1 pls tell me how to get to place where i can code pls?
TheHellhound17 1 month ago
Will this work for DEVC++
zane757 1 month ago
i couldnt find 2008 i used 2010, i cant project at the to of the window
slapkickinmule 2 months ago
@slapkickinmule ye i also cant find project at the top?
sum1 pls tell me how to get to place where i can code pls?
TheHellhound17 1 month ago
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 3 months ago
@ribbonblew
Download codeblocks...you dont need to add the return 0; or the system("pause") coding so...yah:D
TheAirborneCo 2 months ago
It bothers me how he didn't explain what anything means :(
XxSocialTechxX 3 months ago
Comment removed
XxSocialTechxX 3 months ago
I FUCKING LOVE YOU!!!!!!!! LEGEND!!!!!!!!!
afker553 5 months ago
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
ccavna 5 months ago
i can do that with a notepad also
stefankid12345 6 months ago
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.
sharpezor 7 months ago
I have visual c++ 2010, and there is no "start without debugging" option, where should i go?
FaultyDoctor 7 months ago
@FaultyDoctor Press CTRL F5
HazbyH8U2 7 months ago
@HazbyH8U2 Thnx :)
FaultyDoctor 7 months ago
@FaultyDoctor No problem.
HazbyH8U2 7 months ago
@FaultyDoctor
Just click on start debugging
nsuri0473 7 months ago
@FaultyDoctor yes there is
xxjoshxx44 1 month ago
I am Shrimptimus Prawne. Instead of hello world, i wrote hello shrimpies!
T3RRABYT3 8 months ago
i have visual c++ 2010 express. does this affect anything?
MrMisterJB 8 months ago
@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.
T3RRABYT3 8 months ago
See Pee Pee. Lol. Yes.. I am immature..
oNEoJoKeR 8 months ago
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.
elishchirchir 9 months ago
So when you learn the basics of C++ you can start hacking :)?
mytubenik 9 months ago
@mytubenik Yes my fellow friend. But probably not from learning to program games :)
TwinkzOfMazrigos 9 months ago
@mytubenik little more to it rofl. but knowing c++ is definitely a good start.
icon0x1 9 months ago
It is a great tutorial, but why do you have so sleepy music under it >.<
runetimon 9 months ago
This has been flagged as spam show
for anyone who would like to understand better this programming language i found a pdf document ... here it is :
h t t p : / / s h a r e c a s h . o r g / d o w n l o a d . p h p ? f i l e = 1 9 4 4 3 4 6
remove the spaces and download it ... it has helped me a lot .. i hope it helps you too :D :D
C++ FTW ! :P
Stivsh 10 months ago
Great tutorial :-)
TeachComputing 10 months ago
I have the code EXACTLY the way it should be, but it says there is 1 error, but everything is exactly the same.
ledfarmer100 10 months ago
@EpiicCow its not end1, its endl. Thats ENDL. It stands for end line
KillMous 11 months ago
i miss one word and it messed up but i fixed it and worked (i made the same thing with notepad)
Leespritfizz 11 months ago
THANKS! It's the only lesson series for visual c++ that I can follow.
xrxt0 11 months ago
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?
Bladex218 1 year ago
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?
VolcardoReviewer 1 year ago
when i run mine i come up but closes straight away
SONICG3AR9 1 year ago
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 1 year ago
@hediondon l not 1 - lowercase L - endl - as in EndLine
odavenport 1 year ago
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.
hediondon 1 year ago
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?
wangcenbe 1 year ago
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 1 year ago
@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...
viklord 1 year ago
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.
shichibukai500 1 year ago
would Visual C++ 2010 express work as well?
Wowraider4life 1 year ago
Put this in a line above return and below "Hello world"
system("PAUSE");
LilLokoteX3 1 year ago
I got this one memorized
Semperfi918 1 year ago
thanks
HKFLX4656 1 year ago
i copied the code exactly but it still tells me i have build errors. help
mtdeezy 1 year ago
@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 1 year ago
@PoizonFart what do you mean by you need a solution a bove your project? sorry im just beggining
mtdeezy 1 year ago
@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.
PoizonFart 1 year ago
This has been flagged as spam show
@MiddleSchoolBuddy to make the screen appear u have to include the header file #include<conio.h> and then at the end of main type getch(); this should make the screen stable for eg:
#include<iostream.h>
#include<conio.h>
{
cout<<"Hello World";
getch();
}
dina123748 1 year ago
This has been flagged as spam show
@MiddleSchoolBuddy to make the screen appear u have to include the header file #include<conio.h> and then at the end of main type getch(); this should make the screen stable for eg:
#include<iostream.h>
#include<conio.h>
{
cout<<"Hello World";
getch();
}
dina123748 1 year ago
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 1 year ago 7
@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.
GamingRebel 1 year ago
Comment removed
dina123748 1 year ago
This has been flagged as spam show
@MiddleSchoolBuddy
@MiddleSchoolBuddy to make the screen appear u have to include the header file #include<conio.h> and then at the end of main type getch(); this should make the screen stable for eg:
#include<iostream.h>
#include<conio.h>
{
cout<<"Hello World";
getch();
}
dina123748 1 year ago
OHHH Left click.
I was using right click.
MrGigith 1 year ago
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:
de8struction 1 year ago
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.
johnvasgird 1 year ago 23
hmm.... how come I don't see any line numbers in my project?
Beamswordu 2 years ago
@Beamswordu We have a video on that too. Just search for "Enabling line numbering"
xoaxdotnet 2 years ago
@xoaxdotnet will these videos help me learn the language? If not can you point in the direction of some that will?
darkdudironaji 1 year ago
I'm pretty new to this but I'm pretty sure return 0; just ends the thing.
Vraas 2 years ago
But why do we have to use the << before and after the text?
Also what does the return 0; do?
d0nnis112 2 years ago
@d0nnis112 << tells the console which direction to send the information "hello world". etc
InundMTG 1 year ago
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 2 years ago
@noonco once u get the hang of it
work becomes easier/faster
its only tricky at first
iep4b 2 years ago
lol C++ is a bastard if you miss one character
Razputin53 2 years ago 3
Thats how all programing languages are retard....
MrNukesftw 2 years ago
i was stating a fact 'faggot'
Razputin53 2 years ago
how am i gonna enter tht code ??
Jayreid6282 2 years ago
YOUR GOING TO TYPE IT
MrNukesftw 2 years ago
type wat ??
Jayreid6282 2 years ago
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?
starncat 2 years ago
w/ c++ can u make hacks like aimbot and wallhack?
shadow94hyunseop 2 years ago
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.
Archlvt 2 years ago
yes. But that is far ahead. Plus aimbot is very advanced to code.
FMSJ0K3R 2 years ago
hmm...ok.....btw...do u know? :D
shadow94hyunseop 2 years ago
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.
FMSJ0K3R 2 years ago
@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; }
}
rob76o1 2 years ago
omg wot did u put here?
avoid recoil?? ooh it ill be good :D
explain pls ^^
shadow94hyunseop 2 years ago
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!
rob76o1 2 years ago
i know :D
i gave up haking xD
shadow94hyunseop 2 years ago
how calming
kza7 2 years ago
This has been flagged as spam show
I have C++ 2008..
When I make a new project and want to start programming. The codes do not have any color.. (In all tutorials I have seen ther is collor on the code text)
And I can´t programman without the color.
I can´t start the program/game I made..
Help plz
TheYoGamer 2 years ago
My text do not have any color!
(In Visiual C++ (code editor))
help plz =)
TheYoGamer 2 years ago
lol.... i did that my first time. try looking at main.cpp you might have said main.ccp :P hope this helps.
B0untyClaws 2 years ago
hello world, wots mean tha?
shadow94hyunseop 2 years ago
Hola mundo es un simple código principiantes
My spanish is quite limited lol.
Malitastic 2 years ago
aa....just nothing?
shadow94hyunseop 2 years ago
Nice tut, nice background music, nice program. 5/5*!
Kesselwagen 2 years ago
dam speak up mate.
x11115 2 years ago
Nice to see a C++ tutorial here, maybe I can learn something.
RedPhroggz 2 years ago
great work dude.......................
MrIamSohi 2 years ago 5
does it have to be cosolelesson1?
IronKatana4 2 years ago
cool!
alphaarmageddon011 2 years ago 12
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
ev350 2 years ago
u could also just add
getchar();
LeetKrew090 2 years ago
put this before the return 0;
getchar();
it will wait until you press something
PR3DAT0RY 2 years ago
please tell me how do i remove a project ?
Whezzy1 2 years ago
*Funeral music*
Don't show this dialog again. Put this code in. It should say 'Hello World'.
This concludes the lesson.
Vexed34 2 years ago
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
KaijeTheGreat 2 years ago
my console closes instantly, what am I doing wrong?
XearDarking 2 years ago
You need to write this before you close the main function:
int main()
{ ... system("pause");
}
Kryomega 2 years ago
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!
VileV 2 years ago 3
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
jackgreenhill 2 years ago
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....
tracybrauer 2 years ago
This has been flagged as spam show
C programming is like having a .22 aimed at your foot. C++ is like having a bazooka aimed at your foot.
Program well kiddies
toleranceisnovirtue 2 years ago
lol awesome how you pronounce 'Debug" wrong... xD but nice tutorials/ lessons
Buffetkiller 2 years ago
Thank you
BlenderSLpl 2 years ago
Comment removed
tracybrauer 2 years ago
2nd comment :D lol i wish xoax could do like Direct3D and stuff
iamjoseph951 2 years ago
wooo! i am the first veiwer! and first comment
nealshireman 2 years ago