isnt it better to add using namespace std; at the start of the program instead of having to type std:: before every function?? can someone enlight me?
i am interested in programming!!currently i have learned vb.net and also about a bit of cpp , as i know a lot of people say cpp is the hardest to learn , once u learned cpp , other languages are easy , but can we like make powerful yet secure programs with it? i am just asking cuz i am not great with cpp.
When I try to open a new project, and get the dialog like the one on 0:46 of the video, I don't have the Win32 Console application option. Why is this and how can I get it?
Thanks man! Your super helpful! I love how you don't write down the code in the description and make us write it on our own. It helps us learn, instead of just some ol copy and pasting.
Your really helping out, I can't thank you enough :D
ONE BIG QUESTION with all these tutorials will I learn most of the thing about c++ so i could make a game or some thing! PLEASE ANSWER i use to program with vb but i heard its not good for game making and c++ is the most powerfull programing language so PLEEEEEASE HELP ME
1>c:\users\phillip\documents\visual studio 2010\projects\lession\lession\main.cpp(7): fatal error C1075: end of file found before the left brace '{' at 'c:\users\phillip\documents\visual studio 2010\projects\lession\lession\main.cpp(3)' was matched
1>c:\users\phillip\documents\visual studio 2010\projects\lession\lession\main.cpp(7): fatal error C1075: end of file found before the left brace '{' at 'c:\users\phillip\documents\visual studio 2010\projects\lession\lession\main.cpp(3)' was matched
@luvlala05 type:'system("pause")' and that will do the same, cin.get() is a function which waits for you to enter a character like the command 'getch()' in C
yay now we got the code but 1 thing when we look to all these videos u guys just tell us what to write without telling what the code stands for so i don't really know what std::cout << "hello world!" << std::endl; accually is but yea the code works
I dont get the solution explorer the project tab if i click finish, but it does say Creating project 'Lesson01'... project creation successful. Did i do something wrong ?
I'm surprised windows apps let you do anything without blacking out the screen, popup a scary looking window, and warning you that actually using your computer might harm it somehow and if you proceed it's your fault.
these tutorials look professional and stuff, and I can tell you put a lot of effort into these, but you don't really explain how each individual thing works, you just explain what "these couple lines of code" do
hm... when adding the std::sin.get(); it stops working and sais something about a error and it dose close directly, but if i start it with ctrl+F5 it stays open...
Whenever I try to compile anything, I get something like: "1>c1xx : fatal error C1083: Cannot open compiler intermediate file: 'C:\Users\"etc, : No such file or directory"
i know for shure i did the code right because i copyed it and pasted but all the STD are red and when i put my mouse by it it says::ERROR:NAMED FOLOWED BY '::'MUST BE A CLASS OR NAMESPACE NAME....so i dont know what to doo..
Evey time I try to debug the code I get an error. I understand that I must have typed in part of the code wrong but I cannot for the life of me figure out what it could be. It looks identical to the code on your screen and when I copy the code from the link it works. Is there something I am missing?
I know there's a function in windows that does the same thing as "std::cin.get();", but it also says something like "press any button to continue". I read about it somewhere, but I forgot exactly what it is. So for now, I will just use std::cin.get() or a shortcut.
This is what I *dislike* about programming Windows. Something like that isn't required for UNIX based systems like mac OS X or Linux.
I had the same problem. You need to click on the SOLUTION EXPLORER bar. If its not on an auto on one of the sides you can get to it by clicking the correct tab on the toolbar above. or try Ctrl + Alt + L. Once I clicked on the Solution Explorer tab the Project tab appeared.
I had the same problem. You must have Lesson1 highlighted in the Solution Explorer window. If you do not have the solution explorer window open you can get to it by clicking the SE tab on the above tool bar.... or try Ctrl + Alt + L (I think). Once the window is opened select Lesson1 and the appropriate PROJECT tab should appear.
I encountered that if you save it before debugging it says theres an error and does not create the .exe in your debug folder, nor does it run the .exe
This isn't a lesson? "Copy this code, and press run" is not a lesson, you haven't explained a single thing. What a waste of not only mine, but your own time.
@WindJackell The problem is that you still have errors in the code and you never had a successful build. So, there's no successful build to run. What you need to do is look over the code and make sure that you typed the code correctly. If you can't find any errors copy the the code from our lesson page at xoax.net. Follow the link under "Additional info:" in the description below this video.
@WindJackell make sure your code is absolutely 100% perfect, spaces, letters, capitalization, EVERYTHING has to be crystal clear. thats all I can say, I had a space and a quotation mark misplaced, so gotta make sure you have it all right
Hay. I have yet to even watch your video/s. However, I can tell they're going to be a great help, getting my foot into the door! Many thanks.
AnimationsN1 1 week ago
thank you so much for this tutorial !!! i really owe you one!!! ^____^
pinkamh 3 weeks ago
whats the difference between c++ and visual c++?
bobkbob1 2 months ago
@bobkbob1 i think visual c++ is just the name of the compiler
fatansassy911 1 month ago
@bobkbob1 visual is newer and you can see what you have done after you coded it.
Jackson9797 1 month ago
Could I use DEV-C++ for this?
97epicman 2 months ago in playlist C++ Beginner Tutorials
isnt it better to add using namespace std; at the start of the program instead of having to type std:: before every function?? can someone enlight me?
StyIo04 2 months ago
i am interested in programming!!currently i have learned vb.net and also about a bit of cpp , as i know a lot of people say cpp is the hardest to learn , once u learned cpp , other languages are easy , but can we like make powerful yet secure programs with it? i am just asking cuz i am not great with cpp.
SzeTheProGamer 2 months ago
Can someone help me?
When I try to open a new project, and get the dialog like the one on 0:46 of the video, I don't have the Win32 Console application option. Why is this and how can I get it?
WanabeGorilla 3 months ago
I LOVE your tutorials.
They are so calm and very easy to follow.
JamerTheProgrammer 3 months ago
I smiled when I made it <3
Thanks man! Your super helpful! I love how you don't write down the code in the description and make us write it on our own. It helps us learn, instead of just some ol copy and pasting.
Your really helping out, I can't thank you enough :D
HumphreyTheWolf 3 months ago
@HumphreyTheWolf agreed. Just like we don't learn by just watching
CodingBakenn 2 months ago
Or you can type at the end:
system("Pause");
:)
HavocManX5 3 months ago
Damn! I don't know how to left-click... FML I can never do this :(
Albinbobbo 3 months ago
This has been flagged as spam show
Hey guys, check out my page if you need some more help. Covering each C++ component week by week, drop a comment if you need help.
ComputerTechBoss 4 months ago
when you display "hello world" do you need ' std:: ' could i just type 'using namespace std ' before the function main ?
TheLearningacoustic 4 months ago
Comment removed
realgocool1 4 months ago
very easy
jasswant1234567890 5 months ago
its a lowercase L after end!!!
SEVERE200814 5 months ago
great tuts..
I only wish if there was no sound background, so I could focus more..
Thanx anyway
elbnderi 5 months ago
i dont have win32 ?
ThundurusWalkthrough 6 months ago
dude... thank you for this tut, was looking for ages to find a way to get into the compiler in visual 2010 :/
contoepico 6 months ago
its an L not a 1 after end
RIPRobotChicken28 6 months ago
what do you do if you have a 64 bit system?
simwir 7 months ago
wow. the first line includes the code
iostream
not
isostream
this took me ages to figure out... not a great way to start my programming career...
DaveoCamaro 7 months ago
why don´t you just add "using namespace std;" in the scope?
then you don´t have to wrtie std:: before every single function
JakobRobert00 8 months ago 2
the music is soo relaxing..
I can't focus....
MihailoSilni 8 months ago
ONE BIG QUESTION with all these tutorials will I learn most of the thing about c++ so i could make a game or some thing! PLEASE ANSWER i use to program with vb but i heard its not good for game making and c++ is the most powerfull programing language so PLEEEEEASE HELP ME
THEGAMINGRULER 9 months ago
@THEGAMINGRULER it's going to take you awhile........
paulykid08 6 months ago
I really like this.
IsaacWilsonIsaac 9 months ago 12
Why are you typing "std:: " before those two commands ?
Is not it easier to write
using namespace std; before int main() ?
MegaCrafting 9 months ago
This has been flagged as spam show
1>------ Build started: Project: Lession, Configuration: Debug Win32 ------
1> Main.cpp
1>c:\users\phillip\documents\visual studio 2010\projects\lession\lession\main.cpp(7): fatal error C1075: end of file found before the left brace '{' at 'c:\users\phillip\documents\visual studio 2010\projects\lession\lession\main.cpp(3)' was matched
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
wat do i do D:
xDragonRift 9 months ago
Thank you for being the best tutor
barneyhero 9 months ago
ok so when your done with the code press f7 not f5.then when your don press ctrl + f5 to run
TheStarfox707 9 months ago in playlist C++ Beginner Tutorials
wtf right when i start to create a new project it says:
"creating project 'Lesson1'...project creation failed"
xmonke55 9 months ago in playlist C++ Beginner Tutorials
This video needs no dislike button. Great stuff man, very nice that you took/take the time to help people learn C++ (including me)
Masterpj555 9 months ago
Why is the code in your one different colours, and did those indents just happen or do we have to put them in?
HumorOfANerd 10 months ago
Thanks so much!
toadking07 10 months ago
1>------ Build started: Project: Lession, Configuration: Debug Win32 ------
1> Main.cpp
1>c:\users\phillip\documents\visual studio 2010\projects\lession\lession\main.cpp(7): fatal error C1075: end of file found before the left brace '{' at 'c:\users\phillip\documents\visual studio 2010\projects\lession\lession\main.cpp(3)' was matched
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
H1dNGaming 10 months ago
Glad to help :-)
DirtyRallerbabz 11 months ago
i could use some help here! I did everything he said, even added ' cin.get (); ' and the screen still goes away after I type in a number. Any ideas?
ty
luvlala05 11 months ago
@luvlala05 type:'system("pause")' and that will do the same, cin.get() is a function which waits for you to enter a character like the command 'getch()' in C
Archmage9078 11 months ago
Thanks!
CamMikeProduction 11 months ago
hey do these tutorials work on dev-c ++?
ultimatekhanimefan 11 months ago
in mines it just comes up
the file can not be found
conortehgamer 11 months ago
yay now we got the code but 1 thing when we look to all these videos u guys just tell us what to write without telling what the code stands for so i don't really know what std::cout << "hello world!" << std::endl; accually is but yea the code works
well could u tell us more? =)
MultiJamestv 11 months ago
I dont get the solution explorer the project tab if i click finish, but it does say Creating project 'Lesson01'... project creation successful. Did i do something wrong ?
ghaoticc 1 year ago
Programmers are the best YouTube commenters
Diiful 1 year ago
I'm surprised windows apps let you do anything without blacking out the screen, popup a scary looking window, and warning you that actually using your computer might harm it somehow and if you proceed it's your fault.
digler99 1 year ago
You video are awesome are the only video where the code can be see very easly
gakukid991 1 year ago 20
@gakukid991 you aren't told what it means, how are you going to get anywhere if you don't know what it means?
scrub645 10 months ago
@scrub645 it means"awesome video"
gakukid991 10 months ago
end1; is not working help :O
ness123456798 1 year ago
I've heard alot about c++ and I still dont get the larger picture. Of what it does and what people use it for. Just a quick replay could help.
MissAliciaDark 1 year ago
these tutorials look professional and stuff, and I can tell you put a lot of effort into these, but you don't really explain how each individual thing works, you just explain what "these couple lines of code" do
stupidrainbo 1 year ago
hm... when adding the std::sin.get(); it stops working and sais something about a error and it dose close directly, but if i start it with ctrl+F5 it stays open...
v94j 1 year ago
hey is it necessary to do the std::cout. can you just use using namespace std?
pimpmydog 1 year ago
Whenever I try to compile anything, I get something like: "1>c1xx : fatal error C1083: Cannot open compiler intermediate file: 'C:\Users\"etc, : No such file or directory"
how can I fix this?
ViviXiii 1 year ago
dude , can you put the code in the desciption so that i can copy and paste? reply asap ._.
InsanEternelity 1 year ago
My antivirus tell me it's virus Troyan Gendal.474990.D ............. xDD))))
Why?
PKSam08 1 year ago
@PKSam08 well its called a false virus. chill its completely virus free
VinVanVo12 1 year ago
@PKSam08
you antivirus program sucks?
if you got mcafee dont be suprised it shows false alarms sometimes XD
Protection4Real 1 year ago
@Protection4Real no. antivirus called Avira
PKSam08 1 year ago
This has been flagged as spam show
@PKSam08
your antivirus program sucks?
if you got mcafee dont be suprised it shows false alarms sometimes XD
Protection4Real 1 year ago
You can use this line of code so you don't have to type std:: all the time:
int main()
{
using namespace std; <- This will automaticly use that std function
Great tutorials btw :D
thejoshy680 1 year ago 2
0 people had trouble understanding, you're the best. :)
MachinimaTurK 1 year ago 13
I've been asking myself for so much time why my programs dont run in other computers.... wow... thank you man...
MrDeivi1994 1 year ago
Where it says:
std::cout << "Hello World!" << std::endl;
after "end" there is a lowercase "L" I think a lot of people put a "1" instead of "L".
Th3Colour 1 year ago 3
@Th3Colour lol ty
snoozedogg95 1 year ago
@Th3Colour
i know for shure i did the code right because i copyed it and pasted but all the STD are red and when i put my mouse by it it says::ERROR:NAMED FOLOWED BY '::'MUST BE A CLASS OR NAMESPACE NAME....so i dont know what to doo..
coolstuffyep1 1 year ago
Evey time I try to debug the code I get an error. I understand that I must have typed in part of the code wrong but I cannot for the life of me figure out what it could be. It looks identical to the code on your screen and when I copy the code from the link it works. Is there something I am missing?
insomniak08 1 year ago
I know there's a function in windows that does the same thing as "std::cin.get();", but it also says something like "press any button to continue". I read about it somewhere, but I forgot exactly what it is. So for now, I will just use std::cin.get() or a shortcut.
This is what I *dislike* about programming Windows. Something like that isn't required for UNIX based systems like mac OS X or Linux.
handheldgamer144 1 year ago
where it says left click project my project tab isnt there.. i dont think i did anything wrong...
kevkev797 1 year ago
@kevkev797
I dont have the project tab either.
did you figure it out?
pastusj05 1 year ago
@kevkev797
I had the same problem. You need to click on the SOLUTION EXPLORER bar. If its not on an auto on one of the sides you can get to it by clicking the correct tab on the toolbar above. or try Ctrl + Alt + L. Once I clicked on the Solution Explorer tab the Project tab appeared.
pastusj05 1 year ago
@kevkev797
I had the same problem. You must have Lesson1 highlighted in the Solution Explorer window. If you do not have the solution explorer window open you can get to it by clicking the SE tab on the above tool bar.... or try Ctrl + Alt + L (I think). Once the window is opened select Lesson1 and the appropriate PROJECT tab should appear.
pastusj05 1 year ago
I want to copy the code but your voice put me in a trance and I couldn't bring myself to pause the video.
SuperTakashii 1 year ago
This guy knows how to teach a lesson. He goes through things slowly and stays calm, relaxed and focused.
SuperTakashii 1 year ago
I encountered that if you save it before debugging it says theres an error and does not create the .exe in your debug folder, nor does it run the .exe
LeetofExile 1 year ago
Comment removed
LeetofExile 1 year ago
u can still "start without debugging" by Ctrl + F5.
anze224 1 year ago
you are the best i saw about more 20 films i not see any good film
you fim is the best
franzfrei1 1 year ago
This isn't a lesson? "Copy this code, and press run" is not a lesson, you haven't explained a single thing. What a waste of not only mine, but your own time.
itsjamieshepherd 1 year ago
@itsjamieshepherd See Lesson 2. Do a little looking around before you complain about a perfectly good set of lessons.
SuperTakashii 1 year ago
He sounds more like a robot to me
zenya123 1 year ago
if u ever feel lonely, Or that noone cares about you i just want u to now, U are the kindest human ever!!! and i will allways be thankfull to you
XxImmortalNoSoulxX 1 year ago
so if u do this this u wont get an error message about not a having a valid Win32 application right?!
ConstipatedKoala 1 year ago
put the code in the disc
johhny188 1 year ago
thats not the hello world program I learned I tried what everyone else knows and it doesn't work
TheJakobnator 1 year ago
Comment removed
stukabomber44 1 year ago
At the end of line four before the ; that is a lowercase L.
T0x1cHax0rz 1 year ago
If you need to be told to left click, stop watching programming videos.
deenotheman2 1 year ago
why don't you just add "using namespace std;" at the beginning.
0lsi 1 year ago
@WindJackell don't add " .ccp " main.ccp
ararnz 1 year ago
great tut it really helped me
but on the flipside just for laughs
isnt it funny that "std" is used so much?
ThePolarisKid 1 year ago
Dude, you're the best teacher I've ever had.
Toranagah2010 1 year ago 3
You're a legend !
jussipejulliano 1 year ago 2
This has been flagged as spam show
Did you try to start a new project and debug. Did you get the same error?
oSCARFACEo1989 1 year ago
Did you try to start a new project and debug. Did you get the same error?
oSCARFACEo1989 1 year ago
great tutorial xoaxdotnet :D
theslayer29179 1 year ago
Hi, this tut is some good stuff but whenever I start the debugging and hit "Yes"
I get this error-
"There were build errors. Would you like to continue and run the last successful build?"
When I hit "Yes" there I get
"Unable to start program -the file location-. the system file cannot be specified"
Any help?
WindJackell 1 year ago 11
@WindJackell The problem is that you still have errors in the code and you never had a successful build. So, there's no successful build to run. What you need to do is look over the code and make sure that you typed the code correctly. If you can't find any errors copy the the code from our lesson page at xoax.net. Follow the link under "Additional info:" in the description below this video.
xoaxdotnet 1 year ago 6
Comment removed
mrqwertynz 1 year ago
@xoaxdotnet i put in code you say and look it over and it is right and out it in and ses it is wrong
brandonwild11 10 months ago
@xoaxdotnet I had an error as well even the my build was successful. I tried it again(No edit to the code), and it went through.
ShannonSmash 6 months ago in playlist C++ Beginner Tutorials
@WindJackell make sure your code is absolutely 100% perfect, spaces, letters, capitalization, EVERYTHING has to be crystal clear. thats all I can say, I had a space and a quotation mark misplaced, so gotta make sure you have it all right
stukabomber44 1 year ago
@WindJackell maybe this is only me, but at the std::endl; I typed std::end1. hope this helps :)
MEANmadMATT 1 year ago
@WindJackell To give you further help:
"std::cout << "Hello World!" << std::endl;"
std::endL not 1 - that fixed it for me. Hope it works for you aswell ;) gl :)
DirtyRallerbabz 1 year ago
@DirtyRallerbabz
that helps thx :D
warpthree1 11 months ago
@WindJackell
Just to reference the reason it said that was most likely because you typed in end1 and not endl, make sure its a lowercase L, not a 1
elvencraft 11 months ago
@WindJackell i got that too but ur prob forgetting the } at the very end
xXzerosk8er4lifeXx 11 months ago
@WindJackell Where it says end1. It actually says "endl" as in l for lemon
cheese00chicken 9 months ago
@cheese00chicken ahhhh thank you man i was trying to find that one error i knew was there somewhere
kryptic127 9 months ago
@WindJackell I know why, because the part where is says std::endl;
Well the "endl;" has an lower case L at the end of end. Not a one, he probably should of said that, very confusing.
towatchutube123 9 months ago
wow this is the only tutorial that has worked for me.
thanks
ExtinctAce 1 year ago
thanks
paaatista 1 year ago
why std::cin.get() when you could just type
system("PAUSE")
HDFPS 1 year ago
@HDFPS 1. the source cooe woun't be portable anymore.
2. you are actually running a new instance from the cmd.exe with the pause parameter... your program needs more processor power.
3. you are here to learn programming... not run other programs what you will do with system("pause")
THEBUGUSER 1 year ago 2
I dont know why i couldn't add new item, I am stuck at 1:32. I follow exactly the steps.. am i missing sth or...
joannecw86 1 year ago
this guy is a big help. thanks man. and you sound so humble and kind. i admire you now. :D
bluestone01071 1 year ago 34
@bluestone01071 It's the music, it makes everyone sound humble and kind.
dragonmaster888888 1 year ago
thanks
srwxuf 1 year ago
thnx last version of c++ i used was with visual studio 6 a few changes i see ive missed over the years. big help
wikerRain 1 year ago 2
its much quicker to just type? #include <iostream>
using namespace std;
int main ()
{ cout << "Hello world!"; cin.get(); return 0;
}
gangpor 1 year ago
can't u just stop saying *Left Click* ???
We won't use the right one anyway!! -.-
great tutorial though! :) thanks a lot!
VBNerd7 1 year ago
when i do it my text is not in color why did i do some thing wrong i foloed your vid and tryed it twice and it still dont work
madman7654 1 year ago
what dose this make
thedonutjames101 1 year ago
why not enter; "using namespace std;" so you dont have to do all of the std and endl stuff all the time?
JBassDoug 1 year ago
Question: Before int main() the little box is not there for me?
unreal900 1 year ago
Comment removed
unreal900 1 year ago
heyy thanks for upload... you r a very big help ;)
Iboshido 1 year ago 19