alternatively, it can be done without declaring the function prototype after the header file.. But to do it the user defined function should be written before the main function... You are really amazing bucky..
Hi! I'm really noob in c++ programming and I've got a problem. I'm using dev c++, because I can't run programs, that I wrote in code blocks (don't know why). So I'm using dev and it can't recognize the void part. What shall I do? Thamk you.
Everything i've done on this haven't worked really well. It's always like 10 errors even if i do EXACKLY what you said. Seriously i need help with this.
Did daddy buy you that? Screw microsoft, it's expensive, convoluted and they try and incorporate their own standards. Dev and CB are free so why the hell would you use Visual?
Just as a tip, you might want to do different usage of these, in such ways, of also use it to out put words, not just numbers. It might help a lot more, for people that wanna start game programming ;) thx in advance
i downloaded the same program "codeblocks" and copied the code but when i tried to run it it says "It seems that this file has not been built yet. Do you want to build it now?" when i press yes nothig happends
OK, i get it know guys. you don't have to bother me with any more comments anymore, because it's getting annoying know when I already know the what cin.get() means
When i compile i get an error msg "expected '; before cin" even though i have every line copied down exactly as you have it. it is for the line "cin.get();"
@humphreyvivace I seriously doubt you do have it exactly the same. Make sure you ended the previous statement, e.g. ended the previous line with a semicolon (;).
@sleepychildkungfu 1:When you use a namespace in on the "stack"( the body of a function), that namespace is only used in that function!If you put it in the global namespace( outside of that function ), any function can use it! 2: It means standard!
When you do something like "using std::cout", you don't have to type std::cout, over and over!
@BlackHeavenSymphony Does it generate unwanted overhead when registered outside of the function. If you have multiple functions wouldn't it be better if they share the namespace instead of every function calling it separately? Or is my concept of stack wrong?
@sleepychildkungfu It would be better to use it globally, and no your concept is not wrong. Although i know that any variable, reference, object, or pointer that's created in the global namespace( not the stack ), there memory is deallocated when the programs ends. Anything in function's parameters and body, are local, and they deallocated when that function ends; while the program is running!
I'm not knew to C/C++ but I've not done much and lost contact many years ago but i'm thinking about getting back to C/C++. As i don't feel like spending alot of my free time into books like I used to do I prefer spending it watching videos. I think this is because i like the way you explain things. ;)
So, I'll keep watch for the next episodes but I'm waiting for the advances topics.
Wow thanks The New Boston i really appreciate the time and effort you put into these tutorials. In a year or so i am going to be leaving school and heading for collage to do a course on computer programming and your tutorial has given me a head start THANKYOU.
I believe that the code should be a little be smaller. It will still be readable and whoever wants it bigger he can just watch the video in fullscreen.
@MugenTsukiyomi 1: "Sam's teach your self C++". 2: Microsoft visual studio 2010!
I got pro..But could of got express! Oh and function protoypes( also called the function declaration ), can help a programmer in debugging if you call the function wrong or have overloaded versions, as well as when requirements change.Almost a year and i can do templates already.But not every body's the same nor into details.
@theMacBoy11 To be more technical, it means ¨grab every character from the input stream but return only the first one in the stream(pressing Enter will end the stream reading, and make the function return)¨
For everyone who's wondering the compiler's name is "Code::Blocks". Google it!. Also, Bucky, wouldn't it be easier if you just wrote "using namespace std;" outside of all the functions so you don't have to mention it in every function after? :-)
@5agaci You are just kidding.. right? Why not in 1080 with HD surround and director's cuts? Or maybe addictional leather manual sended by ups to your home with BlueRay tutorials edition...
I get that mouse moving on its own problem as well. I think it's got to do with the cords pulling the mouse so I usually just straighten them up and the problems solved.
just right
Espartan251 4 days ago
text size is good!
MrJedelaro 4 days ago
Text is too hawt
Bobfromschool 3 weeks ago
The TexT is Colorful.
Wait so if create another function we have to make a prototype function for it??
MrKraken1337 1 month ago
Comment removed
MrKraken1337 1 month ago
tutorial on Code Blocks!!!!
ONLYUSEmePOTATO 2 months ago
@ONLYUSEmePOTATO He has done one on how to set it up
tdaworldProductions 4 weeks ago in playlist More videos from thenewboston
alternatively, it can be done without declaring the function prototype after the header file.. But to do it the user defined function should be written before the main function... You are really amazing bucky..
Mrlpjo 3 months ago in playlist More videos from thenewboston
Text is just right.
KOGPaladin 3 months ago
text is good size
worldtraveller321 3 months ago 8
This has been flagged as spam show
sexually transmitted diseases :D
stari1grad1novi1sad 3 months ago
Is it "Prototyping a function" or Declaring a function?
CamoPeng 4 months ago
this video is the only video that i have seen that does not have a single dislike.
HOW THE HELL DOES HE DO IT? XD
sk8r1446 4 months ago
to big
swimtastik77 5 months ago
i cant use Code Blocks it is annoying the f outta me.
Everytime i do exactly what ur doing and i fail on my butt
Kiddospeedpro541 5 months ago
HOW TO GET THAT GREEN LINE FROM THE LEFT???? RESPOND PLZ ANYONE!!!
afker553 5 months ago
@afker553 If you are using code blocks and you run a program it will have green lines on sections of code the program knows works.
It does not effect the code in anyway it is just to help the programmer see what is going on.
(caps are annoying)
canyonsamm 5 months ago
@canyonsamm so i can do it without those?
afker553 5 months ago
@afker553 yes.
canyonsamm 5 months ago
font size is just right.
LavisDurandal 5 months ago
what font type do you use and what size
magicplayingcards 6 months ago
Ethicalcracker 7 months ago
nvm silly me i typed namescape
THATBLU3GuY 7 months ago
Comment removed
THATBLU3GuY 7 months ago
could someone help me i don't know whats wrong
void sam(int x){ using namescape std; cout << "my fav number is " << x << endl;
}
THATBLU3GuY 7 months ago
i named it a cuss word.
weswii 7 months ago
The text is too perfect
omgunoobinrs7 8 months ago
I think I'm being watched by the government because of "void fuck()"! What do I do?
bestfilmz 8 months ago
This has been flagged as spam show
how does he type in parentheses so fast???-.,-
anyone can tell me why? any trick??
send me email :simonizerlol@gmail.com
simonizerlol 8 months ago
Excellent video, you explained it nice and simple...a lot easier to understand than learning from books.
You just got a new fan, thanks for the great videos!
alleyoopsy 9 months ago
When did you first start learning c++?
blackknight509 9 months ago
This is normal font :)
BlackHatHax 10 months ago
Only 10,433 out of a 100,000 lucky challengers have made it this far 0.0
YZB25 10 months ago
Hi! I'm really noob in c++ programming and I've got a problem. I'm using dev c++, because I can't run programs, that I wrote in code blocks (don't know why). So I'm using dev and it can't recognize the void part. What shall I do? Thamk you.
balagesaysthecool 11 months ago
its perfect
tibiaowned1 11 months ago
Font just right .. And i dont think you mentioned what include cstdlib does
rockydasha 11 months ago
@rockydasha he said it means the power of function can be used (mentioned in last tutorial)
anewmz 11 months ago
the text is just perfect for now ;)
GonzoDark 11 months ago
lol "std which stands for sexually transmitted disease" ...
iExD 11 months ago
Size is just right. :D
iExD 11 months ago
Everything i've done on this haven't worked really well. It's always like 10 errors even if i do EXACKLY what you said. Seriously i need help with this.
Maby there's something wrong with Codeblocks?
Wildtigaah 11 months ago
can u please use microsoft visual c++ 2010 express, its better and free aswell so please use that
JxDwajxJ 1 year ago
please stop using crappy compiler like this.... i am using Visual Studio 2011 Ultimate.
why do you use cin.get(); when system("pause"); is much easier to see :)
GigglingGirI 1 year ago
please stop using crappy compiler like this.... i am using Visual Studio 2011 Ultimate.
GigglingGirI 1 year ago
@GigglingGirI
Jacksonwizard13 1 year ago
@GigglingGirI
Did daddy buy you that? Screw microsoft, it's expensive, convoluted and they try and incorporate their own standards. Dev and CB are free so why the hell would you use Visual?
Jacksonwizard13 1 year ago
@Jacksonwizard13 we bought it for our 8 year old daughter she is into c++
GigglingGirI 1 year ago
i love your tut it has the explanations ever
GigglingGirI 1 year ago
right<3
lordleipo2 1 year ago
Just as a tip, you might want to do different usage of these, in such ways, of also use it to out put words, not just numbers. It might help a lot more, for people that wanna start game programming ;) thx in advance
qlail 1 year ago
Bro the text is just right =)
TheKane388 1 year ago
Cool man!!!
SyedMustafa34 1 year ago
What font is it?
echo900 1 year ago
You don't have to prototype functions in C++, at least not in C++03.
Only in classes you do.
sticksquash 1 year ago
@sticksquash You don't have to prototype functions in classes, you can define your functions inside the class.
cplusplusish 1 year ago
void fuckyou(int x) > void bucky(int x)
caltake1 1 year ago
text is cool =D
mathdarg450 1 year ago
i like text size but i think the window is a little tight.
Jill0wnZ 1 year ago
i downloaded the same program "codeblocks" and copied the code but when i tried to run it it says "It seems that this file has not been built yet. Do you want to build it now?" when i press yes nothig happends
adde362 1 year ago
@adde362 because u probably didnt download the version with the source code. the 70mb version with the GWmini or whatever that is.
ButaChicken 1 year ago
This has been flagged as spam show
Just right ;)
ALEX2009poli 1 year ago
OK, i get it know guys. you don't have to bother me with any more comments anymore, because it's getting annoying know when I already know the what cin.get() means
theMacBoy11 1 year ago
The text is perfect size :)
FBAwesome 1 year ago
lolo sexual transmittable deceise
thesickbeat 1 year ago
WHY is it bucky 20 ?
CCV334 1 year ago
can we use getch() instead of cin.get() and not using return 0 at the end and main()'s return type int ????
arooooooooj 1 year ago
The text size is very great, maybe a little too big if you make longer codes ;)
Thanks alot for uploading these tutorials =)
MKWpwnage0 1 year ago
Text size is fine.
thaizascythosaskand 1 year ago
text size is fine, but should in stay with this old compiler or the new one?
oxxjenkinsoxx 1 year ago
I think the text size is ABSOLUTELY PERFECT.
wywyman 1 year ago
When i compile i get an error msg "expected '; before cin" even though i have every line copied down exactly as you have it. it is for the line "cin.get();"
humphreyvivace 1 year ago
@humphreyvivace I seriously doubt you do have it exactly the same. Make sure you ended the previous statement, e.g. ended the previous line with a semicolon (;).
sl00tie 1 year ago
out of curiosity - what new compiler have you got?
jacko1123 1 year ago
8:10 "Listen to me. I had a very stern voice when talking to my compiler."
What Professor Of Computer Programming has that kind of humor? And bucky's giving it away for free! :D
Fbiman93 1 year ago
EASY BESSY! XD
huliheaden 1 year ago
Why do you put "using namespace std;" inside main() ???
Does STD mean standart or sexualy transmited disease???
sleepychildkungfu 1 year ago
@sleepychildkungfu 1:When you use a namespace in on the "stack"( the body of a function), that namespace is only used in that function!If you put it in the global namespace( outside of that function ), any function can use it! 2: It means standard!
When you do something like "using std::cout", you don't have to type std::cout, over and over!
BlackHeavenSymphony 1 year ago
@BlackHeavenSymphony Does it generate unwanted overhead when registered outside of the function. If you have multiple functions wouldn't it be better if they share the namespace instead of every function calling it separately? Or is my concept of stack wrong?
sleepychildkungfu 1 year ago
@sleepychildkungfu It would be better to use it globally, and no your concept is not wrong. Although i know that any variable, reference, object, or pointer that's created in the global namespace( not the stack ), there memory is deallocated when the programs ends. Anything in function's parameters and body, are local, and they deallocated when that function ends; while the program is running!
BlackHeavenSymphony 1 year ago 3
@BlackHeavenSymphony 10X
sleepychildkungfu 1 year ago
Text is perfect.
sleepychildkungfu 1 year ago
I just love the way you teach... nice and easy, using simple examples. Keep the good work bucky =)
XStorminTech 1 year ago
Text is just right to me. ;)
I'm not knew to C/C++ but I've not done much and lost contact many years ago but i'm thinking about getting back to C/C++. As i don't feel like spending alot of my free time into books like I used to do I prefer spending it watching videos. I think this is because i like the way you explain things. ;)
So, I'll keep watch for the next episodes but I'm waiting for the advances topics.
Thx for the videos on your channel.
EminoMeneko 1 year ago
Wow thanks The New Boston i really appreciate the time and effort you put into these tutorials. In a year or so i am going to be leaving school and heading for collage to do a course on computer programming and your tutorial has given me a head start THANKYOU.
TheProGamers111
TheProGamers111 1 year ago
haha nice one.. using namespace std; =(sexually transmitted disease huh).. nice one :D
WiLdStRinGeR 1 year ago
This has been flagged as spam show
Quick tip put the using namespace std, under the includes so you don't have to type the namespace in every function.
empireJJ 1 year ago
Comment removed
empireJJ 1 year ago
I believe that the code should be a little be smaller. It will still be readable and whoever wants it bigger he can just watch the video in fullscreen.
baggos12 1 year ago
Text Size is Just Right.
JulioJurkevicz 1 year ago
Hello, in void bucky (int x) how does the compiler know that x is defined as the number you write in the main function?
hattmakarn 1 year ago
@hattmakarn Basically, X is like a palce holder. Its being used in the function saying, whatever is entered in the function parenthesis becomes X
XAutomatedOwnerX 1 year ago
where are the 5 tuts??
manutube8080 1 year ago
Hey bucky, you said you were going to make 5 tutorials on Oct. 9 (says in your update), but you've make only 2 more tuts so far!
theMacBoy11 1 year ago
make another video please :P
biggerthanblue 1 year ago
Excellent Tutorial!! What are some book you would recommend for a person trying to learn c++? And what compiler do you use?
MugenTsukiyomi 1 year ago
@MugenTsukiyomi
i recommend the book: The Big C++!
and the compiler is CodeBlocks
ScienceTutorials 1 year ago
@ScienceTutorials Thanks :)
MugenTsukiyomi 1 year ago
@MugenTsukiyomi 1: "Sam's teach your self C++". 2: Microsoft visual studio 2010!
I got pro..But could of got express! Oh and function protoypes( also called the function declaration ), can help a programmer in debugging if you call the function wrong or have overloaded versions, as well as when requirements change.Almost a year and i can do templates already.But not every body's the same nor into details.
BlackHeavenSymphony 1 year ago
@BlackHeavenSymphony Thanks :)
MugenTsukiyomi 1 year ago
did you delete all your old c++ tutorials?
DamarSweetness 1 year ago
The text is k.... xD
Cami7ord 1 year ago
bucky +100000
I like you Thumbs up
HAQOAQ 1 year ago
WTF what is cin.get()! you haven't told us about it yet
theMacBoy11 1 year ago
@theMacBoy11 it's replaced for system("pause");
nguyennguyenkn 1 year ago
@theMacBoy11 oh sorry i forgot, it means "wait for the user to input a character" basically same thing as system pause.
thenewboston 1 year ago 26
@thenewboston Well, no. But in that particular case it is.
Tehm4nm4n 1 year ago
@thenewboston OK, I get it now! Thanks bucky
theMacBoy11 1 year ago
@thenewboston
system("PAUSE") only works on windows because pause is only a command in cmd
bohterham 10 months ago
@thenewboston
system("PAUSE") only works on windows because pause is only a command in cmd but you probably know that ;)
bohterham 10 months ago
@theMacBoy11 To be more technical, it means ¨grab every character from the input stream but return only the first one in the stream(pressing Enter will end the stream reading, and make the function return)¨
gasto5 1 year ago
@theMacBoy11 He told us in the last video though.
Rukishou 1 year ago
He told us last tutorial..
FBAwesome 1 year ago
@theMacBoy11 He did though.
HALPCat 1 year ago
@theMacBoy11 watch the previous vid.. he said it in there
HawxTeamDelta 1 year ago
@theMacBoy11 He did it in tutorial 6 :)
xXzedroidXx 1 year ago
@theMacBoy11 he sed it before, what episode before its like system("pause"); same shit
raidden 1 year ago
@raidden
i think he missed the 6th tutorial
1pontume 1 year ago
@theMacBoy11 if u watch his videos in order, he did :)
gengeriscool 11 months ago
@theMacBoy11 And he told it in the beginning of the previous video ;)
skaabu 10 months ago
@theMacBoy11 cin.get() is like the system("pause")
BlackHatHax 10 months ago
@theMacBoy11 in the last tutorial he told us its the equivalant of system("pause")
cbmxrider 9 months ago
Make "using namespace std;" global!!!!
Techn0Junki3 1 year ago
For everyone who's wondering the compiler's name is "Code::Blocks". Google it!. Also, Bucky, wouldn't it be easier if you just wrote "using namespace std;" outside of all the functions so you don't have to mention it in every function after? :-)
tuntuni1000 1 year ago
Text is perfect size;
IDE Code::Blocks;
You dont have to write every time using namespace std, just below includes
budabudimir3 1 year ago
What is this compilier name?
KnifeDarky 1 year ago
Comment removed
theMacBoy11 1 year ago
Comment removed
theMacBoy11 1 year ago
This has been flagged as spam show
it is called Code::Blocks. He says what compiler he downloaded at 0:55 in the 7th C++ Programming Tutorial.
theMacBoy11 1 year ago
This has been flagged as spam show
just right for me and i use wide screen :D
shoxdanger 1 year ago
is this the one where you drank before making?
soulrisk1010 1 year ago
Just right
Admiral3131 1 year ago
This has been flagged as spam show
A bit too big.
PotadoTomado 1 year ago
I think you just said "Smell you guys later".
So now what's up for the next tut?
"Taste you guys later?"
#LOL
Swetlana0 1 year ago
Welcome back!!!
Nice tut as always
expertprogrammer 1 year ago
just right
chickenflay 1 year ago
Can you give some tutorials on the windows api?
2008philliesfan 1 year ago
good job,thx
Globox822 1 year ago
a bit to big
zaqo12 1 year ago
the text was fine
MrCelloman21 1 year ago
Thumbs up if you think C++'s syntax sucks and Java's syntax is SO much better
linkfan22 1 year ago
bucky...the texts are ok.
TheKencal 1 year ago
Good videos!
ScienceTutorials 1 year ago
Thanks for teaching, Bucky! Waiting for 8th,9th and 10th, like you told in your update!
And the text is good.
BumbiSit 1 year ago
NOT RIGHT! lol jk just right
AnimationShorts1 1 year ago
maybe a little big, but thats just me
helehole 1 year ago
Just Right.
MasterOfMist 1 year ago
you do amazingly good for being drunk...
TheShootHappy 1 year ago
pow(just right,100)
nextblain 1 year ago
wtf is with this just right? :P
dranoel1963 1 year ago
@dranoel1963 the size of the text.... he whants to know if its to small to big or just right....
TheShootHappy 1 year ago
just right
reallygoodgamer 1 year ago
just right
Fangornmmc 1 year ago
just right
fdrpyahoocom 1 year ago
just right
particle1988 1 year ago
can u do some C# ?
mrLYLiX 1 year ago
just right
Kostas1601 1 year ago
just right
gam3shack 1 year ago
just right
darkpower901 1 year ago
just right
Globox822 1 year ago
Just right
vancar6 1 year ago
i use cuss words all the time for my functions....especially when my program doesn't compile. >.<
pew2007 1 year ago
TEXT IS PERFECT!
0engima0 1 year ago
just right
strpwnownz4 1 year ago
Perfect
gameoflordfuckerhalo 1 year ago
Just right.
SinkingPennyBLee 1 year ago
to big
mstuie 1 year ago
well played.
ladicius 1 year ago
text is fine but it would be good if you could upload it at 720p
5agaci 1 year ago
@5agaci You are just kidding.. right? Why not in 1080 with HD surround and director's cuts? Or maybe addictional leather manual sended by ups to your home with BlueRay tutorials edition...
nanodeath 1 year ago
What compiler are you using now?
theballerplaya 1 year ago
@theballerplaya
He's using Code::Blocks now.
The textsize is good :)
MrSharkanism 1 year ago
The font size is perfect at my 1920x1080 resolution. Great video man.
theballerplaya 1 year ago
it,s 2:25 am!
zipzip143 1 year ago
I get that mouse moving on its own problem as well. I think it's got to do with the cords pulling the mouse so I usually just straighten them up and the problems solved.
rom2014 1 year ago
Pretty small...
Wait, we're talking about the TEXT size?
CCNezin1 1 year ago
to big
TheCPU5555 1 year ago