Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (96)

Sign In or Sign Up now to post a comment!
  • anyone please give the link for next video in this series??

  • 5 people are transgenders!

  • why use int main ( ) instead of void main ( ) ? =)

  • @jemgaleon

    main is nothing else than any other function, except for being the starting and mostly ending one, the Big Boss if you want...

    if you use void it means the function won't return a value. He used int because it would require too much time for one video to explain what arguments are when you start a program...

  • Comment removed

  • Why you don't use scanf instead of getchar? :O

  • @igli2pac

    1. scanf is used for reading the input from the user until he presses ENTER. It is much better to use getchar to record ONE character from the user and put it into a CHAR variable instead of recording an unlimited user input and hoping he doesn't input more than one character. Because if he does do so and put a whole string in a char, it will break the program...

    2.scanf is considered "unsafe" because it can sometimes produce unexpected results

  • Thanks I've learnt so much off of these tutorials I'm 13 and an aspiring games programmer so I have been learning C this has taught me soo much, shame you have stopped making them

  • Thanks I've learnt son

  • >Reads tutorial for an hour. Learns nothing.

    >Watches few tutorials. Learns more than I could've learned from a day of reading that tutorial.

    In all, Great tutorial.

  • I'm just a little confused. I was always taught to get my consoles to stay open with the system("PAUSE"); command and that just seems to be a little better programming practice. What's the difference?

  • @TheNanoStuff system(PAUSE) is an actual call to an underlying OS function, whereas getchar() is a stdio C function...getchar is just lighter and more portable...A lot of people will do something like:

    printf("Press any key to continue. . .");

    getchar();

  • @TheNanoStuff for more info (and a better explanation xD) gidnetwork (dot) com (slash) b-61 (dot) html

    (why u no let us post links utoob)

  • i luv u

  • great vids!

  • Unfortunately no more C tutorials..

    Many efforts from Indians but I cannot understand the..

  • 4 people fail at c

  • It works perfect for me..

  • Can't make run everytime i try it says [Linker error] undefined reference to `Printf' ld returned 1 exit status, help me please

  • @alireza1341 Hi, C is a case sensitive language, so you can't use Printf.. The function is printf(" ");

  • Can't make it work it says [Linker error] undefined reference to `Printf' ld returned 1 exit status

  • Those disliking are the either half brained or wise persons.

    So I ask you wise persons only, what flaw did you find with the tutorial

  • @jptbaba Hi, getchar is good, but would be better to teach how to clean the the buffer instead of sloopy code... So it would be more like scanf(" %c", &gender); and i meant to use the space b4 the %c which clears the buffer... scanf also reads all types which will be more usefull in a long run... 

  • @jptbaba Another thing is, you should be returning 0 at the end of the main function to tell the operating system the program terminated correctly... C also has no "real" strings. And pointers should be better explained since they are crucial to the language. They are also more advance subjects of the language for someone who is just starting to learn the language.. Also the tutor is making no use of Warnings on the compiler which starts terrible practice. Learning how to stop errors is a must.

  • @stardevelin Oh I get it. Actually I have been self-learning those language, and I am beginning to understand how C converts to ASM now. Thanks for the information. Though self-learning may take lot of time, it rely benefits a lot!

  • im glad your actually doing little typo's,i do this as i follow the video and i think to myself shouldnt there be a .... there?helps me memorise it better

  • u rock dude :)

  • @DATHURRDURR Yeah i have the same problem

  • THANK YOU SO MUCH Mister! I use to think programming is hard and really complicated. But now after i watched these C++ programming videos i could make programs like these! (I only create small programs like this) Thanks to you, i could make my dreams as a video game programmer come true!

  • @MrAgySiahaan1 LOL for your information this is not C++, this is C

  • i AM currently 2 years a head of all my class and year because of some of theese vids i am 13

  • i AM currentl 2 years a head of all my class and year because of some of theese vids i am 13

  • i am 2 years ahead of my school work because of some of theese videos

  • char name[10] = {\0}

    Help!! i don't have the missing icons on my keyboard! :S

  • umm it's telling me Id returned 1 exit status permission denied

  • is this really c? or c++ because i haven't learn to use getchar yet, i normally use scanf, please tell me the difference

  • Have you uploaded part 2 to this video yet?

  • how do u put the numbers

  • is the c programming donesnt use any database?? 9im new in c prgramming)

  • What if you have multiple characters that you want to use? Please answer back.

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

    Cs50.net

  • On the third source file you made(string 3.c) I can't seem to see what I did wrong. I copied everything you did. Please help, thanks.

  • Very helpful tutorials, but I have a problem. When I type in the command it says on line 5 invalid initializer, what should I do to fix it? Thanks.

  • @mrlogan1144 ..Invalid initializer errors refer to the fact that an initializer must be resolved at compile time. So you might be trying to initialize something within a function call, that causes the error.

  • Hm im getting the two errors ''in function: main'' and ''syntax error before printf'' can any1 help me?

  • Nice to see that you are using a larger font for this toturial.

    Thanks :)

  • Thank you so much for uploading these tutorials.

  • how do u type the french brackets?

  • @saddamsmadame On your keyboard next to the P key theres the {[ and ]} the french bracket is {} just hold shift and push the {[ or ]} key, hope this makes sense,,

  • When is the next program? i want to learn more. i am planning on going back to school i want to know something then nothing.

  • I'm new at this but what is stdio.h is it the same as iostream ?

  • @PoizonFart

    Stdia.h is the stand input an put port library in C program.

    Iostream is the stander C libraries.

  • char is pronounced "care" not "char."

  • @wilc3685 maybe hes dutch or something.

  • @wilc3685 You mean "car", and yes some people do pronounce it as "char", short for "CHARacter". However, I have never heard it pronounced as "care" before.

    Thank-you for you're comment.

  • I learned a lot from this video. Keep it up! XD

  •  What's Wrong With This Code?

    printf("You Selected:%c", gender );

  • hello , so first thank youuu for the vids , but i have a question , what is the diffrence betewene getch and getchar , ???? and thenks again

  • for some reason it dosnt terminate the program when i press a random button it just writes it in the console... and thats before i did the getchar stuff it also happend in the last tutorials

  • I'm learning alot.. this is way better than in school :]

  • @rotfarm i know!! stupid system doesn´t work!!

  • why did you use %c on the first one then %s

  • @sam421kc  %c is for character and %s is for string

  • @chinkifymecaptain oh thanks

  • What does Int mean?

  • @leshkaka

    int = integer

    integer = any whole number negative or positive

    hope it helped

  • Instead of hitting M or F, hit Enter and then it gets all glitched =P.

  • @crazynoob11 then write one more getchar(); it worked for me...

  • Hey guys,

    If ur having any trouble with this stuff just sign up to : programminghelper.webs.com : the site offers completly free help. FREE signup. FREE tutorials. FREE videos

  • @icebreakerclanleader did it report any build errors?

  • @icebreakerclanleader try the getchar(); command

  • Since when was # the pound symbol?!?

  • @MrCheeseILike really? # has always been called pound. Ever notice when your on the phone with a machine and it asks you to enter a "password" or something "followed by the pound key"?

  • @MrCheeseILike i see you are in the UK so that might have something to do with it. they may not call it "pound" there as the pound is your countries currency.

  • @littlec916 yes i agree, here in the UK we call it the 'hash' symbol i think

  • @littlec916 no i think its just america being the odd one out... its a hash at least in singapore, australia, nz, canada, kuwait, uk places i have worked...

  • @ajjbennett and India

  • @MrCheeseILike Since America gave it that name

  • thanks, this helped a lot, you have the best Dev C++ tutorial on youtube.

  • @DJLava90 just line numbers for the code

  • How do i change my font size and style? please reply fast...

  • @shauziful USE VISUAL C++!!!!! Everyone!

  • @PS3Films133T It can be incorperated into programs as a scripting language. Good for games.

  • is it different complier from turbo c/c++ by borland?? with background color blue???

    that the compiler that i have ??

  • Great tutorial :).  Btw, what font are you using? Looks great.

  • the black window wont pop up again omg why X (

  • thx, very helpful

  • Great tutorial, helps me a lot!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more