I tried to compile and recieved this message: "... `getch' undeclared (first use this function)". Then I typed getchar() instead of getch() and it worked. Could anybody explain please?
Holy crap! I came to this video only knowing python and a little bit of BASIC. I skipped around this video and I have to say, this looks like a lot just to make "Hello World."
And I recommend you to use an IDE (a programm that is a compiler, a debugger and a word processor) like Code::Blocks or Microsoft Visual C++. And excuse my bad English, it's not my mother tongue ^^
what is a complier and why do I need one? You need to explain more for us retards. What ia C and how did it get started? What is STUDIO? like what is it? Hello World! I am unemployed. What is C and PIC chip basics
@MrBigEnchilada C++ isn't any harder. All of the basic C syntax is there. C++ just adds a number of new (convenient) features. I think we need some object oriented design tutorials. Bucky has a whole playlist dedicated to C++. It helped me a lot too (mostly stuff I forgot).
Everytime i compile and run my program an alert from my AVG antivrus program shows telling me that the .exe resulting of my code is a threat, and then it doesn't show the result. What can i do if i dont want to disable mi AVG?
@jakeryollean It doesn't depend on these videos...It depends on them going to college and university, like me, I'm only looking at this video because I'm curious about HIS teaching techniques
@ChrisTheBest1992 Hi, is it possible to learn C and C++ within a year? Is this doable? I think I can. Someone opened my eyes saying this career wasn't the one for me, it's programming. Thanks
@Mr5a5uk i dont get that part when you say that "this career wasn't the one for me, it's programming. "
and,well,if you manage to FULLY learn C and C++ at 100% within a year,then you must an informatic genoius,a true prodigy that appear once in a generation.
if you manage to accomplish that goal,contact me,i got a lot of things to learn...
check out my channel on C programming : youtube.com/user/bjornulf2012 (I will make HTML, CSS, PERL,PYTHON, C++, LINUX COMMANDS...) - already done in french on /user/bjornulf2011
People, Java is not a programming language, it get's compiled twice, making it slow as shit. C, C++ Objective C are the powerful ones. Assembly is a rare gem. BUT learning new things is 'not' a reason to call someone a 'fag'. To improve in C, search for code vulnerabilities. Such as buffer overflows in opensource code. Attempt to exploit it, then run a payload.
@bondservant4Him I meant that it is a language that some developers have a hard time picking up, but it can be VERY USEFUL if you put the time into it :)
@WorldOfCreators Well, you saved it as a C Source File? if you cant fix it, stop try be a programmer. Coz then your'e brain is not made for it. Newfag.
@Swippz I tell you, im not a newfag to programming. I've been programming for years, but this is the first time I do C. I've always been programming Java.
it's not working for me i type and do the same as you and follow your steps but its not working. here's a link to a video of me trying it.. correct any of my mistakes. thank you
@TheNewbie27 hi there, int is the type that the function is going to return, main is the name, and between the parenthesis is were you put the parameters the function can receive. When none is inserted the compiler will assume that doesn't receive parameters. Now, void is used mainly to say that function wont return void main , or that the function wont receive main (void ) or even if it wont return or receive void main(void)
The great thing about your tutorials is that you explain it very well and beginners like me can absorb it quickly... thanks,,,, I'm starting learning C Programming,,, please continue to teach us... Than you very much...
@idster7 they are pretty much the same language (i think. im no expert) its just that C++ is kind of like, a higher level language. so say you do something in C, you could probably do it in less amount of code in C++
The difference between C and C++ is that C is a procedural language while C++ is object oriented and, thus, much harder to learn because it has classes (C++ was first called "C with classes"), inheritance and polymorphism along with the stuff C has.
@miheerc return isnt "necessary" in main(though good to include as a standard practice) however when run in windows as a .exe file, if you dont end with something that prompts for user input it will close the program when it reaches that return statement. So in practice a scanf(), or any other user input function, is placed to keep the program from ending itself before the user can read the lines printed.
does anyone know a better compiler to use? I'm completely new to programming so i have no idea where to look but i would assume the one suggested in the video is out of date, correct?
@libsingburg really i thought Turbo C is just a program. Then what programming language is Turbo C? Im confused because There is also TUrbo C++. I think Its just a Compiler but the language is the same
Great tutorial for beginners man ;). but, when I compile and run, It flashes the compile window and it doesn't run ANYTHING T-T, the black box doesn't even appear...
Pls, how can i find a list of all your "c programming tutorials"...Thanks...vmars316
vmars316 1 week ago
@vmars316 just go into his youtube profile...
manoskythira 1 week ago
hello
Gul3285 1 day ago in playlist C Programming Tutorials
nvm downloaded wrong thing, but now it wont show up like i hit run and it pops up then goes away
FunkyStruedel 1 week ago
aw can someone help me when I try to compile it says file cannot be found or something and idk whats wrong
FunkyStruedel 1 week ago
I tried to compile and recieved this message: "... `getch' undeclared (first use this function)". Then I typed getchar() instead of getch() and it worked. Could anybody explain please?
Alexxv46 2 weeks ago
@Alexxv46 used codeblocks and everything worked fine))
Alexxv46 2 weeks ago
UBC!!
Cadadika 2 weeks ago in playlist C Programming Tutorials
I love you! thank you so much!
risc910 2 weeks ago in playlist C Programming Tutorials
Holy crap! I came to this video only knowing python and a little bit of BASIC. I skipped around this video and I have to say, this looks like a lot just to make "Hello World."
cvs333 3 weeks ago
Is this C or C++ ? I'm asking because he is using Dev C++ ???
Hoihoijooah 1 month ago
@Hoihoijooah it is C, Dev-C++ uses GCC compiler which is compatible with C
bondservant4Him 1 month ago
@Hoihoijooah
Dev C++ has both complier for c and c++, he is programming in c though
KonKaji 2 weeks ago in playlist C Programming Tutorials
C is better than C++ thumbs if agree
Taking1n1 1 month ago in playlist C Programming Tutorials 4
Does these work for Quincy?
thecomputerkid11925 1 month ago
Hi, I'm talking this class in college. Watching these vids really help me keep up in class.
I would like to ask for the title and author of the book your teaching is based on?
Thanks.
NguyenEmpir3 1 month ago
And I recommend you to use an IDE (a programm that is a compiler, a debugger and a word processor) like Code::Blocks or Microsoft Visual C++. And excuse my bad English, it's not my mother tongue ^^
TheMabarz 1 month ago
For the main function, you can also write : int main() or int main(int argc, char *argv[]) .
And just a question : We have to put return 0; at the end of the main function, haven't we ?
TheMabarz 1 month ago
Guys is this C or C++?
thaappaya 1 month ago
@thaappaya it is C
bondservant4Him 1 month ago
You are doing great job. I am a student of BCA 1 st year. Doing BCA from an open university. So your program is very helpful for me. Thanks.
Aradhanasingh62 1 month ago in playlist C Programming Tutorials
R.I.P Dennis Ritchie
Pipwig12345 1 month ago 38
what is a complier and why do I need one? You need to explain more for us retards. What ia C and how did it get started? What is STUDIO? like what is it? Hello World! I am unemployed. What is C and PIC chip basics
2012goingNutz 2 months ago
@2012goingNutz google
bondservant4Him 2 months ago
I have a question. Why does even when I compile & run it I get "Source file not compiled." Without the quotes.
MentlegenGriefing 2 months ago
my book says that i have to write void main(void) and then printf ... its that right ?
DanyLance13 2 months ago
@DanyLance13 as i remember if you write void it's because you're going to do text.
randomguyalwayshere 1 month ago
Comment removed
AirSapling 2 months ago
printf stands for "print formatted"
frxstrem 2 months ago
Can You Write Emulators??
mangodoor408 2 months ago
Don't you mean what the F?
printF
gudenaurock 2 months ago in playlist C Programming Tutorials
instead of getch, can't you do something like pause?
gatoo23 2 months ago
going to learn this next semester so im learning it now
heard C++ is alot harder lol
MrBigEnchilada 2 months ago
@MrBigEnchilada C++ isn't any harder. All of the basic C syntax is there. C++ just adds a number of new (convenient) features. I think we need some object oriented design tutorials. Bucky has a whole playlist dedicated to C++. It helped me a lot too (mostly stuff I forgot).
MrShyguy0 2 months ago
You don't need to int. main() right what is the diff. ?? THX
TheRealityKnight 2 months ago
Everytime i compile and run my program an alert from my AVG antivrus program shows telling me that the .exe resulting of my code is a threat, and then it doesn't show the result. What can i do if i dont want to disable mi AVG?
Please
superivanhoe 2 months ago
@jakeryollean I don't have my degree yet, but I'm just curious to see the basics again
AppleAssassin 2 months ago
I saw a ggogle site named: ikastenc. There are interesting programms there...
txikiportu 2 months ago
@1996Johne you must've accidentally hit the "insert" key
ghyutin 2 months ago
This has been flagged as spam show
good tutorial. hey guys, please check out my channel.
softpctips 3 months ago
@jakeryollean It doesn't depend on these videos...It depends on them going to college and university, like me, I'm only looking at this video because I'm curious about HIS teaching techniques
AppleAssassin 3 months ago
haha.....6:33......presenter says that he doesn't know wats 'f' in printf....he explains like 'f' as in file or function , maybe i dont know...
but the over all explanation was good...
prasanth029 3 months ago
Your program doesn't work.
I'm failing to find what is so good about these you tube tutorials.
most of them suck and you can't get their programs to run..
So, I don't get how some of you are so happy with all these crap.
123jgbc 3 months ago
@123jgbc what did you do wrong??
bondservant4Him 3 months ago
@123jgbc Because it's never the learner's fault.
Pipwig12345 2 months ago
Your program doesn't work.
123jgbc 3 months ago
I got 7 errors trying "hello word". fail.
silentkilla1789 3 months ago
thank you my savior , I passed my programming !!!
mming90 3 months ago
Mine says, "Source file not compiled," but I clicked Compile & Run.
MentlegenGriefing 3 months ago
bucky in your mind whats better for making games in? C, C#, or C++?
tdude179 3 months ago
@tdude179 i would say c++ imo but i hardly know sh*t about coding >.>
mackapoot 3 months ago
the f in printf or scanf stands for Format
isorropisths 3 months ago
Uh, doesn't your compiler have a hotkey to insert compiler directives??????
tickyul 3 months ago
Good video thank you.
absolutebit 3 months ago
Comment removed
MrSkinnyBill 3 months ago
sorry i dont want that
saurabhwin7 3 months ago
i want output:
india india india india
upto n lines plz help me mail me at saurabh945644@gmail.com
saurabhwin7 3 months ago
hm you sneezed? cheers !
MyTubeClone 3 months ago in playlist C Programming Tutorials
my special thank for providing such nice totorial for the fresser like me.....
csharma4u1 3 months ago
"Aw that's super neat!!"
cyanz27 3 months ago
@cyanz27 you'd better not be saying that sarcastically you mudda fucka you
kingjames643 3 months ago in playlist C Programming Tutorials
i used this to get me started programming the bisection and newton's method in C++, Danke
jpmoench21 4 months ago
why so easy to teach dougie and hard to teach and learn prgramming -.-"
redcodeful 4 months ago
thanks
jpmoench21 4 months ago
I got the getch() error like a lot of people.
I managed to resolve it by putting getchar() instead.
gdcheese 4 months ago 2
@gdcheese you can use the visual c++ 2008 express edition and the first function you stated would work. for a demo, watch it on my channel
softpctips 4 months ago
GRACIAS.
havillat 4 months ago
So whats the difference between C and C++ ?
lKyrios123 4 months ago
@lKyrios123 C is a lot better,useful,and easier to learn
C++ is useful,but ive eard it use a lot of pointers and it take YEARS to fully learn it...
ChrisTheBest1992 4 months ago
@ChrisTheBest1992 Hi, is it possible to learn C and C++ within a year? Is this doable? I think I can. Someone opened my eyes saying this career wasn't the one for me, it's programming. Thanks
Mr5a5uk 4 months ago
@Mr5a5uk i dont get that part when you say that "this career wasn't the one for me, it's programming. "
and,well,if you manage to FULLY learn C and C++ at 100% within a year,then you must an informatic genoius,a true prodigy that appear once in a generation.
if you manage to accomplish that goal,contact me,i got a lot of things to learn...
ChrisTheBest1992 4 months ago
Hold up. Did you get that program out of a c++ book. I just put that on my computer. I've had the book for years and just decided to put it to use.
ave383 4 months ago
check out my channel on C programming : youtube.com/user/bjornulf2012 (I will make HTML, CSS, PERL,PYTHON, C++, LINUX COMMANDS...) - already done in french on /user/bjornulf2011
bjornulf2012 4 months ago
Thanks a lot..
But after i compiled the Hello world program with DEV and it closed itself within a second when I run it with Window 7.
Sorry for my bad English;(
Oscar100Q 4 months ago
@Oscar100Q use getch(); also include conio.h or you can use system("pause");
bondservant4Him 4 months ago
thanks a lot :)
eiiwlee 4 months ago in playlist C Programming Tutorials
help me,it said "getch();" is wrong and it didnt display that black-box. It dissapeared after I press ''compile and run''
manhthieugia95 4 months ago
@manhthieugia95 make sure to include conio.h
bondservant4Him 4 months ago
Comment removed
manhthieugia95 4 months ago
Nice video!
msh104utube 5 months ago
this is an awesome video
arusheepillai 5 months ago
thanks man, you should teach that at a university. They really need you there ;)
PhilChern 5 months ago
People, Java is not a programming language, it get's compiled twice, making it slow as shit. C, C++ Objective C are the powerful ones. Assembly is a rare gem. BUT learning new things is 'not' a reason to call someone a 'fag'. To improve in C, search for code vulnerabilities. Such as buffer overflows in opensource code. Attempt to exploit it, then run a payload.
superkryptonX 5 months ago
@superkryptonX im learning assembly this semester, what do you mean by its a rare gem?
bondservant4Him 5 months ago
@bondservant4Him I meant that it is a language that some developers have a hard time picking up, but it can be VERY USEFUL if you put the time into it :)
superkryptonX 5 months ago
Finally your the first one who actually explains this! Yes thank you!
taylorabcdef 5 months ago
Dick Davidson is the man ;)
Swippz 5 months ago
alright so I got the printf line to go without any bugs. Now the getch line is bugged -.-
WorldOfCreators 5 months ago in playlist C Programming Tutorials
@WorldOfCreators include conio.h
bondservant4Him 5 months ago
@bondservant4Him I did that. Now the getch is working, but now the printf command got an error.
Yes, I did add the stdio.h command aswell.
WorldOfCreators 5 months ago
@WorldOfCreators he said include conio.h !!! idiot
Swippz 5 months ago
@Swippz I did that, and it was quite obviously specified in the reply where I said "I did that".. 'idioit'
WorldOfCreators 5 months ago
@WorldOfCreators Well, you saved it as a C Source File? if you cant fix it, stop try be a programmer. Coz then your'e brain is not made for it. Newfag.
Swippz 5 months ago
@Swippz I tell you, im not a newfag to programming. I've been programming for years, but this is the first time I do C. I've always been programming Java.
WorldOfCreators 5 months ago
@WorldOfCreators You cant call java a programming language..Its just a simple language as Basic.NET..Newfag!
Swippz 5 months ago
@WorldOfCreators HAHAHAHAHA xD
Glitchbooster 5 months ago
@WorldOfCreators Pm Me your code
bondservant4Him 5 months ago
This is totaly crap. I did EXACTLY the same as you did, but I cannot compile and run it. It says there is an error in the printf("Hello World");
line.
WorldOfCreators 5 months ago in playlist C Programming Tutorials
hiii....everyone...can any one tell me how to download a compiler?
my compiler is having some problems while running.
and i have some doubts in c,if we are declaring main as
void main()
and i didnt understand that wen should we need to put int and char infront of main()
and wat does an argument mean?
is there any problem
waiting for your response...
nitin3kriz 5 months ago
This looks so similar to Java... O.o
LycosaLatteeee 5 months ago
@LycosaLatteeee Not really, C doesn't have classes.
PerverseBannana 5 months ago
visit my channel for the video please... i just made this account so
levi052594 5 months ago
it's not working for me i type and do the same as you and follow your steps but its not working. here's a link to a video of me trying it.. correct any of my mistakes. thank you
levi052594 5 months ago
Help! my getch thingy doesn't work! it's just says this: `getch' undeclared (first use this function) i type everything just like u did.
nikolathepro 5 months ago
@nikolathepro Try getchar
PH5221 5 months ago
C is so diffilcult to master,like a pain in the ass
but once you master it,you can program anything and you get LOTS of money in your work...
ChrisTheBest1992 5 months ago
Please teach more c !!!!
I need it to program avr microcontrollers for my high school robotics team!!!!
minniman1234 5 months ago
my first day of C programming class, professor started talking about pointer and i was like wth is that?
vibol03 5 months ago in playlist TheNewBoston - C Programming
@vibol03 its most complicated part of C
bondservant4Him 5 months ago
Loved It :) thanks
but I can't see where you click on compile and run
revido 6 months ago
Comment removed
revido 6 months ago
If only my CS teacher was this good
McRitchiePhysics 6 months ago
this video is awesome!!!!!!!!!!1
theranju000 6 months ago
@MrRhysJewkes Well, I know basic C++, I was thinking I would be able to maybe program faster with C. Could I, or is C++ faster?
ziodice 6 months ago
Comment removed
TheNewbie27 6 months ago
What's the difference between "int main()" and "int main(void)" ??????
need help
TheNewbie27 6 months ago
@TheNewbie27 hi there, int is the type that the function is going to return, main is the name, and between the parenthesis is were you put the parameters the function can receive. When none is inserted the compiler will assume that doesn't receive parameters. Now, void is used mainly to say that function wont return void main , or that the function wont receive main (void ) or even if it wont return or receive void main(void)
stardevelin 5 months ago
The great thing about your tutorials is that you explain it very well and beginners like me can absorb it quickly... thanks,,,, I'm starting learning C Programming,,, please continue to teach us... Than you very much...
TheNewbie27 6 months ago
Is ti better to learn C or C++?
ziodice 6 months ago in playlist TheNewBoston - C Programming
c and c++ have the same compiler?
idster7 6 months ago
@idster7 they are pretty much the same language (i think. im no expert) its just that C++ is kind of like, a higher level language. so say you do something in C, you could probably do it in less amount of code in C++
BeyondTaking 6 months ago
The difference between C and C++ is that C is a procedural language while C++ is object oriented and, thus, much harder to learn because it has classes (C++ was first called "C with classes"), inheritance and polymorphism along with the stuff C has.
LightningHexagon 6 months ago
this whole tutorial series is in C or does it include C++ at some point?
DroopyDog17 6 months ago
isn't that suppos to be void main(); ?
4471548nwn 6 months ago
now mine says syntax error before "getch"
PLEASE HELP :(
DwagonnnHHAndccde 6 months ago
@DwagonnnHHAndccde think it's gonna be getchar instead of getch.
run the Cprogramming text tutorial on the side, that can clear up some things.
Newbie to newbie
Skumpaj 6 months ago
can u please send me the link for downloading c. thanks.
xsxgotenxsx 6 months ago
WHAT AM I DOING WRONG??? I DID IT JST LIKE HE DID IT SELECTED COMPILE AND RUN IT WONT EXECUTE.
dsuaga99 6 months ago 6
@dsuaga99 what compiler are you using?
bondservant4Him 6 months ago
@bondservant4Him the same1 in the video "Dev C++"
dsuaga99 6 months ago
This has been flagged as spam show
@dsuaga99 PM me your code you might have something wrong
bondservant4Him 6 months ago
@dsuaga99 I found out that after #include stdio.h, start a new line and add #include conio.h (found out by next video!.
CrushingMist 6 months ago
@CrushingMist cool...whats that for??? what does that tell the computer 2 do exactly??? "#include conio.o"
dsuaga99 6 months ago
@dsuaga99 I actually do not remember, but if you watch part two, you'll learn by reading comments.
CrushingMist 6 months ago
@dsuaga99 mine did that too. You need to add : return 0; under the getch();
DwagonnnHHAndccde 6 months ago
@dsuaga99 maby rename ''Untitled1'' with random name ?!?! ;P
shadowsimbiote2 5 months ago
@dsuaga99 you have to put getchar() instead of getch() like he did.
the char is a function that is one of the many function similar to printf as he describes in header location
stdio.h. stdio standing for "standard input/ output" .
pretty good tut.
DICKCHINHARY 4 months ago 20
@DICKCHINHARY ty
ViiBeClanPs3 2 months ago
@DICKCHINHARY Or just include conio.h
Gavenatore 1 month ago
@DICKCHINHARY I've just learned from another resource to put: return = 0 instead of get char()... What is the difference between these two
miheerc 1 month ago
@miheerc return isnt "necessary" in main(though good to include as a standard practice) however when run in windows as a .exe file, if you dont end with something that prompts for user input it will close the program when it reaches that return statement. So in practice a scanf(), or any other user input function, is placed to keep the program from ending itself before the user can read the lines printed.
MatonkGames 1 month ago
If anyone needs help with there homework PM me ill even do it for you if you want lol
bondservant4Him 6 months ago
I love this language, I just wish that you could make graphical videogames with it instead of using shitty c++ which seems so much harder to learn.
.....Anyone know if there is a way to make games using C? If so, can you help a young game developer find some C game dev tutorials? :D
Tacomaster21 6 months ago
hey i had a problem when i run it it says that 'getch' undeclared (first use this function). can u help me
payasongbaliw 7 months ago
@payasongbaliw #include conio.h
bondservant4Him 6 months ago
Is it ok to use Microsoft Visaul studio express as a compiler?
idiotrun1997 7 months ago
Comment removed
Ormaaj 7 months ago
in printf, the f stands for formatted.
JIIIAIIIIMIIIIEIIIS 7 months ago in playlist C Programming Tutorials
does anyone know a better compiler to use? I'm completely new to programming so i have no idea where to look but i would assume the one suggested in the video is out of date, correct?
metadaptation 7 months ago
hey, do u have any c programming exercise for beginner??
darkalvin88 7 months ago
When I Click Compile and run...The output wasnt shown, it just blinked a box and thats it??? How do I See my output??:D!??
urolz20 7 months ago
@urolz20 put getchar(); at the end of your code
bondservant4Him 7 months ago
ow.. I miss C.. ><
yu3lora 7 months ago
excellent job welldone and thank u very much
ietianhawk2 7 months ago
xcode is a cross platform language compiler correct? so i can do these on my mac?
rockinsurfkid 7 months ago
Its funny that your better then my professors...
seldian 7 months ago
Thank you so much. You are the best guy. Yes you need to type getchar not getch. When I type getch it report error. Thank you soo much.
WinXPproff 7 months ago
THX you really help me and on the python tutorials!
MrBumfluffers 7 months ago
why is that "Hello World?"..!! \
netskerful 8 months ago
@DazSparr i hope someone makes tutorials about Turbo C. it might help me a lot in my subject.
libsingburg 8 months ago
@libsingburg I thought Turbo C and C are the same?
leoqaz003 8 months ago
@leoqaz003 no they aren't. i tried using the same commands that Mr. thenewboston is using in Turbo C but it doesn't work
libsingburg 8 months ago
@libsingburg really i thought Turbo C is just a program. Then what programming language is Turbo C? Im confused because There is also TUrbo C++. I think Its just a Compiler but the language is the same
leoqaz003 8 months ago
@leoqaz003 what i'm using is Turbo C++, well, atleast i know how to use it a bit right now. but thanks anyway. :)
libsingburg 8 months ago
do you still include #include conio.h?
libsingburg 8 months ago
@libsingburg yh i had to use that to get it to work
davidenelson 8 months ago
@thenewboston printf stands for print formatted
MrGTmedia 8 months ago
What advantages does C have? And what disadvantages? If you compare them to eachother? (C and C++)
Arbeta10000 8 months ago
Ahhh 0:40
"On the right side of the screen".
I miss old youtube.
RememberNobleReach 8 months ago
If it's not working, then change it to getchar();
sharingangv 8 months ago
@sharingangv
it ran... but it didn't close like he showed in the video...
I was able to type some more.
rx3gundam 8 months ago
If it's not working, then change it to getchar();
sharingangv 8 months ago
Great tutorial for beginners man ;). but, when I compile and run, It flashes the compile window and it doesn't run ANYTHING T-T, the black box doesn't even appear...
iLuvHinata360 8 months ago
@iLuvHinata360 put getchar();
bondservant4Him 8 months ago