Learning to Program in C (Part 01)

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ม.ค. 2025

ความคิดเห็น • 385

  • @TheQuatum
    @TheQuatum 6 ปีที่แล้ว +3

    This single tutorial covered 3 entire chapters of my C programming book in 11 min. This is definitely not a basic tutorial

  • @dopier12
    @dopier12 10 ปีที่แล้ว +13

    Thank you sir. Adding you to my favorites. I think I'm going to watch all your videos in C. Hope you have C++ as well. I remember nothing from my introduction to C class almost two years ago...so you might prove to be a life saver line for me.

  • @vsicok2862
    @vsicok2862 6 ปีที่แล้ว

    best c programing tutorial in world, many complete useless tutorial in youtube, edx, udacity, coursera, udemy.

  • @harrishkumar9424
    @harrishkumar9424 9 ปีที่แล้ว

    thank you very much Jonathan.. because last two months i studied nothing in c... by watching this video a idea came for me.. this is nic

  • @maryannemuthoni5388
    @maryannemuthoni5388 ปีที่แล้ว

    Here from the ALX software engineering program and this video has taught me so much.

    • @FlameBelliedWalrus
      @FlameBelliedWalrus 11 หลายเดือนก่อน

      Sasa Mary! #dohardthings 💪how's it going so far?

    • @maryannemuthoni5388
      @maryannemuthoni5388 11 หลายเดือนก่อน

      @@FlameBelliedWalrus I am so behind I am considering quitting and I am in the last cohort so I can't defer 😭

    • @FlameBelliedWalrus
      @FlameBelliedWalrus 11 หลายเดือนก่อน

      @@maryannemuthoni5388 What's the last cohort? I just deffered to c21 myself. Actually I only found your comment because I'll be going through the materials for c. I finished shell but I'm not very confident in my c yet so i didn't think going forward was wise.

  • @roltthehunter
    @roltthehunter 7 ปีที่แล้ว +2

    Thank you for putting this out there, i am doing a bootcamp in a few months and i know they cover C and i am very new to it, but i can pick it up.

  • @stanmwadime
    @stanmwadime ปีที่แล้ว

    Informative.Thanks for sharing to us

  • @mikedrz
    @mikedrz 8 ปีที่แล้ว +1

    Finally a programming tutorial I can understand!

  • @Thatcityboy697
    @Thatcityboy697 ปีที่แล้ว +14

    If alx brought you here, signify 😂

  • @RR-yd5jf
    @RR-yd5jf 6 ปีที่แล้ว

    It's great to be able to finally understand someone.

  • @youneshenni6883
    @youneshenni6883 8 ปีที่แล้ว

    Finally, some free C programming tutorials

  • @tomidebbie2078
    @tomidebbie2078 2 ปีที่แล้ว

    Your voice makes the class understandable, great communication skill you got sir 👌

  • @RSPSify
    @RSPSify 10 ปีที่แล้ว +33

    I learned C with a awesome book The C programming Language by K&R. The book is dated and the examples have bugs in them but it's only two hundred pages, and it gets you up to speed quick, the first chapter you will know how to do if's, whiles, for's and trust me you'll have a great understanding of the language. If you are stressed out about the information not "sticking" the book will make it stick. This is for everyone who wants to learn the best way; the hard way.
    Also, the world has progressed passed C, you won't get a job programming it instead you'll get the fundamentals you need to know to learn OOP languages, so syntax, specific nit-picks of functions in the book don't really matter. You probably should be using it to get a marketable language.
    Also, my suggestion is to use linux, use GCC as a compiler and the linux terminal to compile and run. I've always had trouble keeping the window up with EOF references and other problems that are prone to IDE's. Nothing is more annoying then having an error because of the software of the IDE or the OS. If you want a hassle free way to code, just type the commands, it's not hard because the terminal by pressing up will copy the code automatically.

  • @spiyushpokharkar3714
    @spiyushpokharkar3714 9 ปีที่แล้ว

    nyc video very helpful for the beginners

  • @azeemmohammed7776
    @azeemmohammed7776 8 ปีที่แล้ว

    U r awesome the language way how u teach its educational no one teach like u superb

  • @priteshgehlot
    @priteshgehlot 10 ปีที่แล้ว +139

    #include
    #include
    Void main()
    {
    Int love=0;
    While(love

    • @priteshgehlot
      @priteshgehlot 9 ปีที่แล้ว +2

      Thanxx every one for liking comments

    • @priteshgehlot
      @priteshgehlot 9 ปีที่แล้ว

      ***** lol

    • @priteshgehlot
      @priteshgehlot 9 ปีที่แล้ว

      *****
      System.out.println("c#=java");

    • @priteshgehlot
      @priteshgehlot 9 ปีที่แล้ว

      ***** where do you live bro ?

    • @priteshgehlot
      @priteshgehlot 9 ปีที่แล้ว

      ***** yes bro I am from India .....you are studying ??? which std

  • @karimullahmujadadi2042
    @karimullahmujadadi2042 6 ปีที่แล้ว

    I like this site for sequencial learning.

  • @ninah6619
    @ninah6619 2 ปีที่แล้ว

    Wow, I really enjoyed this session

  • @laythabdulwahab7315
    @laythabdulwahab7315 7 ปีที่แล้ว +74

    Finally a guy who doesnt have an Indian accent

    • @TheQuatum
      @TheQuatum 6 ปีที่แล้ว

      Layth Abdulwahab lmfao

    • @haiquannguyen2583
      @haiquannguyen2583 6 ปีที่แล้ว

      :)))

    • @HighFlyier11
      @HighFlyier11 6 ปีที่แล้ว +1

      bro I swear
      thank the LORD ! lol

    • @majedhk5460
      @majedhk5460 5 ปีที่แล้ว

      lol

    • @somacruz8272
      @somacruz8272 2 ปีที่แล้ว

      this actually is kind of an issue. I grew up with my best friend Sitanj and Anish and never thought this way until I started taking CS and EE classes.

  • @PixelPioneer-t3q
    @PixelPioneer-t3q 8 ปีที่แล้ว

    personally i learned q basic first, then visual basic, then i moved on to C. in my opinion this is a very good way to start.

  • @joshuashelstad1298
    @joshuashelstad1298 8 ปีที่แล้ว

    I made it to about 8:25 and I'm kind of lost rn, I don't quite understand. what is taking up 1-4 bytes, where is it stored? why does it take up 1 byte? what is the use of a byte? ive never had any programming experience in the past so this just confused me

  • @thecoderabbi
    @thecoderabbi 2 ปีที่แล้ว +1

    Thanks, this is really explanatory

  • @CephX_1
    @CephX_1 ปีที่แล้ว +3

    from ALX_SE say Hi

  • @madeOfStone319
    @madeOfStone319 8 ปีที่แล้ว +29

    i downloaded visual studio and changed the theme to make me look like some l33t hakcer programmer wizard, other than that i dont have a clue

    • @dejay_incognito6677
      @dejay_incognito6677 6 ปีที่แล้ว

      WolvesFanVideos really depends on what varant of Visual Studio you have.
      Visual Studio Code = text editor
      Visual Studio 20XX (style) = IDE

  • @JosuahDemangeon
    @JosuahDemangeon 8 ปีที่แล้ว +1

    Oh, but that video is actually very good! Thank you for helping me through the path of learning!

  • @MrTroywoodtube
    @MrTroywoodtube 10 ปีที่แล้ว

    sir i tried doing the same in the terminal but in says E248 no string under cursor when i try to type #shrap ???
    googled alot but still no solution....

  • @realityandphilosophy4912
    @realityandphilosophy4912 6 ปีที่แล้ว

    Best explanation.

  • @Lexsoufz
    @Lexsoufz 8 ปีที่แล้ว

    cant even get passed the first step. I type vi hello.c. creates the vertical ~'s then when I try to type in "#include , all I get is a red error "No string under cursor". please help

  • @dragontile
    @dragontile 9 ปีที่แล้ว

    make sure to enable hardware virtualization with windows through the bios, virtualbox wouldn't run Ubuntu until I did that.

  • @wayneburbage8900
    @wayneburbage8900 10 ปีที่แล้ว

    Really fascinating. I liked the shell tricks.

  • @tharinjayawardana6905
    @tharinjayawardana6905 10 ปีที่แล้ว

    I want to know what is the software that I have to download for c language?

  • @rishikeshiyer5212
    @rishikeshiyer5212 8 ปีที่แล้ว

    Thanks for posting. Very helpful

  • @dohoudanielfavour
    @dohoudanielfavour 2 ปีที่แล้ว +1

    This is very useful after 9 years. Thank you so much

  • @darthbolloful
    @darthbolloful 10 ปีที่แล้ว

    thanks for making this video couldn't find a good one for a long time!

  • @jongmagee
    @jongmagee 8 ปีที่แล้ว +90

    I still have no idea what's going on....

    • @Discordxeroxero6454
      @Discordxeroxero6454 8 ปีที่แล้ว +10

      hahahhahahahahahah join the cub

    • @languagelover9170
      @languagelover9170 8 ปีที่แล้ว +1

      ***** .. OMG OMG OMG AXAXAXAXAXAXAXAXAXAXAXAXAXAX LAUGHED SO HARD CRIED SO MUCH YOURE SOSOSOSOOS AWESOMEA ABSOLUTELY RARE OMG KIND HEARTED LOVELY GREAT AMAZING CREATURE I LOVE YOU I LIKE YOU I LIKE YOUR STYLE BE SAFE OMG AXAXAXAXAXXAXAXAXAX MY HEART IOMGGGGG I WANNA BE YOUR FRIEND I WANNA HUG YOU LUCKY YOUR FRIENDS AND FAMILY THAT THEY HAVE YOUUU

    • @languagelover9170
      @languagelover9170 8 ปีที่แล้ว

      ***** Greece! And it's not a compliment!, it doesn't hide winning something or taking advantage from something, it@s the truth!

    • @landro3552
      @landro3552 4 ปีที่แล้ว

      @@languagelover9170 ti pineis?

    • @Unfiltered20-24
      @Unfiltered20-24 2 ปีที่แล้ว

      @@Discordxeroxero6454 How do I join?

  • @paneesh
    @paneesh 11 ปีที่แล้ว

    Thank you so much for this amazing video Jonathan! You're a Genius!!!

  • @JC_Ares
    @JC_Ares 6 ปีที่แล้ว

    Thank you, still got no idea how rough the road i will be choosing.

  • @manishagarwal2830
    @manishagarwal2830 10 ปีที่แล้ว

    You are a great teacher ! Thanks for this valuable tutorials....!

    • @ExpertIT-zc6bu
      @ExpertIT-zc6bu 5 ปีที่แล้ว

      th-cam.com/video/Kfv1Taj45Tg/w-d-xo.html

  • @Lanijiro
    @Lanijiro 10 ปีที่แล้ว

    is there such thing as a 'double float'?

  • @johnwang806
    @johnwang806 11 ปีที่แล้ว

    Thank you for your simple explanation.

  • @birdman132ify
    @birdman132ify 10 ปีที่แล้ว

    How do you get the virtual box to recognize vi

  • @TheKT2563
    @TheKT2563 11 ปีที่แล้ว

    i need some help and fast:
    i need to learn to program and to make a program for recognising capacitors
    but other than your videos i don't know much about it, for example:
    i need to know how to make 2p to be = to 2 pikofarads, or how to make the first colour chosen to have the value of 3 ?
    any help is apriciated

  • @Soulzarath1
    @Soulzarath1 9 ปีที่แล้ว

    What's a good C/C++ compiler/computer I can install onto my desktop to actually code in C/C++?

    • @futboleroR10
      @futboleroR10 9 ปีที่แล้ว

      Kyle DuBois Visual Studio

    • @Soulzarath1
      @Soulzarath1 9 ปีที่แล้ว

      Are you familiar with Code Blocks because that's what I've been using.
      What's something that I can use to code multiple languages in?

  • @mahadisohan
    @mahadisohan 9 ปีที่แล้ว

    you are great man,,,,,,,,i like your posts,,,,,,,really awesome

  • @pedronobrega5457
    @pedronobrega5457 6 ปีที่แล้ว

    hello man can you help me ?
    i know gow to PRINT ancii chars on screen..
    what i need to know its how to execute those commands ..
    (example: i want to extract ancii chars + concaternate then + execute then)
    char a = 21;
    char b = 32;
    char command = putchar(a);putchar(b);
    int system(char command);
    system(command);

  • @MangeshMistry
    @MangeshMistry 11 ปีที่แล้ว

    excellent video. very interactive and good job.

  • @MrNutiu
    @MrNutiu 8 ปีที่แล้ว

    How did you made your Ubuntu installation to look this way?

  • @TheHaagendazs0
    @TheHaagendazs0 8 ปีที่แล้ว

    all the languages are the same. glad there are patterns to recognize.

  • @allenvanco4169
    @allenvanco4169 11 ปีที่แล้ว

    I know all the syntax for must languages , but even that I can't write code and I don't know how to start , any help .. Thanks

  • @randomdhaniya3533
    @randomdhaniya3533 10 ปีที่แล้ว

    Thank you sir ... very Helpful......

  • @louissummers8747
    @louissummers8747 6 ปีที่แล้ว

    Also if you would be able to add download links for the progamms used in the vid

  • @dspcreations4738
    @dspcreations4738 10 ปีที่แล้ว

    Hello Mr. jonathan is that the 9th part of your tutoriall was last one or we could learn more

  • @brhem100
    @brhem100 11 ปีที่แล้ว

    good job
    and many thanks

  • @F00KiU
    @F00KiU 10 ปีที่แล้ว

    Thank you for your great efforts ...

  • @asonganyderick1247
    @asonganyderick1247 8 ปีที่แล้ว

    how can we implement bitmap indexing in c programming?

  • @nguyenthisu3531
    @nguyenthisu3531 11 ปีที่แล้ว

    Your video is excellent. I love it.

  • @Deathvveeps
    @Deathvveeps 10 ปีที่แล้ว

    Okay so I have VirtualBox and I downloaded Ubuntu in the ISO format, I made a VM with Ubuntu and all that comes up is a black screen after the VM is created. So my question is, whats this white screen he calls Vi? I know it is Unix based, where do I get it or how do I get to the same screen he is on? Somewhat confusing just starting out...

  • @noahnewman1288
    @noahnewman1288 2 ปีที่แล้ว

    Please can you throw more light on modifiers

  • @camartinez6
    @camartinez6 10 ปีที่แล้ว

    how do we edit the stdio.h library? why didn't you showed what was in the library and explain that??

    • @أحمد-و3ز8ع
      @أحمد-و3ز8ع 4 หลายเดือนก่อน

      "stdio.h" is a header file, a libarary in C topic is another thing.
      probably you know this after 10 years, but anyway ...

  • @nourbounasr553
    @nourbounasr553 8 ปีที่แล้ว

    very good tutorial thanks

  • @Interpause
    @Interpause 10 ปีที่แล้ว

    so basically include is import?

  • @m.a.k.8618
    @m.a.k.8618 8 ปีที่แล้ว

    I don't get why we should use int for main and the void argument and return 0, i heard what they do but i don't get why are they necessary ?
    I compiled the program without them and it worked perfectly fine .

    • @intellectualhybrid2
      @intellectualhybrid2 8 ปีที่แล้ว

      Since it's incorrect, it will form a habit that's why. Some compilers will produce an error, whereas some won't.
      It is kind of frowned upon in the programming community because they fear that if it's printed in books, and taught by professors then this bad habit will spread

    • @dmitripogosian5084
      @dmitripogosian5084 ปีที่แล้ว

      returning anything from main is optional, but a good practice.

  • @embroidery_vlogs
    @embroidery_vlogs 10 ปีที่แล้ว

    best ever in youtube

  • @Dr46
    @Dr46 2 ปีที่แล้ว

    So interesting

  • @annemsurendrareddy6895
    @annemsurendrareddy6895 7 ปีที่แล้ว

    sir,
    good evening i want one help
    code program to display crocketscore board in devc++

  • @vaitelias
    @vaitelias 10 ปีที่แล้ว

    What's the best compiler to use?

    • @yonghongniu6907
      @yonghongniu6907 10 ปีที่แล้ว

      I think vim is best !

    • @MrJmvprivateer
      @MrJmvprivateer 10 ปีที่แล้ว

      depends on what OS you are running. In Windows look up Visual Studios Express Editions. In Mac I think XCode (but clang is available as well because of the BSD userland), and on Linux GCC.

    • @MrJmvprivateer
      @MrJmvprivateer 10 ปีที่แล้ว

      Yonghong Niu Vim is good, but it is technically just a text editor.

  • @メキシコ人-k2v
    @メキシコ人-k2v 6 ปีที่แล้ว

    What software is this and is it free like python?

  • @jkarl1959
    @jkarl1959 10 ปีที่แล้ว

    hello jonathan where can I download a compiler in C using windows 8 OS I hope you help me thank you :)

    • @nikeadz13
      @nikeadz13 10 ปีที่แล้ว

      You could try TCC (Tiny C Complier), but there are hardly any C compliers for later versions of Windows. You could always use an online complier.

  • @Richard_is_cool
    @Richard_is_cool 6 ปีที่แล้ว

    6:30 *Why* did we say the hello world main method should return an integer? You should explain things more in depth.

    • @andibensisva2155
      @andibensisva2155 6 ปีที่แล้ว

      this function only print the string into output (monitor) and not returning any value (to catch). in other word it returns zero, zero is an integer. thats why...

  • @sscoconut1265
    @sscoconut1265 9 ปีที่แล้ว

    ok now where we can download this?

  • @pippo1116
    @pippo1116 10 ปีที่แล้ว

    Anywhere can I find the slides?

  • @louissummers8747
    @louissummers8747 6 ปีที่แล้ว

    Hey is it ok if i use Notepad++ for the helloworld?

  • @jon419
    @jon419 12 ปีที่แล้ว

    Nice work Prof. Engelsma

  • @THIBS3393
    @THIBS3393 6 ปีที่แล้ว

    I am trying to use C to write a program that will play my online game for me can someone help?

  • @geez5949
    @geez5949 8 ปีที่แล้ว

    I am pretty sure I don't know what i'm doing 100%. But gcc says that you need a ; before the return. So what I did was ;return(0); and it worked. But are both semi colons necessary?

    • @Wreezy_TCG
      @Wreezy_TCG 8 ปีที่แล้ว

      there was probably another line before the return that you forgot a ; on. Because you put it there, it attributed that semicolon to the line that was missing one, even though it looks wrong. That's because spaces and enters in C for the most part are purely visual, the machine reads it linearly.

  • @chiomaobi6424
    @chiomaobi6424 2 ปีที่แล้ว

    Nice tutorial

  • @leedeffebach3504
    @leedeffebach3504 11 ปีที่แล้ว +1

    Iv only coded in java so it could be different but couldnt you just create the return type on the main the method void. Then you could just print "Hello World" and not have to return anything.

    • @Sicklymade
      @Sicklymade 11 ปีที่แล้ว

      Yes you can do a void method. However, it is best to use the int, because on linux shells, most of them will have an error check. If your main method was to run properly, it would return a 0, if it failed, it would return anything that you specified. For example if you made a loop, and if the loop failed you can say "return 1" This way, if the program failed, linux shell will tell you it received a 1, telling you specifically where your bug is.

    • @leedeffebach3504
      @leedeffebach3504 11 ปีที่แล้ว

      I understand that you would do that in an instance with a for loop. I was just stating it would be more effective to use the void method in that instance.

    • @Sicklymade
      @Sicklymade 11 ปีที่แล้ว

      ***** in THAT instance of course. but NEVER use a void method in the main when you are making a REAL application or software. it is just horrible practice.

    • @leedeffebach3504
      @leedeffebach3504 11 ปีที่แล้ว

      Alright thanks!

    • @sebastianramadan8393
      @sebastianramadan8393 10 ปีที่แล้ว

      ***** Don't listen to these folks. The only standard (guaranteed to exist) entry points return int; There are no others guaranteed to exist in the standard. int main(void) and int main(int argc, char **argv) are the two common standardised ones. If you use anything else, don't be surprised if some compilers spew warnings/errors at you, or if your code crashes in mysterious ways on some computers.

  • @TheGreatHektor
    @TheGreatHektor 9 ปีที่แล้ว

    Eclipse or Visual Studio which one should i use? I'm beginner.

    • @Solo6R
      @Solo6R 9 ปีที่แล้ว

      +TheGreatHektor I prefer Visual Studio 2015

    • @jasonking1284
      @jasonking1284 8 ปีที่แล้ว +1

      +TheGreatHektor Dev C++

  • @faizilahi
    @faizilahi 8 ปีที่แล้ว

    you explain so well,.. !

  • @MittaSpitta
    @MittaSpitta 10 ปีที่แล้ว

    how do i get vi to work in the ~examples folder? can anyone explain?

    • @Crazymanbang
      @Crazymanbang 9 ปีที่แล้ว +1

      +Mitchel Austin If u haven't figured it out yet, u use CD command to go to different folders.
      For example: CD examples if ure at the correct place. Or else u need to CD to the place where u created the examples folder.
      Just create a folder named examples whereever u want ;)

    • @MittaSpitta
      @MittaSpitta 9 ปีที่แล้ว

      Thanks mate! I did figure it out a while ago, but still, thanks for helping :).

  • @melissamiller4934
    @melissamiller4934 7 ปีที่แล้ว

    Help! My first single quote(apostrophe) appears backward when I run my program! This is holding up my progress. Anyone???

  • @misssarahosseini
    @misssarahosseini 11 ปีที่แล้ว +3

    great

  • @uihlogyifg7282
    @uihlogyifg7282 10 ปีที่แล้ว

    thinks.
    things are going well!
    people need little leaning program

  • @imtpfgro
    @imtpfgro 8 ปีที่แล้ว

    do i need other knowledge to learn c? or what Kind of knowledge would help? i never had computing lessons and i feel like im thrown into cold water.

  • @BamaFanEdge
    @BamaFanEdge 11 ปีที่แล้ว +15

    I have no clue what's going on. Can someone direct me to a more basic video. I want to get into programming but don't know where to start. All I know about programming is that somebody somewhere types some codes and makes the internet work.

    • @mightyworker
      @mightyworker 11 ปีที่แล้ว +1

      So I have taken an intro to Java class and now in the middle of the next level up as well as a class that deals with C. You would probably do better getting your feet wet in Java or Python- both higher-level languages that are more intuitive than C which is, like he said, dealing with the hardware more directly. If you look at the free online courses that MIT provides, they show you how to get Python running on your personal computer, for example. I also know khanacademy does some work with python as well, and it would be better to learn from him than right on the MIT website, because they go pretty fast.

    • @jet-it9cr
      @jet-it9cr 9 ปีที่แล้ว

      I would recommend to look up some videos about BASIC

    • @dangputerz
      @dangputerz 7 ปีที่แล้ว +1

      ^^ horrible advice. python maybe.

    • @xpd9961
      @xpd9961 7 ปีที่แล้ว +1

      JAVA made me quit coding twice DON'T MAKE THE MISTAKE I DID.

    • @ligeskityler
      @ligeskityler 6 ปีที่แล้ว

      It’s not for everyone, but if you are really interested look up hello world and start there. Eventually you will figure it out. Don’t give up :)

  • @joshuaogu491
    @joshuaogu491 8 ปีที่แล้ว

    am having A BAD TIME learning C programming..pls what should i do so as to be Best in it....Its giving serious night mare,its a compulsory course in mx school..pls talk to me somebody THANKS

  • @skycnn2890
    @skycnn2890 8 ปีที่แล้ว

    good lessons

  • @iamacreature
    @iamacreature 11 ปีที่แล้ว

    Thanks this is good edumacation

  • @howsyourrobot
    @howsyourrobot 10 ปีที่แล้ว +2

    Great lesson! Thanks for putting it out here for us to see

  • @natevideos263
    @natevideos263 9 ปีที่แล้ว

    What is the book called? I may like to read it.

  • @jiritichy6855
    @jiritichy6855 9 ปีที่แล้ว

    Hello. I am starting self paced learning of C just from TH-cam videos, like yours.. And right from the beginning I am not getting few things here:
    No1: why I need to include :"int main" statement and then "return 0"...where I am actually telling the machine returning the integer 0. Seems like the first statement is not needed, then. What if I say "return 1.20"??? Would it return Integer(and if so, which one?) or Real-the one I commanded...i.e. 1.2???.
    No2: I would assume, that after printing statement "Hello, learner" the machine will actually print out the 0 (which I commanded with statement "return 0'). But no such thing has happened...which would lead me to think, that something went wrong with my program....And if the machine doesn't actually display the 0 (even if I command it), then why to command it at all??? What good does it do for me, if I cannot visually confirm, that it actually returned the 0...?

    • @derekw.1647
      @derekw.1647 9 ปีที่แล้ว

      1.
      Excluding ‘int’ should yield a warning upon
      compiling. It should be included so the compiler knows what to expect. ‘return
      0’ is a bit ambiguous in that ‘0’ could be interpreted as an int or a char. The
      compiler can’t know for sure so the programmer should specify.
      2.
      Note that print is not the same as return. Print
      outputs its arguments to system out. Return outputs its arguments to whatever
      is there to catch it. In this example return outputs its arguments as an exit
      status. The exit status is a way to communicate with whatever called the
      program. It becomes necessary when there are programs that depend on eachother.
      3.
      Unix users can check exit status with ‘echo $?’.
      For other operating systems, Google is your friend.
      4.
      I don’t know, what happens if you say ‘return
      1.2’?

    • @jasonking1284
      @jasonking1284 8 ปีที่แล้ว

      +Jiri Tichy The 0 returned is not displayed but is used as a status value by the calling program, which is Windows or Linux, since that is where the call to your Hello Learner program came from. The thing to note is that it is usually a status or can be a processed value. A zero usually means everything ok. A non zero value usually means a problem and it is up to the calling program what to do next. In this case, whatever the status or value returned was, there was nothing further to to except return to the OS and the C editor program.

    • @gilsalinas5190
      @gilsalinas5190 8 ปีที่แล้ว

      +has King

  • @PixelPioneer-t3q
    @PixelPioneer-t3q 8 ปีที่แล้ว

    i could download Qbasic and put up some video tutorials to help. For my freshman year in highschool i developed a graphic based 2d rpg game in qbasic which is very complex lol. but i can show you guys how to do it and you will learn some of the most core functions of every programming language

  • @SunilRathore-wz4ef
    @SunilRathore-wz4ef 10 ปีที่แล้ว

    In depth info. available on cymposium

  • @Mahfoozgulabbasi
    @Mahfoozgulabbasi 11 ปีที่แล้ว

    Will this work Inn window s and how

    • @SourceCodeDeleted
      @SourceCodeDeleted 11 ปีที่แล้ว

      Yes it works perfectly fine just you need to download codeblocks and GCC will be in the bin file . So you can add that to path et voila it will work fine.

  • @azeemmohammed7776
    @azeemmohammed7776 8 ปีที่แล้ว

    Can u plz take a video on elements of programming in practice

  • @_JS96
    @_JS96 10 ปีที่แล้ว +4

    A better/more user-friendly terminal editor is nano. There's always been the nano side and the vi side but nano is my preference.
    Ex.
    touch hello.c (touch is the "create this document" command)
    nano hello.c (edits the document named "hello.c" in your current working directory)
    You don't have to do the touch command because nano will create the document if it does not exist but it's always good to know more commands.
    When done editing press Ctrl+X and save document to name.

    • @Burtsandalman
      @Burtsandalman 9 ปีที่แล้ว +1

      Jonah St-François
      Nano is much easier to use, but Vim is much better IMO.
      The controls take longer to learn in Vim, but it's all around better,
      That being said, Nano isn't bad.

    • @_JS96
      @_JS96 9 ปีที่แล้ว +1

      Grimmwood It's a personal preference more than anything at this point. I'm much more comfortable in nano than I have/will ever be in Vi so nano is a better tool for me.

  • @scottslate9271
    @scottslate9271 8 ปีที่แล้ว +4

    I'm at 4:21 and I don't understand a word :(

    • @aryanzkhan6265
      @aryanzkhan6265 8 ปีที่แล้ว +4

      nobody does.. give it some time...

    • @poljakov13
      @poljakov13 7 ปีที่แล้ว

      then start with the PYTHON !!!

  • @themkcomputer
    @themkcomputer 11 ปีที่แล้ว

    Brilliant

  • @robaketch5354
    @robaketch5354 8 ปีที่แล้ว

    ive installed virtual box on my windows and downloaded the ubuntu .. then what next

    • @jasonking1284
      @jasonking1284 8 ปีที่แล้ว

      +bobkorg engineer Don't do that, its way too much to do. Just install Dev C++ on Windows and start writing your code.

  • @mattdouglas8900
    @mattdouglas8900 8 ปีที่แล้ว

    What does ".h" do to the stdio?

    • @anismuhaimin970
      @anismuhaimin970 8 ปีที่แล้ว

      header

    • @jasonheard2436
      @jasonheard2436 8 ปีที่แล้ว

      Jonathan covered that in the video, but that was confusing for me at first. The '.h' just stands for header. Stdio is known as a preprocessor directive, and it means standard input and output. So when you are programming and you initially write #include stdio.h - you are essentially telling the compiler to recognize something from that header - like the printf(), or scanf(). See en.wikipedia.org/wiki/C_file_input/output for more information on stdio headfiles. You could also use a math.h preprocessor directive if you want to utilize the sin, cos, sqrt (square root) functions in the complier. So it is very important to use the right header when programming so that it means something to the compiler. Hope that helps.