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?
@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.
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'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?
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 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.
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
@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
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.
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.
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..!!!
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..
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.
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.
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
CharM4x 6 days ago
after 0:44 voice is changing the size
CharM4x 6 days ago
Thanks man!needed that,those are so important!
the books are so friggin fast!
JJStuffEngineering 1 week ago
Is there a better compiler than this one?
Jigamuffin 1 month ago in playlist C Programming Tutorials
@Jigamuffin for windows I would suggest Pelles C it uses LCC and is strictly for windows
bondservant4Him 1 month ago
learned! next please!
SuperRealhigh 1 month ago
"Let me tighten the this up, that's what he said, and let's go ahead and..."
asillynoob 1 month ago
thanks for your help... greetings from Mauritius
MrSantiaz 1 month ago
C? WHAAAAAA.... oh shitson, I am supposed to be learning c++.
Freelancerk1bbles 1 month ago
@Freelancerk1bbles You should first learn the original c lang
Gavenatore 1 month ago
what compiler is that?
zeusarvin 1 month ago
@zeusarvin The compiler is Dev C++
Made by Bloodshed studios, it is free :D Enjoy
MisterRuneex 1 month ago
@MisterRuneex thanks brother :)
zeusarvin 1 month ago
@zeusarvin its GCC the IDE is dev-C++ and it is outdated old I suggest a different one
bondservant4Him 1 month ago
My computer keeps saying An access violation segmentation fault has occured in your program.
HELP!!!!
minemaninventer 1 month ago in playlist c programming
@minemaninventer message me your code ill take a look
bondservant4Him 1 month ago
HE said "Thats what HE said." twice XD
TYTY21010 1 month ago
This has been flagged as spam show
Hey guys. Check out this funny program i made using the if statements explained in the video. its pretty basic but fun :D
htt p://ww w.filed en.com/files/2012/1/9/3248998//JustForFun.rar
Ausamnco 2 months ago
Comment removed
Ausamnco 2 months ago
What kind of programming should i read if i want to work with this kind of job
Fullmetalb0x 2 months ago
else if? esle? hmm
Shockszzbyyous 2 months ago in playlist More videos from thenewboston
nevermind! I found it!
Alexandros5th 3 months ago
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 3 months ago
@Alexandros5th you probably messed up with the pretheses and need to change them from this if (
)
to {
{
and that should do it
MaxOp1234 2 months ago
@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#.
tspideyboy 3 months ago
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 3 months ago
@ryan005869 I can recommend The C Programming language by Bria W.Kernighan
and Dennis M.Ritchie.
Shockszzbyyous 2 months ago in playlist More videos from thenewboston
"Let me tighten this up a bit" - "thats what he said" xDDDD
Weini123 3 months ago
Wow, this guy is just plain awesome for C programming.
Darkteammadfiz 3 months ago in playlist C Programming Tutorials
My book is not shit, but combining this and mt book = very niiiice.
Orrel3oy 4 months ago
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"
0Raidenz0 4 months ago
This has been flagged as spam show
thats what he said
cucu269 4 months ago
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.
AJFreeway 4 months ago
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 4 months ago
@ZacharyDQuint Whoops! Somehow I fixed. Love the tutorials!
ZacharyDQuint 4 months ago
which program to use to write c code?
TheDarkEternity 4 months ago
@TheDarkEternity if you have windows use peles C
bondservant4Him 4 months ago
@TheDarkEternity you can use visual c++ express edition
softpctips 4 months ago
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!
Surfmydaysaway 4 months ago
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 4 months ago
@jdoubled92 getchar(); insted and "quote" da %d dingy
rahul2smartdubai 4 months ago
thanks
manhthieugia95 5 months ago
which compiler your using?
JITENDRASHAHARE 5 months ago
@JITENDRASHAHARE Dev-C++4.9.9.2
animeseller89 5 months ago
is it possible to have if else statement using char data type?
12iMposibLe12 5 months ago
@12iMposibLe12 yes
bondservant4Him 5 months ago
you could use else in place of if(num1 < num2) but it's the same thing
xXIntelXxHWMania 5 months ago
I LOVE YOU. MY BOOK IS SHT. YOU ARE ME HERO
MustayhumSama 5 months ago 37
This has been flagged as spam show
hello, can't understand why you are using the conio.h. you don't need it
revido 6 months ago in playlist C Programming Tutorials
hello,
can't understand why you are using the . you don't need it
revido 6 months ago in playlist C Programming Tutorials
hello,
revido 6 months ago in playlist C Programming Tutorials
@thenewboston : you're awesome. seriously, i had no prior knowledge of C but now i feel like Einstein :D
raunakbiswas19 6 months ago 4
Comment removed
VaginosaurusRex 6 months ago
Comment removed
VaginosaurusRex 6 months ago
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);
}
VaginosaurusRex 6 months ago
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.
darklorddragonslaye1 6 months ago 2
I modified it. It's pretty fine program for me... If someone want the source code, reply me..
ints115 6 months ago
it is really best thank you
Turalmelikli 6 months ago
I wish the that what (s)he said joke could work in french
trntl512 6 months ago
Best tutorials seen on youtube. Excellent and thanks! :)
orfmor 7 months ago
when i write getchar once it closes before showing the answer but when i write it twice the program goes fine. WHY ? xD
DreadNawght 7 months ago
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 7 months ago
@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.
moraleidahgo 7 months ago
thanks dude,best tutorial ever
8tkshahul 7 months ago
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
SneakerRevival 7 months ago
Thanks man, great tutorial!!
ratnagirimandava 7 months ago
ahhah@ 3:05
jwren1996 7 months ago 2
thank u sir
jack9902300 7 months ago
did you just say thats what HE said?
/:3
OppositionDept 7 months ago 47
@OppositionDept yes, yes he did
TYTY21010 1 month ago
@TYTY21010 aha
OppositionDept 1 month ago
@OppositionDept that's what he said :D
spasovski11 1 month ago in playlist C Programming Tutorials
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 8 months ago
@ismaildragonkiller I prefer not being told what to do
OppositionDept 1 month ago
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 8 months ago
did any1 else hear him say thats what she said
creese54 8 months ago
hi, cool videos check out mine!
EricChris8 8 months ago
great
DanielDene 8 months ago
Thanks!
WinXPproff 8 months ago
Windows?
MacOSeX10 8 months ago
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 8 months ago
@Decepticons211 do you have system("pause"); at the end?
bondservant4Him 8 months ago
@bondservant4Him yes i do
Decepticons211 8 months ago
1:09
I see what you did their.
XxarekushisuxX 8 months ago
@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.
jordanblake7 8 months ago
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
rx3gundam 8 months ago
You make it sound so easy! And you make it sound easy for me too! Thanks!!! Really great help!
ArjayMCTV 8 months ago
i put in "f" and it said:
"2 is less than 62"
Why?
Msz9Music 9 months ago
@Msz9Music what is "f"?
bondservant4Him 8 months ago
@bondservant4Him
the English letter F.
Need more direction on the letter f?
Msz9Music 8 months ago
@Msz9Music ok well why did you use f?
bondservant4Him 8 months ago
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.
WTVBqdemon 9 months ago
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"
WTVBqdemon 9 months ago
Mine keeps saying the line with scanf("%d%d", &num1, &num2); is wrong what is wrong?
WTVBqdemon 9 months ago
@WTVBqdemon send me ur code in a pm
bondservant4Him 9 months ago
Let's spice this up a little, "that's what she said."
TheChatbug 9 months ago
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
bstosnbata 9 months ago
I like this a lot because you have explanations for everything.
hamham1313 9 months ago
This has been flagged as spam show
If for num1, i type in a large number (eg 3333333333 [that is ten 3's]), and for num2 i type in a smaller number (eg 1111) I get
-961633963 is less than 1111
But if the numbers were smaller like num1=1, num2 = 3, the program works as expected.
What went wrong?
djfoo000 9 months ago
Comment removed
djfoo000 9 months ago
Comment removed
djfoo000 9 months ago
errors : [Linker error] undefined reference to `WinMain@16' , ld returned 1 exit status
as858duty919 9 months ago
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.
malady11 10 months ago
u got great skill in teaching..keep it up..
Hunterhunt29 10 months ago
you r the best of best god bless u
devesh16737 10 months ago
your description is good :)
Rikimaru168 10 months ago
Why is it that teachers are never that good at explaining things? It's so obvious after watching this.
sjmortepop 10 months ago
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 10 months ago
@mrgregmccullough post your code i can help but i am confused on what you are trying to explain
bondservant4Him 10 months ago
YOU are wayyyy better than my lecturers at the University of Technology in Jamaica
Alielitevidz 10 months ago
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?
rotosound100 10 months ago
THANK YOU SO MUCH!!!, you explain it way better than my teacher
clauie825 10 months ago
hmm why did you used int main (void)???y void ???
mitris1101 11 months ago
@mitris1101 it is optional it works with void or you can leav it out
bondservant4Him 10 months ago
The only thing i cant understand is what %d stands for?
Someone help me?
strangegeorge2 11 months ago
what's the difference between creating a hundred of "if" and creating "if / else if" in the code? When is "else if" needly?
BetoWater 11 months ago
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..!!!
hotvampire1992 11 months ago
Wouldnt it be easier to use an if else statement?
Demonicshark 1 year ago
i hate my strained nerves in my arm...
its stopping me from getting serius with this
mokaey 1 year ago
It would be a less hassle if you simply do it like this " int num1, num2; " . . but great tutorial..
MrKyte12 1 year ago
much better than my professor at NUST
haris5353 1 year ago
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..
Kerth007 1 year ago
Hey kid.. i know you give a complicated if statement in your tutorial but you know your good eh.. :)
Kerth007 1 year ago
This has been flagged as spam show
@tdaness The code that you want to loop, that is.
ian9730 1 year ago
@tdaness Put everything in a while statement.
ian9730 1 year ago
How do I loop back to "Enter Two Numbers" after?
tdaness 1 year ago 21
@tdaness put the whole if statement "while(0) { HERE }"
Mrtassan 10 months ago
@tdaness use a while loop and declare a counter
klingy100 8 months ago
@tdaness use something like goto;
mastermax7777 7 months ago
Comment removed
IxXbladeXxI 1 year ago
mmm, my dev compiler does not want to run the program.
PivotBeguiner 1 year ago
This has been flagged as spam show
@PivotBeguiner Add me on msn smokeydockey@hotmail.com
MisterJ4512 1 year ago
erm dw somehow it was linking to another file
psychojayuk 1 year ago
wat the fuck can u help plees when i tipe in that stuff the black box just says 100 then quits
?
psychojayuk 1 year ago
@psychojayuk
did you add getch(); before the last } ?
tomek123kotek 1 year ago
@psychojayuk another thing might be your failed typing, its not a black box, its your program
tomek123kotek 1 year ago
its gives me error.
SuperMaurad 1 year ago
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.
DCWorld0101 1 year ago
Thanks so much! :")
TheChickenpox 1 year ago
thanks a lot :)
but that 5 aaaaand 76 was too funny :D:D:D:D
stacheldino91 1 year ago
great work man
akshaycreative 1 year ago
sorry i got wooping cough
poopiedogonion 1 year ago
YOU ARE THE MAN !!
finitobunito 1 year ago
what is that compiler he is using? for some reason when i type in the same code it says that my syntax is incorrect...
vman456 1 year ago
He is better than my professors at cal tech!
crazyidiot101 1 year ago
Great tutorials!
sorteal 1 year ago
he sneezes or coughs in like every video
NJRman1 1 year ago
Good tutorial but to learn in-depth I recommend cs50.net. Theses courses are from Harvard university.
Cs50.net
Jugdesi 1 year ago
@Jugdesi Harvard is for noobs
Jesteria78 1 year ago
sexy code! easiest way to understand IF statements for starters!
rockdaddy123185 1 year ago
Can u do if statments for words?? Like:
int word;
if(word == HEEY){
}
TexasRable 1 year ago
The best way to learn is to type the code in rather than copy and paste.
Jp
johnpro2 1 year ago
1:10 what, are you in 7th grade?
simsimsalabim20 1 year ago
thanku so much u help me out in understanding so easily..
1990sweethoney 1 year ago
thanku so much u hele me out in understanding so easily..
1990sweethoney 1 year ago
why is it not working when u run it?
TheJedideah 1 year ago
@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.
LukaDiblosT 1 year ago
you're a lot more BETTER than my programming professor! <3
TheJedideah 1 year ago
how come it never shows they are equal it just closes out
INTELxGHOST 1 year ago
thanks man! u r better than my prof here in de la salle university at Manila, philippines
khraiser 1 year ago 29
@khraiser Benta this is so true
gurngurn00 1 year ago
@khraiser so true! My high school teacher sucks at C!
Superclaireful 1 year ago
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.
xXEviLIntenTXx 11 months ago
@khraiser Sino prof mo? Hahahahaha!
jayzee360 9 months ago
i want to post a program here.. whats wrong??
BulletForMyTeachers 1 year ago
i lol'd hard at 0:43 - two eco ec eco bu blo bla bla
TheNetau 1 year ago
Kewl, this will help me take over the world. printf (); Im out
silverpizza100 1 year ago
. .this tutorial helps me a lot. .thnks. . u so much. . .
rawliet666 1 year ago
Thank you so much .
m2520m 1 year ago
Thank you you are great teacher :).
Rembala 1 year ago
This is C# tutorial right??
or is C something different that C#?
rudyeilabouni 1 year ago
@rudyeilabouni C# uses the .net framework. C# IS NOT same as C
C is better then C# but C# is easier imo..
David20931 1 year ago
@David20931 oh ok, thanks
btw they are very similar like the If statement which I learned from here....
rudyeilabouni 1 year ago
@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! ).
BlackHeavenSymphony 1 year ago