Added: 3 years ago
From: thenewboston
Views: 329,982
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (643)

Sign In or Sign Up now to post a comment!
  • Pls, how can i find a list of all your "c programming tutorials"...Thanks...vmars316

  • @vmars316 just go into his youtube profile...

  • hello

  • nvm downloaded wrong thing, but now it wont show up like i hit run and it pops up then goes away

  • aw can someone help me when I try to compile it says file cannot be found or something and idk whats wrong

  • 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 used codeblocks and everything worked fine))

  • UBC!!

  • I love you! thank you so much!

  • 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."

  • Is this C or C++ ? I'm asking because he is using Dev C++ ???

  • @Hoihoijooah it is C, Dev-C++ uses GCC compiler which is compatible with C

  • @Hoihoijooah

    Dev C++ has both complier for c and c++, he is programming in c though

  • C is better than C++ thumbs if agree

  • Does these work for Quincy?

  • 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.

  • 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 ^^

  • 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 ?

  • Guys is this C or C++?

  • @thaappaya it is C

  • 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.

  • R.I.P Dennis Ritchie

  • 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 google

  • I have a question. Why does even when I compile & run it I get "Source file not compiled." Without the quotes.

  • my book says that i have to write void main(void) and then printf ... its that right ?

  • @DanyLance13 as i remember if you write void it's because you're going to do text.

  • Comment removed

  • printf stands for "print formatted"

  • Can You Write Emulators??

  • Don't you mean what the F?

    printF

  • instead of getch, can't you do something like pause?

  • going to learn this next semester so im learning it now

    heard C++ is alot harder lol

  • @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).

  • You don't need to int. main() right what is the diff. ?? THX

  • 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

  • @jakeryollean I don't have my degree yet, but I'm just curious to see the basics again

  • I saw a ggogle site named: ikastenc. There are interesting programms there...

    

  • @1996Johne you must've accidentally hit the "insert" key

  • @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

  • 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...

  • 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 what did you do wrong??

  • @123jgbc Because it's never the learner's fault.

  • Your program doesn't work.

  • I got 7 errors trying "hello word". fail.

  • thank you my savior , I passed my programming !!!

  • Mine says, "Source file not compiled," but I clicked Compile & Run.

  • bucky in your mind whats better for making games in? C, C#, or C++?

  • @tdude179 i would say c++ imo but i hardly know sh*t about coding >.>

  • the f in printf or scanf stands for Format

  • Uh, doesn't your compiler have a hotkey to insert compiler directives??????

  • Good video thank you.

  • Comment removed

  • sorry i dont want that

  • i want output:

    india india india india

    upto n lines  plz help me mail me at saurabh945644@gmail.com

  • hm you sneezed? cheers !

  • my special thank for providing such nice totorial for the fresser like me.....

  • "Aw that's super neat!!"

  • @cyanz27 you'd better not be saying that sarcastically you mudda fucka you

  • i used this to get me started programming the bisection and newton's method in C++, Danke

  • why so easy to teach dougie and hard to teach and learn prgramming -.-"

  • thanks 

  • I got the getch() error like a lot of people.

    I managed to resolve it by putting getchar() instead.

  • @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

  • GRACIAS.

  • So whats the difference between C and C++ ?

  • @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 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...

  • 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.

  • 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

  • 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 use getch(); also include conio.h or you can use system("pause");

  • thanks a lot :)

  • help me,it said "getch();" is wrong and it didnt display that black-box. It dissapeared after I press ''compile and run''

  • @manhthieugia95 make sure to include conio.h

  • Comment removed

  • Nice video!

  • this is an awesome video

  • thanks man, you should teach that at a university. They really need you there ;)

  • 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 im learning assembly this semester, what do you mean by its a rare gem?

  • @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 :)

  • Finally your the first one who actually explains this! Yes thank you!

  • Dick Davidson is the man ;)

  • alright so I got the printf line to go without any bugs. Now the getch line is bugged -.-

  • @WorldOfCreators include conio.h

  • @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 he said include conio.h !!! idiot

  • @Swippz I did that, and it was quite obviously specified in the reply where I said "I did that".. 'idioit'

  • @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.

  • @WorldOfCreators You cant call java a programming language..Its just a simple language as Basic.NET..Newfag!

  • @WorldOfCreators HAHAHAHAHA xD

  • @WorldOfCreators Pm Me your code

  • 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.

  • 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...

  • This looks so similar to Java... O.o

  • @LycosaLatteeee Not really, C doesn't have classes.

  • visit my channel for the video please... i just made this account so

  • 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 

  • 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 Try getchar

  • 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...

  • Please teach more c !!!!

    I need it to program avr microcontrollers for my high school robotics team!!!!

  • my first day of C programming class, professor started talking about pointer and i was like wth is that?

  • @vibol03 its most complicated part of C

  • Loved It :) thanks

    but I can't see where you click on compile and run

  • Comment removed

  • If only my CS teacher was this good

  • this video is awesome!!!!!!!!!!1

  • @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?

  • Comment removed

  • What's the difference between "int main()" and "int main(void)" ??????

    need help

  • @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...

  • Is ti better to learn C or C++?

  • c and c++ have the same compiler?

  • @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.

  • this whole tutorial series is in C or does it include C++ at some point?

  • isn't that suppos to be void main(); ?

  • now mine says syntax error before "getch"

    PLEASE HELP :(

  • @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

  • can u please send me the link for downloading c. thanks.

  • WHAT AM I DOING WRONG??? I DID IT JST LIKE HE DID IT SELECTED COMPILE AND RUN IT WONT EXECUTE.

  • @dsuaga99 what compiler are you using?

  • @bondservant4Him the same1 in the video "Dev C++"

  • @dsuaga99 I found out that after #include stdio.h, start a new line and add #include conio.h (found out by next video!.

  • @CrushingMist cool...whats that for??? what does that tell the computer 2 do exactly??? "#include conio.o"

  • @dsuaga99 I actually do not remember, but if you watch part two, you'll learn by reading comments.

  • @dsuaga99 mine did that too. You need to add : return 0; under the getch();

  • @dsuaga99 maby rename ''Untitled1'' with random name ?!?! ;P

  • @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 Or just include conio.h

  • @DICKCHINHARY I've just learned from another resource to put: return = 0 instead of get char()... What is the difference between these two 

  • @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.

  • If anyone needs help with there homework PM me ill even do it for you if you want lol

  • 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

  • hey i had a problem when i run it it says that 'getch' undeclared (first use this function). can u help me

  • @payasongbaliw #include conio.h

  • Is it ok to use Microsoft Visaul studio express as a compiler?

  • Comment removed

  • in printf, the f stands for formatted.

  • 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?

  • hey, do u have any c programming exercise for beginner??

  • 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 put getchar(); at the end of your code

  • ow.. I miss C.. ><

  • excellent job welldone and thank u very much

  • xcode is a cross platform language compiler correct? so i can do these on my mac?

  • Its funny that your better then my professors...

  • 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.

  • THX you really help me and on the python tutorials!

  • why is that "Hello World?"..!! \

  • @DazSparr i hope someone makes tutorials about Turbo C. it might help me a lot in my subject.

  • @libsingburg I thought Turbo C and C are the same?

  • @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 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 what i'm using is Turbo C++, well, atleast i know how to use it a bit right now. but thanks anyway. :)

  • do you still include #include conio.h?

  • @libsingburg yh i had to use that to get it to work

  • @thenewboston printf stands for print formatted

  • What advantages does C have? And what disadvantages? If you compare them to eachother? (C and C++)

  • Ahhh 0:40

    "On the right side of the screen".

    I miss old youtube.

  • If it's not working, then change it to getchar();

  • @sharingangv

    it ran... but it didn't close like he showed in the video...

    I was able to type some more.

  • If it's not working, then change it to getchar();

  • 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 put getchar();