@HaloCPPGuy not true, just becaouse is says make a game, it dosnt specify what kind of game it is, it could be anywhere from a counting game, or a highly coded game like portal and anywhere in between.
Thanks so much man. Me and my buddys own this (not licensed) game making company (hence the name) , and our first games were in notepad, then unity, then shockwave, and with those i think we had some experience with c++. I'll let you know of our future games. Thanks so much! (subscribed)
There are a few bugs in your code, even after the guess are over it says "try again." you have 2 "end << end; after it says "you're right" it's more efficient to do "0 < 2" compared to "0 <= 3" the second uses 2 machine instructions compared to 1. you have multiple uses of "system("PAUSE"): and "return;" no reason to use "double" use int instead.(uses less memory). cstdlib is unnecessary. not trying to be an ass, just trying to help make you better, here's my code.
@whymeproducz I may understand you are an amateur but you should try learning these things first before making games...I am an amateur also but I've got little knowledge about arrays,cout,cin,structures etc...go watch thenewboston(BUCKY!)
@whymeproducz you aren't an amatuer if you don't know what cout means. You're a complete noob. Please look up TheNewBoston's c++ guide before attempting a game.
@whymeproducz cout means compile out. Its your compiler taking what you have just written and turning it into binary code so that your computer can read it and open all of the files that you commanded it to.
@HulkStatuss people people stop replying to this comment please . i asked this before knowing anything about C++ i know what it means so please stop replying lol ..
Use console to avoid those pausings. But system PAUSE is pure epic fail. You can google, and find millions of articles about this thing. It's stoping your program, callin' system processes and libraries, alot of system calls, and then returns u back, this sucks.
Char A; Cin << A;
is so stupid also.
Just use Cin.Get(); Cin.Get();
simple as never. Just wait for a key press, and then just ignore it.
@pufixas tai moliams kaip tik system call'ai. Parodytum interm'ui tokius dalykus, tai pareigingas žmogus atspardys dar ir šikną. Kažkokius kintamuosius kurt, system callus kviest.
Ką kitką su cin? Apskritai jokios pauzės neturi būti šiaip sau kuriamo gale, o jei jau reikia get member-function'as tam puikiai tinka, nukritus flagui nelama pakels jį ir išvalys bufferį. Tavasis cin užgliučins visai jei aš šausiu stringą, ir bufferis bus perpildytas, ir teks valyti vėl bufferį, I/O nebereaguos visai
@pufixas Asile, pasižiūrėk į savo profailą, avinas PC HACKERIS TIPO :DDDDDDDD.
Dar mane vadina nolifer'iu :D:D:D:D. Čiuju dročini tu į schemas ir į code'ą žiūrėdamas :D:D:D:D. O pas mane viskas puiku, nesijaudink :) Su panelėm viskas ore, studijoms mokslas skiriamas taip pat. O tu galiu garantuot, profkinis, nors ir iki tokio lygio netempi, juokas ima iš tavęs :D. Tipo mandras, bet per šikną padarytas likai kaip gandras. Pro šikną papisk :DD Eik tu savo motiną pro šikną papisk ir už papo paimk.
@TppcGamer There are many different versions of c++ i believe that is visual c++ 6.0 that hes using but thats not free the free one is bloodshed dev c++ these are the program names c++ by itself just means the type of code
lol most people who look up on youtube, how to make a game, they are usually expecting WIN32API looking interfaces, not console, but if the api is what they would o ffound, they would of found videos that would of lasted 30 minutes to an hour or so, but this was my first, now im in open gl C++ and plan on learning ageia physx
Most engines are written in C++ and not Java. Since this is the case it makes C++ superior to java due to the fact that if you were to want to make a game you would most likely have to use C++. Computer games are different, so you wouldn't have to worry about that unless you would want to make your game a certain way.
err this vid isn't in hd
ThatUslessMan 1 week ago
which compiler are u using?
12MrSantosh 2 weeks ago
wt the hell is this
amilacena1 3 weeks ago
mate i just satrted out and i do better, no offence but mate use ur voice, make sure syntax errors become the past and have fun :D
TheKikoren 1 month ago
worst video ever!!! need to speak words mate
laurenson6457 1 month ago
i have a code but i need to know how to save and run it
Blueparrot911 1 month ago
Bad code.
1. Variables should be declared whenever they are needed
2. Using namespace std in file scope is not good, should have used this line in main()
3. A for loop could have been used instead of a while loop
4. The loop could have been terminated with break; instead of system("pause"), using this during a loop is very very very bad code IMO.
5. System("pause") should not have been used,
the following would achieve the same effect but better
cin.clear():
cin.ignore(255,'\n');
cin.get();
L31kz 1 month ago
Thumbs up if you muted this video.
cammycam09MCF 1 month ago 10
danm i add not choice but to click on the add lol
jayquan17ify 2 months ago
_getch() is the same as system("pause")
juplm4000 3 months ago
@juplm4000
Though you should use getchar() instead of getch(), because the latter isn't always fully supported in all compilers/OSs.
Soulsphere001 2 months ago in playlist More videos from hdvidsonly
so this is in java?
term884 4 months ago
@term884 Read the title, idiot. XD It clearly says C++ tutorial.
AGBuzz182 3 months ago
@term884 No. C++. they are different
theofficialrythmic 2 months ago
@term884 C++
mixinghoney 1 month ago
how do i turn c++ on lol were is it on comp im super noob pls help
smokawho 4 months ago
@smokawho download a compiler like DEV C++
nadenessnick 4 months ago
while (change <= 3) is wrong .... -.-
TutorialKids1 4 months ago
did you go to college to learn all of these things im considering taking a class at EMU for C++
Dylanfps 5 months ago
when i run it, it doesnt let me type a number in, help?
TGamingPlaza 5 months ago
Each time you writing "double" instead of "float" user forced to buy another one memory stick.
d0ntbelive 5 months ago
@coglanHD it's Dev-C++
TheMorfeus2 5 months ago
Dont use system("pause"); use cin.get
leepailong123 5 months ago
How is this a tut?
to me this is just a music video.
Saffire192 5 months ago in playlist C++ 3
Please do not add annoying music to videos that are supposed to be a tutorial.
Longhairbeware 6 months ago
@HaloCPPGuy not true, just becaouse is says make a game, it dosnt specify what kind of game it is, it could be anywhere from a counting game, or a highly coded game like portal and anywhere in between.
yousmelllikeassspron 6 months ago
Does it matter if I delete
srand((unsigned)time(0)); I did and nothing went wrong...
Powtendo 6 months ago
@hdvidsonly send me the code please
gensterize 6 months ago
There's an error at my code. Can it be the srand? Cause that's not an internally command?!
hempu96 6 months ago
Thats top 1 simplest game ever.. xD
The1337DoomCokie 6 months ago
Whats the name of the c++ sowftware you use?
razza779 6 months ago
You don't know anything about Computer languages.
OSAMAxxxxxxxxxxyz 6 months ago 3
Please do not add annoying music to videos that are supposed to be tutorials.
Longhairbeware 6 months ago 3
what symbol is it that you use at1:56 random = rand () ? 10
plaese relpy asap
adeolaojo 7 months ago
Bad code.
Drillur 7 months ago 23
there is 6 errors in the code for me
Jerjer907 7 months ago 6
There is 5 errors on your codes for me.
t26ify 7 months ago 4
So how do you create objects and characters and stuff?
dervish2173 7 months ago 2
For Some Reason When I Try To Run The Game It Says It Has Encountered An illegal instruction. Why?
RockonStudio 8 months ago
chance as double?
AlterHacker 8 months ago
Hi im new to C++ im wondering i made a file then i have the code but i don't know how to save it as .exe
DriftMachine811 8 months ago
GO WATCH THENEWBOSTON(Bucky)!
arcanists2000 8 months ago
it says that time is undefined
splicer200 8 months ago
@whymeproducz cout stands for code out.
matt55102 8 months ago
thats a game? o.o check out my utub page for real games made with game maker ;)
KattSpjut 9 months ago
thats a game? o.o
KattSpjut 9 months ago
0:59 how inappropriate, a dick
FailForceFilmz 9 months ago 4
nice
cybogg13 10 months ago
Thanks so much man. Me and my buddys own this (not licensed) game making company (hence the name) , and our first games were in notepad, then unity, then shockwave, and with those i think we had some experience with c++. I'll let you know of our future games. Thanks so much! (subscribed)
ragdollsoftworks 11 months ago
wat kind of a shotty game is this ??
morpheus934 1 year ago
There are a few bugs in your code, even after the guess are over it says "try again." you have 2 "end << end; after it says "you're right" it's more efficient to do "0 < 2" compared to "0 <= 3" the second uses 2 machine instructions compared to 1. you have multiple uses of "system("PAUSE"): and "return;" no reason to use "double" use int instead.(uses less memory). cstdlib is unnecessary. not trying to be an ass, just trying to help make you better, here's my code.
pastebin[dot]com/espUj3cS
asmcriminaL 1 year ago
I just followed along the video and wrote down the code when he did. It helps with learning what stuff does too.
Umumu5 1 year ago
LOL SRANDOM
SmokNiszczyciel 1 year ago
song is annoying, I want narration!
vulkein 1 year ago
Does this work with notepad?
TheUnknown0924 1 year ago
Thank you
shanedaman112 1 year ago
send me the actual code of this game
ashar410 1 year ago
hi. your music sounds like the sims
SoundSurfing 1 year ago
what is main
perazaroberto2 1 year ago
sorry im an amatuer in C/C++ , what does cout mean? didnt come by pass it yet @hdvidsonly
whymeproducz 1 year ago 6
@whymeproducz cout is used to display the output.
hdvidsonly 1 year ago 6
@hdvidsonly Why don't youse use printf(""); ?
Jarzka1990 1 year ago
@hdvidsonly no c-out get the term cout
Spicyperson9123 7 months ago
@whymeproducz I may understand you are an amateur but you should try learning these things first before making games...I am an amateur also but I've got little knowledge about arrays,cout,cin,structures etc...go watch thenewboston(BUCKY!)
idvhfd 1 year ago 31
@idvhfd oh god thenewboston is great
soulrisk1010 1 year ago
@soulrisk1010 Told ya :D
idvhfd 1 year ago
@idvhfd yea i already knew about him lol I was just supporting your comment =P
soulrisk1010 1 year ago
@soulrisk1010 Ya...sorry for that.I thought you were the guy that I told about bucky.
XD
idvhfd 1 year ago
@idvhfd hell yes bucky is the fuckin man! thats how i learned to use c++
bdbbdb2727 4 months ago
@bdbbdb2727 Hell yeah!
Btw, sorry for my typo.
It was a year ago, I can't make that kind of mistakes now.
Lol.
idvhfd 4 months ago
@whymeproducz you aren't an amatuer if you don't know what cout means. You're a complete noob. Please look up TheNewBoston's c++ guide before attempting a game.
ImTheBatchMan 1 year ago
Comment removed
xxPEvexx 1 year ago
@whymeproducz *facedesk*
Judasthe13thdisciple 8 months ago
@whymeproducz Wow that's strange considering you use it to make a simple Hello World program
psntanner11man 8 months ago
@psntanner11man lol sorry that was long ago i know what it does now i take C++ classes :P
whymeproducz 8 months ago
@whymeproducz ok cause im like wait wtf
psntanner11man 8 months ago
@psntanner11man yea haha i know man i kind of wrote this comment carelessly but i know it now :P thx though
whymeproducz 8 months ago
@whymeproducz wtf? if you every did anything with c++ you did cout
this is the first thing you learn
without cout a program doesn´t display anything so it´s senseless
JakobRobert00 8 months ago
@whymeproducz Go to TheNewBoston's channel.
SergeantNugget 7 months ago 2
@whymeproducz cout means compile out. Its your compiler taking what you have just written and turning it into binary code so that your computer can read it and open all of the files that you commanded it to.
HulkStatuss 4 months ago
@HulkStatuss people people stop replying to this comment please . i asked this before knowing anything about C++ i know what it means so please stop replying lol ..
whymeproducz 4 months ago
@whymeproducz sorry man =( just trying to help
HulkStatuss 4 months ago
@HulkStatuss no prob :D thx nywayz
whymeproducz 4 months ago
are you created this song with Iphone/iPod Touch?
pufixas 1 year ago
@pufixas "Are you creaded" pssssssssshahahahahaha
Kozeris 1 year ago
system("PAUSE") --> EPIC FAIL
Kozeris 1 year ago
@Kozeris
Why is it an EPIC FAIL
TheAspergerGuy 1 year ago
@Kozeris
yeah why?
char A;
cin << A;
??? that better?
pufixas 1 year ago
Comment removed
Kozeris 1 year ago
@pufixas
Use console to avoid those pausings. But system PAUSE is pure epic fail. You can google, and find millions of articles about this thing. It's stoping your program, callin' system processes and libraries, alot of system calls, and then returns u back, this sucks.
Char A; Cin << A;
is so stupid also.
Just use Cin.Get(); Cin.Get();
simple as never. Just wait for a key press, and then just ignore it.
Kozeris 1 year ago
@Kozeris
nu ir kas is to cin.get()?
jeigu noresi prideti kanors kitka su tuo cin, tada cin.get() neveiks, tai geriau jau system("PAUSE") arba char a; cin << a;
ka tau sunku prirasyti tas kelias raideles daugiau?
pufixas 1 year ago
@pufixas tai moliams kaip tik system call'ai. Parodytum interm'ui tokius dalykus, tai pareigingas žmogus atspardys dar ir šikną. Kažkokius kintamuosius kurt, system callus kviest.
Ką kitką su cin? Apskritai jokios pauzės neturi būti šiaip sau kuriamo gale, o jei jau reikia get member-function'as tam puikiai tinka, nukritus flagui nelama pakels jį ir išvalys bufferį. Tavasis cin užgliučins visai jei aš šausiu stringą, ir bufferis bus perpildytas, ir teks valyti vėl bufferį, I/O nebereaguos visai
Kozeris 1 year ago
@Kozeris
ka tu cia spangsti?
pufixas 1 year ago
@pufixas
Tai šnekėk, lameri, o ne pats spanguliuok čia. Kotletas net nesupranta, kad get'as ima visus ASCII. LOHAS
Kozeris 1 year ago
@Kozeris
tu no-liferis esi, todel viska supranti, eik susirask boba papisk pro shikna, o ne sedek namuose prie pc nuo ryto iki vakaro.
pufixas 1 year ago
@pufixas Asile, pasižiūrėk į savo profailą, avinas PC HACKERIS TIPO :DDDDDDDD.
Dar mane vadina nolifer'iu :D:D:D:D. Čiuju dročini tu į schemas ir į code'ą žiūrėdamas :D:D:D:D. O pas mane viskas puiku, nesijaudink :) Su panelėm viskas ore, studijoms mokslas skiriamas taip pat. O tu galiu garantuot, profkinis, nors ir iki tokio lygio netempi, juokas ima iš tavęs :D. Tipo mandras, bet per šikną padarytas likai kaip gandras. Pro šikną papisk :DD Eik tu savo motiną pro šikną papisk ir už papo paimk.
Kozeris 1 year ago
@Kozeris
nebijok, nei profkinis as nei studijinis, nei hackeris, nei mandras, nei mamu pisejas (priesingai nei tu), bobas pist man dar per anksti.
o tu tik vaikus ir te duxini gyvenime...
gaila man taves...
pufixas 1 year ago
@Kozeris
tu lietuviskai kalbeti moki?
pufixas 1 year ago
Comment removed
Kozeris 1 year ago
This has been flagged as spam show
@pufixas Tu rašyt lietuviškai išmok, elnias.
Kozeris 1 year ago
what program did you use to make this?
3DCubez 1 year ago
@3DCubez Its c++
coletrainisback 1 year ago
@coletrainisback yea..... is that the program name? what do i use? notepad!?!
TppcGamer 1 year ago
@TppcGamer There are many different versions of c++ i believe that is visual c++ 6.0 that hes using but thats not free the free one is bloodshed dev c++ these are the program names c++ by itself just means the type of code
coletrainisback 1 year ago
@3DCubez go to cprogramming . com and you'll find it. It's free!!!!!
GeorgePantazis1 1 year ago
@3DCubez Lol... C++?
s0m31s0n1c 1 year ago
To make the game better you should make it say : " The no. is higher/lower than your guess!" :P That's what i did.
Fl4shG4mer 1 year ago
HOW DO I GET THE CODE IT PROMISED AFTER SUBSCRIBING
deathnotegupta 1 year ago 5
@deathnotegupta my hdd crashed and now i don't have the code so i have make one.
hdvidsonly 1 year ago
@hdvidsonly yeah i have one error its says:
"time": identifier not found
WTF???
zokih20 1 year ago
@zokih20 i Have it too
nivram147 1 year ago
@nivram147 well i dont anymore i fixed it!!
zokih20 1 year ago
lol most people who look up on youtube, how to make a game, they are usually expecting WIN32API looking interfaces, not console, but if the api is what they would o ffound, they would of found videos that would of lasted 30 minutes to an hour or so, but this was my first, now im in open gl C++ and plan on learning ageia physx
GhostXoP 1 year ago
subbed now code plz
Newbie481 1 year ago
Comment removed
lolwutkitteh 1 year ago
can you use notepad for c++?
rpg877 1 year ago
@rpg877
yes but u must click save as, then save it as whateveryouwant.cpp
lolwutkitteh 1 year ago
@lolwutkitteh cool thx
rpg877 1 year ago
lol he is named ''HD''vidsonly and this vid isnt HD
Hvid1221 1 year ago 21
@Hvid1221 because i tried to foucs on the code..
hdvidsonly 1 year ago
@Hvid1221 Yes maybe this video dosen`t have the oppurtunity to make the video HD but look how good the video quality is when it is at 360p!
LukaDiblosT 1 year ago
want to learn this or just interested join darkgdk(.)forumotion(.)com
Pearcy1990 1 year ago
Namespace std? STD?? Haha
XtremeGamer20 1 year ago
game code PIZ
narutospritemovie 2 years ago
actually i lost the code so i have to make up one.
hdvidsonly 2 years ago
what compiler do you use.
lgpro51 2 years ago
dev C++
hdvidsonly 2 years ago
I can't seem to get the code right, could you send it to me or something? Ty
FoBItzBlob 2 years ago
give me ur mail id...i am gonna send u the file
hdvidsonly 2 years ago
so much easier to make the same thing in java.
NuMb3r1PuNjAbI94 2 years ago
but this ain't java tutorial.
hdvidsonly 2 years ago
did i say it was?
NuMb3r1PuNjAbI94 2 years ago
hi Im Almost Professional Programmer And I Want Ask Is That Visual C++???
And Numb3r1punjabl94 Java Sucks
Just Be Better If You Make Like Platform Or 3D Game
rupluttaja 2 years ago
ya this is visual c++ express edition.
hdvidsonly 2 years ago
@hdvidsonly
SujuGrand 1 year ago
Most games aren't created in Java, c++ is superior.
RayRay5491 2 years ago
i know that... but that guessing game is easier to create in java is all i said...
NuMb3r1PuNjAbI94 2 years ago
i beg to differ have you even tried learning java syntax. c++ is not superior for making games it just more widely recognised
gonzo191 2 years ago
Most engines are written in C++ and not Java. Since this is the case it makes C++ superior to java due to the fact that if you were to want to make a game you would most likely have to use C++. Computer games are different, so you wouldn't have to worry about that unless you would want to make your game a certain way.
Ramatastic 2 years ago