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

Link to this comment:

Share to:

All Comments (281)

Sign In or Sign Up now to post a comment!
  • As i was watcing the video,i felt myself into the class and after 3-5 minute i thought how i terminate the lesson hihihi /:3

  • after 0:44 voice is changing the size

  • Thanks man!needed that,those are so important!

    the books are so friggin fast!

  • Is there a better compiler than this one?

  • @Jigamuffin for windows I would suggest Pelles C it uses LCC and is strictly for windows

  • learned! next please!

  • "Let me tighten the this up, that's what he said, and let's go ahead and..."

  • thanks for your help... greetings from Mauritius

  • C? WHAAAAAA.... oh shitson, I am supposed to be learning c++.

  • @Freelancerk1bbles You should first learn the original c lang

  • what compiler is that?

  • @zeusarvin The compiler is Dev C++

    Made by Bloodshed studios, it is free :D Enjoy

  • @MisterRuneex thanks brother :)

  • @zeusarvin its GCC the IDE is dev-C++ and it is outdated old I suggest a different one

  • My computer keeps saying An access violation segmentation fault has occured in your program.

    HELP!!!!

  • @minemaninventer message me your code ill take a look

  • HE said "Thats what HE said." twice XD

  • Comment removed

  • What kind of programming should i read if i want to work with this kind of job

  • else if? esle? hmm

  • nevermind! I found it!

  • damn I feel like a retard... I followed your code and when I type the same numbers all is well as wexpected. wehen I type different numbres to check the equality for numbers 5 and 6 it says "2686788 is less thant 2686784".Anybody has a clue?

  • @Alexandros5th you probably messed up with the pretheses and need to change them from this if (

    )

    to {

    {

    and that should do it

  • @ryan005689 I would recommend learning python or java first. C is a low-level language that doesn't have the complete capabilities of other languages. Plus it is similar to java. I would recommend learning the easier languages then coming to C then to C++ then to C#.

  • before I watch this video I just wanted to ask you if there would be a book you recommend for absolute beginners with no programming experience with any language. I would like to learn C first as from what I read if I can learn C other languages should be a breeze, not sure if thats true but tis what i read. I tried to google but i got so many different recommendations that I couldn't narrow them down to just one book please advise thanks.

    and now to your video

  • @ryan005869 I can recommend The C Programming language by Bria W.Kernighan

    and Dennis M.Ritchie.

  • "Let me tighten this up a bit" - "thats what he said" xDDDD

  • Wow, this guy is just plain awesome for C programming.

  • My book is not shit, but combining this and mt book = very niiiice.

  • Hey, i'm sorry maybe i didn't pay attention but when do i know when to use "&num1" and when to use just "num1"

  • Just a helpful tip: Instead of having to write "getch();" at the end of your programs to keep the window open after you run them, download the C++ compiler called "Code::Blocks" and it will keep the command line window open automatically after running the program. Bucky uses it in the C++ tutorial vids.

  • I am trying to do this:

    if (num1 < num2) { printf("The two numbers you have entered are equal\nThe differences of the numbers is %d", difference1); }

    however, when i run, and enter the corresponding numbers, it gives me something crazy: 1606455384

    what is going on here?

  • @ZacharyDQuint Whoops! Somehow I fixed. Love the tutorials!

  • which program to use to write c code?

  • @TheDarkEternity if you have windows use peles C

  • @TheDarkEternity you can use visual c++ express edition

  • Hello all, I am using a gnu compiler with notepad++ I am getting an Error which states " warning too many arguments for format

    and " control reaches end of non void function"

    Any suggestions would be great. Cheers!

  • Hey Bucky,

    I'm trying to follow along with your tutorials on my Mac using Xcode, and I am having a difficult time with some of the syntax working. (Ex. getch(); & %d%d)

    Do you have an idea of what is going wrong or do you have a better suggestion to use on a editor/Compiler for Mac?

  • @jdoubled92 getchar(); insted and "quote" da %d dingy

  • thanks

  • which compiler your using?

  • @JITENDRASHAHARE  Dev-C++4.9.9.2

  • is it possible to have if else statement using char data type?

  • you could use else in place of if(num1 < num2) but it's the same thing

  • I LOVE YOU. MY BOOK IS SHT. YOU ARE ME HERO

  • hello,

     can't understand why you are using the . you don't need it

  • hello,

  • @thenewboston : you're awesome. seriously, i had no prior knowledge of C but now i feel like Einstein :D

  • try adding extra lines of if, then coding for extra practice. use material learned from previous tutorials and apply it to this one. i came up with this line... if (num1 != num2){ printf("\n%d DOES NOT EQUAL %d", num1, num2);

    }

  • OMFGG! I LOVE YOU !!! I LOVE YOU !!! I LOVE YOU !!! I LOVE YOU !!! I LOVE YOU !!! I LOVE YOU !!! I LOVE YOU !!! I LOVE YOU !!! I LOVE YOU !!! I AM SOOOOOOOOOOOO GONNA DESTROY My FINAL tomorrow. You just made me realize...C programming isn't hard, it's JUST because i have a shitty professor with an accent and a text book whose authors can't write in proper english.

  • I modified it. It's pretty fine program for me... If someone want the source code, reply me..

  • it is really best thank you

  • I wish the that what (s)he said joke could work in french

  • Best tutorials seen on youtube. Excellent and thanks! :)

  • when i write getchar once it closes before showing the answer but when i write it twice the program goes fine. WHY ? xD

  • Could someone help me figure out this problem?

    I type in the code just as shown here in this video, hit compile&run - but once it runs, when I enter the first number the program stops working. I get a windows error message and have to close the program... ...(and it is saved as a .c document)

  • @auburnii I had the same problem when I was programming a simple calculator. In my case I had forgotten to put the '&' before num1 in scanf("%d", &num1). Try checking that out.

  • thanks dude,best tutorial ever

  • retained more in 3 hours than i did with my terrible C teacher last semester. Im retaking this class and you are gonna get me through it, because my professor sure as hell won't. lol

  • Thanks man, great tutorial!!

  • ahhah@ 3:05

  • thank u sir

    

  • did you just say thats what HE said?

    /:3

  • @OppositionDept yes, yes he did

  • @TYTY21010 aha

  • @OppositionDept that's what he said :D

  • I PREFER WHEN U GUYS LEARN C FROM HIM YOU MUST CONTINUE WITH C++

    TUTORIALS  BY NEWBOSTON

    ,THIS GUY TEACHES IN A VERY GOOD AND EASY WAY..........

  • @ismaildragonkiller I prefer not being told what to do

  • I PREFER WHEN U GUYS LEARN C FROM HIM YOU MUST CONTINUE WITH C++

    TUTORIALS BY NEWBOSTON

    ,THIS GUY TEACHES IN A VERY GOOD AND EASY WAY..........

  • did any1 else hear him say thats what she said

  • hi, cool videos check out mine!

  • great 

  • Thanks!

  • Windows? 

  • I have a problem. When I press F9 (Compile and Run) the compiling window shows up then it doesn't run. PLZ I NEED HELP!!!! PLZ REPLY!!!!!!!!!

  • @Decepticons211 do you have system("pause"); at the end?

  • @bondservant4Him yes i do 

  • 1:09

    I see what you did their.

  • @rx3gundam Do you have the getch(); code at the bottom? This is the piece of code that prevents the program from closing until the user gives input. If you have this and it still does not work, I heard that getchar(); should work too.

  • Mine keeps closing when I'm suposed to geth the "they are equal" sign. Sam thing happened with tut 2. When I was supposed to get the sum... it closes... help

  • You make it sound so easy! And you make it sound easy for me too! Thanks!!! Really great help!

    

  • i put in "f" and it said:

    "2 is less than 62"

    Why?

  • @Msz9Music what is "f"?

  • @bondservant4Him

    the English letter F.

    Need more direction on the letter f?

  • @Msz9Music ok well why did you use f?

  • How do i create a UI for this program, meaning how do I run it as a program itself instead of running in terminal or command prompt.

  • How do i do a statement that says (num1 does not equal num2) { printf("they are not equal");

    what do i put where it says "does not equal"

  • Mine keeps saying the line with scanf("%d%d", &num1, &num2); is wrong what is wrong?

  • @WTVBqdemon send me ur code in a pm

  • Let's spice this up a little, "that's what she said."

  • Thanks for the tutorials. Believe me or not, the onea u covered from C. From tutorial 1 to now is equivalent to a month of class in the ph lol

  • I like this a lot because you have explanations for everything.

  • Comment removed

  • Comment removed

  • errors : [Linker error] undefined reference to `WinMain@16' , ld returned 1 exit status

  • im running xcode on mac os x, its almost the same except the "getch()" , it doesn't make any difference, whatever I type that " getch();" or not, it doesn't bring quit the program when I hit any key in the end. is it becoz im running a different compiler or something.

    thanks again for such amazing video tutorial.

  • u got great skill in teaching..keep it up..

  • you r the best of best god bless u

  • your description is good :)

  • Why is it that teachers are never that good at explaining things? It's so obvious after watching this.

  • i need help. i followed the steps correctly, but instead of #s, i did locations. I chose 3 locations, but when i type in one location's name, it instead shows the results to all locations.

  • @mrgregmccullough post your code i can help but i am confused on what you are trying to explain

  • YOU are wayyyy better than my lecturers at the University of Technology in Jamaica

  • Hi there. Fantastic videos! I'm finally starting to learn here, so thank you. I was just wondering though, what IDE or editor are you using?

  • THANK YOU SO MUCH!!!, you explain it way better than my teacher

  • hmm why did you used int main (void)???y void ???

  • @mitris1101 it is optional it works with void or you can leav it out

  • The only thing i cant understand is what %d stands for?

    Someone help me?

  • what's the difference between creating a hundred of "if" and creating "if / else if" in the code? When is "else if" needly?

  • hey can ne1 tell me where i can find dis on his website(thenewboston)?i want to try all this programs in my compiler but i cant find it copy pasted newhere on his website..only videoson his website,no written programs which i can copy paste..!!!

  • Wouldnt it be easier to use an if else statement?

  • i hate my strained nerves in my arm...

    its stopping me from getting serius with this

  • It would be a less hassle if you simply do it like this " int num1, num2; " . . but great tutorial..

  • much better than my professor at NUST

  • when i see the decimal symbol in your code i tried to try another way how can i make a if statement easier and unfortunately i discover the way and now i use it to my programming study.. but you have a nice idea.. Thanks to you men.. by the way i am a begginer IT and i want to learn more about programming.. :) Godbless..

  • Hey kid.. i know you give a complicated if statement in your tutorial but you know your good eh.. :)

  • @tdaness Put everything in a while statement.

  • How do I loop back to "Enter Two Numbers" after?

  • @tdaness put the whole if statement "while(0) { HERE }"

  • @tdaness use a while loop and declare a counter

  • @tdaness use something like goto;

  • Comment removed

  • mmm, my dev compiler does not want to run the program.

  • erm dw somehow it was linking to another file

    

  • wat the fuck can u help plees when i tipe in that stuff the black box just says 100 then quits

    ?

  • @psychojayuk

    did you add getch(); before the last } ?

  • @psychojayuk another thing might be your failed typing, its not a black box, its your program

  • its gives me error.

  • Hi, Am a college student and my friends and I are doing C programming for our School Based Assignment(S.B.A) and you make C programming easy to learn; so am wondering if you have/can make it available for me to download your videos and share with my friends so they can also learn C programming faster in order to do our S.B.A.

    Keep up the goood work :)

    Thank you.

  • Thanks so much! :")

  • thanks a lot :)

    but that 5 aaaaand 76 was too funny :D:D:D:D

  • great work man

  • sorry i got wooping cough

  • YOU ARE THE MAN !!

  • what is that compiler he is using? for some reason when i type in the same code it says that my syntax is incorrect...

  • He is better than my professors at cal tech!

  • Great tutorials!

  • he sneezes or coughs in like every video

  • Good tutorial but to learn in-depth I recommend cs50.net. Theses courses are from Harvard university.

    Cs50.net

  • @Jugdesi Harvard is for noobs

  • sexy code! easiest way to understand IF statements for starters!

  • Can u do if statments for words?? Like:

    int word;

    if(word == HEEY){

    }

  • The best way to learn is to type the code in rather than copy and paste.

    Jp

  • 1:10 what, are you in 7th grade?

  • thanku so much u help me out in understanding so easily..

  • thanku so much u hele me out in understanding so easily..

  • why is it not working when u run it?

  • @TheJedideah You have to compile it and then go to the place where it`s saved like a .exe file and you must run it from that place.

  • you're a lot more BETTER than my programming professor! <3

  • how come it never shows they are equal it just closes out

  • thanks man! u r better than my prof here in de la salle university at Manila, philippines

  • @khraiser Benta this is so true

  • @khraiser so true! My high school teacher sucks at C!

  • school is not a learning ground anymore. It's more like survivor philippines haha. Professors make it hard to understand, to put up an intimidating front and pretense high standard.

  • @khraiser Sino prof mo? Hahahahaha!

  • i want to post a program here.. whats wrong??

  • i lol'd hard at 0:43 - two eco ec eco bu blo bla bla

  • Kewl, this will help me take over the world. printf (); Im out

  • . .this tutorial helps me a lot. .thnks. . u so much. . .

  • Thank you so much .

  • Thank you you are great teacher :).

  • This is C# tutorial right??

    or is C something different that C#?

  • @rudyeilabouni C# uses the .net framework. C# IS NOT same as C

    C is better then C# but C# is easier imo..

  • @David20931 oh ok, thanks

    btw they are very similar like the If statement which I learned from here....

  • @rudyeilabouni C#, like C++ are both from C. C# sharp doesn't use pointers nor multiple inheritance( which is why i don't like it! ).