C Programming Crash Course all-in-one Tutorial (3 HOURS!)

Sdílet
Vložit
  • čas přidán 16. 06. 2019
  • Start your software dev career - calcur.tech/dev-fundamentals 💯 FREE Courses (100+ hours) - calcur.tech/all-in-ones
    🐍 Python Course - calcur.tech/python-courses
    ✅ Data Structures & Algorithms - calcur.tech/dsa-youtube
    ~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
    ✉️ Newsletter - calcur.tech/newsletter
    📸 Instagram - / calebcurry
    🐦 Twitter - / calebcurry
    🔗 LinkedIn - / calebcurry
    ▶️ Subscribe - calcur.tech/subscribe
    👨🏻‍🎓 Courses - www.codebreakthrough.com
    ~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
    ↪ My Amazon Store - www.amazon.com/shop/calebcurry
    🅿 Patreon - calcur.tech/patreon-calebcurry
    🅖 GitHub Sponsors - github.com/sponsors/CalebCurry
    Ⓟ Paypal - paypal.me/calcur
    🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
    🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
    📈 Buy Bitcoin - calcur.tech/crypto
    Reserve the Ruby Steel crypto rewards card and get a $25 bonus (use affiliate code "Caleb") - calcur.tech/crypto
  • Věda a technologie

Komentáře • 160

  • @codebreakthrough
    @codebreakthrough  Před 3 lety +38

    notes - calcur.tech/notes-c-programming
    C Programming Crash Course - www.learn.calebcurry.com/p/c-programming-crash-course
    Timestamps:
    1:13 - Intro
    7:15 - Linux
    17:20 - Basics - Input and Output
    33:09 - Variables and Data Types
    49:32 - Operators
    1:03:13 - Logic (If, Switch, Ternary)
    1:19:35 - Loops (for, While, Do While)
    1:31:50 - Arrays
    1:41:44 - Strings
    1:50:00 - Functions
    2:07:58 - Creating a Function Library
    2:15:55 - Intro to Pointers
    2:25:17 - Intro to Structs
    2:34:07 - Intro to Memory Management
    2:51:16 - Conclusion

    • @40_sn43
      @40_sn43 Před 3 lety

      Pretty goood 😄😊course to regain confidence in C Programming and getting started for more, thank you for such a Humanly beautiful and humorous C course and do create and 'intermediate C crash course' so that after learning from this we could go there and learn more👍😁. This helped me revise so much, Thank you 😄🎇❣

    • @PJSCode69
      @PJSCode69 Před 3 lety

      Thankyou dude I really appreciate it, I already subbed to you and gonna check out your other videos. o7

    • @triambakeshwar8766
      @triambakeshwar8766 Před 3 lety +1

      You know, if you attach the timestamps to the description of the video, then CZcams would show different chapters at the side in a panel and also show the current playing chapter beside the volume bar in the video. Just my suggestion.

    • @kadejaxx701
      @kadejaxx701 Před 2 lety

      i guess it's kinda off topic but does anyone know a good place to watch new series online?

    • @ymous7051
      @ymous7051 Před 2 lety

      WE LOVEEEEEEEEEEEEEEEEEEEE you soooooooooooo much sir, you're the best teacher in the world and the most professional one😂

  • @dambros
    @dambros Před 4 lety +55

    Please do the intermediate C course! You are a great teacher, congrats!

  • @michalguy
    @michalguy Před 3 lety +37

    Honestly this is the most human and fun programming tutorial I've seen in my LIFE.
    I'd love to see more tutorials from you!

  • @SG1980s
    @SG1980s Před 4 lety +8

    I hadn't programmed in C in quite some time and was looking for a quick refresher course. This was PERFECT! Thank you Caleb!

  • @talldarkshark8012
    @talldarkshark8012 Před 5 lety +6

    Thank you for this, Caleb. Cheers!

  • @TravisGarnett
    @TravisGarnett Před 5 lety +6

    Thank-you for this crash course, Caleb!!

  • @alexnezhynsky9707
    @alexnezhynsky9707 Před 4 lety +96

    02:08:53 Please do create an intermediate C series! Awesome work, keep it up 👍

  • @josefinamagallanes8451
    @josefinamagallanes8451 Před 5 lety +4

    Thank you call for code, awesome, had no idea, thank you Caleb

  • @matakemisaka5465
    @matakemisaka5465 Před 3 lety +2

    This is an awesome tutorial! Thank you Caleb. If there is something about file operation and installing more libraries, it will be even greater.

  • @alexandert1703
    @alexandert1703 Před 4 lety +1

    Thank you, Caleb! Awesome and fun

  • @Tiparium_NMF
    @Tiparium_NMF Před rokem +3

    You're great at conveying this information in an approachable way. I'd love to watch a more advanced course from you.

  • @kck9542
    @kck9542 Před 5 lety +10

    Finally i got this from caleb cury ! : )

  • @shourabhthakur4021
    @shourabhthakur4021 Před 4 lety +2

    Small, simple and sweet tutorial, loved it

  • @elykeios
    @elykeios Před 2 lety +1

    i looove your videos, they're so helpful. I a little bit past halfway on this one, doing a little bit at a time. and it makes me excited to practice what i learn. so as a result I've learned and retained more in from like half of this 3 hour video than from my c class so far hahah thank you caleb! you are a really good teacher :)

  • @pinniporker
    @pinniporker Před rokem

    omg this video is so underrated thank you caleb!

  • @molotov-zz6rm
    @molotov-zz6rm Před 2 lety +1

    thank you so much! I just finished the video and followed along in code the whole time. And don't worry this was the most human and least boring programming video i've seen in a while

  • @xz7525
    @xz7525 Před 4 lety

    Hi Caleb, before binging these lectures I'd evaded any association with the C-language family, as I'd held the heuristic it was beyond my conceptual realms (not coming from a core CS background). I really enjoyed your style of delivery!! Keep on throwing carrots out about extended concepts & then coming back to the reference later on...It kept my eyes on the horizon & searching for more...
    Keen to check out all your other work from hereon!!
    Cheers mate

  • @jessif.
    @jessif. Před 5 měsíci

    You're a gifted teacher, Caleb. Thank you so much!

  • @denb4386
    @denb4386 Před 4 lety +1

    This C programming crash course is awesome. It is very easy to understand and to follow. Thank you for creating it ! I am also interested in advanced C programming, like network sockets programming. Thanks mate ;-)

  • @codebreakthrough
    @codebreakthrough  Před 5 lety +2

    Thanks for giving me 3 hours of your life! In exchange, you can have the source code: www.calebcurry.com/c-programming-crash-course-3-hours/
    Get this in a course format: calcur.tech/c-crash-course

  • @jessicawhitney2074
    @jessicawhitney2074 Před rokem

    Thank you so much for this guide! I need to learn c quickly for a project, and this has given me all the basics I need, it's been really helpful. Will deffo be checking out any other guides you have :)

  • @A_Szoros
    @A_Szoros Před 3 lety +3

    Caleb, please do an intermediate course! You are a great teacher!

  • @DavidEvans_dle
    @DavidEvans_dle Před 4 lety +4

    Wow, this is the most in depth break down of C coding video, I've seen.
    Would have been a lot of help in my C programming class, lucky some non-computer science majors were also taking the course,
    helps with the scale. LMAO

  • @ambermeows150
    @ambermeows150 Před 4 lety

    You remind me of the new Boston by the way you teach code. Gj and thanks for the upload! I learned a lot.

  • @dipper0yawn
    @dipper0yawn Před 2 lety

    Great course, thank you CC!

  • @arthurzaneti-cx2en
    @arthurzaneti-cx2en Před rokem

    Congrats man, this was really helpfull for me. Never programed in C and still could follow your course and learn a lot

  • @johnbode5528
    @johnbode5528 Před 4 lety +3

    One nit at 58:18 - b gets the current value of a _and_ a is incremented, but there's no fixed order for those operations - b does not have to be assigned before a is incremented. Similarly for b = ++a, b gets the current value of a + 1 _and_ a is incremented, but there's no fixed order for those operations - a does not have to be incremented before the result is assigned to b. Depending on the architecture, those operations may even happen simultaneously.
    Sorry, it's just that this is something that consistently gets mis-taught - it's always assumed that the increment and assignment happen in a certain sequence, but they don't _have_ to. The operations are _unsequenced_ with respect to each other.
    Consequently, expressions like a[i] = i++ and a++ * a++ can give different results on different platforms. The language definition specifies that any expression that attempts to update an object more than once through the evaluation of an expression (a++ * a++), or tries to both update an object and use its value in a computation (a[i] = i++), result in _undefined behavior_ , meaning that the compiler and runtime environment are not required to handle the situation in any particular way.

  • @modelfreak125
    @modelfreak125 Před 2 lety

    This is great! I am watching this to refresh my memory of taking first level C programing. Before I start the second level. Thanks so much:)

  • @demetra4740
    @demetra4740 Před 4 lety

    Thank you so much!!! So grateful for you kindness 🙏

  • @carverparkes2276
    @carverparkes2276 Před 3 lety

    Awesome! Thanks Caleb

  • @thepuriguy3157
    @thepuriguy3157 Před 4 lety +4

    Thanks a lot Caleb! Please do an intermediate series

  • @arnasir_
    @arnasir_ Před 10 měsíci

    An amazing course Caleb. I am confident that I can now code in C too other than Python and C++ in which I could code earlier already. Looking forward to the 10 Hour course as well. Keep doing the amazing work mate.

  • @BootsandUtes
    @BootsandUtes Před 4 měsíci

    I haven't used C in a long time. This is, perhaps, the best C primer I have ever seen. Thank you.

  • @DavidEvans_dle
    @DavidEvans_dle Před rokem

    Great resource anyone taking a C programming course should definitely reference this.

  • @DavidEvans_dle
    @DavidEvans_dle Před rokem +1

    Bought the BorderLand C/ C++ compiler at a computer show, in Morristown. Been using DJGCC and MS prior.
    Have to say, at the time Border Land compiled really quick and they had a Help telephone number you could call.
    Very nice.

  • @badwolf8112
    @badwolf8112 Před 4 lety +1

    thanks, man. finally i understand C's weird pointer syntax. as for suggestions: function pointers, some best practices, and some memory management tricks would be nice if you decided to make an intermediate crash course.

  • @ChrisPackham1
    @ChrisPackham1 Před 3 lety +3

    More please, intermediate C course would be awesome.

  • @Abadan9999
    @Abadan9999 Před 4 lety

    Thank you Caleb!

  • @Zobney
    @Zobney Před 4 lety

    Your videos are so good thank you so much for putting them on youtube

  • @rtnjo6936
    @rtnjo6936 Před 4 lety +2

    please I would love to see your new video, especially intermediate c course. Thank you!

  • @eivan128
    @eivan128 Před 5 lety +1

    nice one caleb

  • @celestialbeing4767
    @celestialbeing4767 Před 4 lety +2

    Oh hell yeah in vscode. Thank you

  • @basedworldsk8
    @basedworldsk8 Před 5 lety +8

    Note on windows you can just enable subsystem for Linux to get Ubuntu and then use bash to do things in your windows file system through the mnt path.

    • @navjotsingh2251
      @navjotsingh2251 Před 4 lety +3

      Or just download Ubuntu on virtual machine. I don’t like the subsystem too much.

  • @valentijnbruggeman936
    @valentijnbruggeman936 Před 2 lety

    Hey Caleb, i'm a complete noob to programming and just finished watching your course. Enjoyed watching and learning from you!
    The only improvement I could think of as a beginner would be writing out the definitions of the different syntaxes and spending a little more time explaining. I had/have a difficult time understanding what each new one means and I mean what it is at it's core. This could just be me wanting to understand something quickly that otherwise takes times and experience coding (in c). In any case a job well done and look forward to seeing new videos!

    • @Hofer2304
      @Hofer2304 Před 2 lety +1

      As with any language, use it! Write your own little programs. As you learned your native language, nobody said you its rules. Nobody wanted to hide the rules, but you couldn't understand it.

  • @revlambino1450
    @revlambino1450 Před 5 lety +4

    Wow, thanks for what you do sharing knowledge to people for free. again thanks bud

    • @codebreakthrough
      @codebreakthrough  Před 5 lety +4

      You’re welcome. That’ll be $100.

    • @revlambino1450
      @revlambino1450 Před 5 lety

      @@codebreakthrough Sure you deserve it not even kidding who shall I make my I owe you out to? hehe

  • @gazchao
    @gazchao Před 3 lety

    Thanks. Your tutorial is top-notch to me.

  • @Shadowtheguy2000
    @Shadowtheguy2000 Před 4 lety +9

    I have an exam in a class about C programming in about half an hour, thank you for the video

  • @bigbrothertw
    @bigbrothertw Před rokem +3

    28:30 i challenged myself to do this all in gnu nano and so far its going well, hopfully it keeps on going like this 🙂

  • @kusov4748
    @kusov4748 Před 3 lety

    Your laugh is amazing . Love it

  • @sofiasbv7628
    @sofiasbv7628 Před 4 lety +2

    Hi! Thank you for your videos! I have an exam in an hour and I can't find a good explanation for fread and fwrite, do you have one?

  • @williamdurojaye
    @williamdurojaye Před 5 lety +1

    Thanks so much Caleb. Can you please resume your C# tutorial series?

  • @theseigemeister
    @theseigemeister Před 5 lety +1

    Thanks Caleb. Appreciate it. 😊
    Would love a similar video on Javascript if you could.
    Having a tough time with it from the sources I've used so far.

    • @codebreakthrough
      @codebreakthrough  Před 5 lety +2

      I’ll keep this in mind! Anything specific you are challenged by?

    • @theseigemeister
      @theseigemeister Před 5 lety

      Caleb Curry Variables & objects in general. Just having a hard time learning the beginner concepts so I can build upon them you know.
      ~Thank you.

  • @DotaCafe
    @DotaCafe Před 3 lety

    I was watching this on your website but I came here to comment because every time you laugh under your breath while explaining things it inexplicably cracks me up so much hahahaha. Keep this up you are great!

  • @theroboman727
    @theroboman727 Před 2 lety

    Honestly im currently just learning rust, and absolutely loving it, and im only watching this for fun to compare

  • @westfield90
    @westfield90 Před 5 lety +1

    Thank you

  • @boiplaying2647
    @boiplaying2647 Před 5 lety +1

    YES!

  • @bhamuzasiphamandla5560

    you the man DAWG!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @syedah6704
    @syedah6704 Před 3 lety

    Kool course, where is the intermediate course you promised?

  • @seifarram795
    @seifarram795 Před rokem

    thanks man

  • @mikedoeren5960
    @mikedoeren5960 Před 2 lety

    Late to the party, but thank you for the videos!

  • @aydenzhu5938
    @aydenzhu5938 Před 5 lety +1

    I like this crash course so much. Caleb, could you please do a Java programming crash course video?

  • @cgilmore1995
    @cgilmore1995 Před 2 lety

    Do you have a link to that syntax guide you reference throughout the video?

  • @LuLu-js7ku
    @LuLu-js7ku Před 4 lety

    good tuitorial

  • @thomasvickers9443
    @thomasvickers9443 Před 3 lety

    Caleb you are the fucking man

  • @O1dBay
    @O1dBay Před 3 lety

    CHECKPOINT: 33:09 - Variables and Data Types

  • @anoygolui1057
    @anoygolui1057 Před 5 lety

    Great....

  • @alexandert1703
    @alexandert1703 Před 4 lety +1

    I want to ask you for video about makefiles

  • @patrisio1227
    @patrisio1227 Před 4 lety

    Caleb Curry, you are a man among men. The gods are smiling down upon their beautiful creation. Thank you, and be well, my king :)

  • @suzu6165
    @suzu6165 Před 5 měsíci +1

    does anyone gets error for 2d array? 1:41:51 I actually had to use #define instead of adding const . adding const did not solve the issues for me. any suggestions or feedback please? im new to C thank you

  • @techmedia1360
    @techmedia1360 Před 3 lety

    is there a msdn page that shows all the formats like %d %lf etc?

  • @givensabraham8122
    @givensabraham8122 Před 9 měsíci

    You not boring. Am learning

  • @vincenzo3574
    @vincenzo3574 Před 4 lety +1

    Can you make a more advanced one?

  • @wastedxbusted
    @wastedxbusted Před 10 měsíci +1

    at 1:40:02 i can not for the life of me understand what "error: variable-sized object may not be initialized except with an empty initializer" wants from me. I initialized the multi-dimensional array properly just like how it was done in the video and made the column a const variable. I tried to declare the matrix in one line of code and initialize it in another yet it didn't work, so i am pretty much stuck here (i tried to google it but it was to no avail). If anyone could offer help it will be much appreciated!
    *SOLVED*
    _Instead of typing "int const column = 4".. type "enum{ column = 4 }"._

  • @andymouse
    @andymouse Před 5 lety

    didn't take long to get into food related stuff ....now I no caleb is back!

  • @mvargasmoran
    @mvargasmoran Před 3 lety

    expected ';' after top level declarator
    int function lilTabs(int lenght)
    ^
    ;
    1 error generated.

  • @alcejaylos.4257
    @alcejaylos.4257 Před 5 lety

    Caleb, whatever happens, do not stop programming, please

  • @erikmartinez3859
    @erikmartinez3859 Před 4 lety

    CALEB WHAT COMPILER PROGRAM DO YOU USE!!!

  • @sushmapuli1233
    @sushmapuli1233 Před 4 lety

    Hey Caleb,
    Can you do a crash course on JavaScript

  • @IguanamobisPltworzeniestron

    7:23 why?

  • @robvanembden1944
    @robvanembden1944 Před 4 lety +1

    Question I can start a course in C# or python. I've low basic expirience in C. And not sure which language to choose!
    please advise me!!

    • @ksherif482
      @ksherif482 Před 4 lety +1

      Im a noobie as well and really loving C, but I reacon Python is easier as it is user-friendly-er, I suppose.

  • @shivanshubansal1124
    @shivanshubansal1124 Před 3 lety

    is there a second part to this?

  • @DavidEvans_dle
    @DavidEvans_dle Před 3 lety

    Took a 2 credit C course, thinking it would be a easy grade because I thought I knew C.
    The Fordham professor had pointers to structures to pointers, dereference arrays to pointers, etc on the exam. Never really showed up until midterm after the exam. Made sure to attend every class.
    Ended up with a B or a B+ 😒

  • @framepointer
    @framepointer Před 3 lety +1

    36:03 The sizeof operator returns a size_t, not an unsigned long. Before C99, the standard way of printing a size_t would be type-casting it to an unsigned long then using the %lu specifier. Starting C99, you just pass a size_t and the correct format specifier would be %zu.

  • @abdulrahmanselmi9118
    @abdulrahmanselmi9118 Před 3 lety +1

    I cannot compile the code at 1:39:40.
    here is what I get:
    arrays.c: In function ‘main’:
    arrays.c:8:5: error: variable-sized object may not be initialized
    8 | int studentGrades[][columns] = {
    | ^~~
    arrays.c:9:38: warning: excess elements in array initializer
    9 | {1, 3, 4, 6},
    | ^
    arrays.c:9:38: note: (near initialization for ‘studentGrades[0]’)
    arrays.c:9:41: warning: excess elements in array initializer
    9 | {1, 3, 4, 6},
    | ^
    arrays.c:9:41: note: (near initialization for ‘studentGrades[0]’)
    arrays.c:9:44: warning: excess elements in array initializer
    9 | {1, 3, 4, 6},
    | ^
    arrays.c:9:44: note: (near initialization for ‘studentGrades[0]’)
    arrays.c:9:47: warning: excess elements in array initializer
    9 | {1, 3, 4, 6},
    | ^
    arrays.c:9:47: note: (near initialization for ‘studentGrades[0]’)
    arrays.c:10:38: warning: excess elements in array initializer
    10 | {3, 2, 4, 5},
    | ^
    arrays.c:10:38: note: (near initialization for ‘studentGrades[1]’)
    arrays.c:10:41: warning: excess elements in array initializer
    10 | {3, 2, 4, 5},
    | ^
    arrays.c:10:41: note: (near initialization for ‘studentGrades[1]’)
    arrays.c:10:44: warning: excess elements in array initializer
    10 | {3, 2, 4, 5},
    | ^
    arrays.c:10:44: note: (near initialization for ‘studentGrades[1]’)
    arrays.c:10:47: warning: excess elements in array initializer
    10 | {3, 2, 4, 5},
    | ^
    arrays.c:10:47: note: (near initialization for ‘studentGrades[1]’)
    arrays.c:11:38: warning: excess elements in array initializer
    11 | {32, 2, 4, 9}
    | ^~
    arrays.c:11:38: note: (near initialization for ‘studentGrades[2]’)
    arrays.c:11:42: warning: excess elements in array initializer
    11 | {32, 2, 4, 9}
    | ^
    arrays.c:11:42: note: (near initialization for ‘studentGrades[2]’)
    arrays.c:11:45: warning: excess elements in array initializer
    11 | {32, 2, 4, 9}
    | ^
    arrays.c:11:45: note: (near initialization for ‘studentGrades[2]’)
    arrays.c:11:48: warning: excess elements in array initializer
    11 | {32, 2, 4, 9}
    | ^
    arrays.c:11:48: note: (near initialization for ‘studentGrades[2]’)
    arrays.c:8:9: error: array size missing in ‘studentGrades’
    8 | int studentGrades[][columns] = {
    | ^~~~~~~~~~~~~
    Please help!

    • @sewerynkaminski1116
      @sewerynkaminski1116 Před rokem

      Me neither, have you found a solution already?

    • @Ribena499
      @Ribena499 Před rokem

      as a plus you may if u click on the #define you should find some videos talking about the how to use it in C

  • @rittenbrake1613
    @rittenbrake1613 Před 4 lety +7

    2:45:00 😂😂😂😂😂 laugh die

  • @chiranjeevi999
    @chiranjeevi999 Před 5 lety

    Are this for absolute beginner s

  • @adamcolejones
    @adamcolejones Před 2 lety

    Checkpoint: 19:53

  • @Itech6969
    @Itech6969 Před 3 lety

    sorry but is this only for Linux and Mac? If so, why dont u say it in the title, if not, where can i start watching?

  • @collinsopoku6254
    @collinsopoku6254 Před 3 lety

    can somebody help me with any nice code editor for c-program

  • @pastasawce
    @pastasawce Před 3 lety

    I got a segmentation fault error seconds after you mentioned it

  • @robertputneydrake
    @robertputneydrake Před 4 lety

    Good tutorial. And the "hehe"s are all over the place.

  • @kingdavidechatah4093
    @kingdavidechatah4093 Před 4 lety

    okay I feel you didn't give enough details about strings like you didn't talk strset, strstr, strcmp and the rest

  • @a8552bc
    @a8552bc Před 3 lety

    1:39:50

  • @a8552bc
    @a8552bc Před 3 lety

    2:42:00

  • @MoonJumpMania
    @MoonJumpMania Před 4 lety

    Is it possible to do void main(){} instead of int main(){}?

    • @codebreakthrough
      @codebreakthrough  Před 4 lety

      I think so. Try

    • @MoonJumpMania
      @MoonJumpMania Před 4 lety

      @@codebreakthrough Alright thanks

    • @johnbode5528
      @johnbode5528 Před 4 lety

      TL/DR version - don't use void main().
      Michener version - Unless your compiler documentation _explicitly_ lists void main() as a valid signature, the behavior will be _undefined_ . It may work. It may not. On most common server and desktop implementations it won't blow up, but you should (hopefully) get a diagnostic while compiling the code. I know of a couple of older, oddball systems that aren't used anymore where programs using void main() would either crash on exit or fail to load at all. Unfortunately, a lot of references (including K&R) use void main(), but strictly speaking it isn't correct and shouldn't be used.
      For a hosted implementation (basically, anything with an operating system), the standard signatures for main are int main( void ) and int main( int, char **). Use the first form when your program doesn't take any command line arguments, use the second form when it does.

  • @arjunvarma9350
    @arjunvarma9350 Před 4 lety

    Is this tutorial enough to understand entire c and how it works

    • @navjotsingh2251
      @navjotsingh2251 Před 4 lety +1

      Arjun Varma yes. Use this video to start off. Then read a book about advanced data structures and algorithms and try to implement them yourself like bubble sort, heaps, linked lists, Boolean logic, recursion etc

  • @carlosvilla7270
    @carlosvilla7270 Před 5 lety

    I have a mac and I am unable to get past 19:07
    #include
    int main ()
    {
    return 0;
    }
    When i try and compile I get an error Undefined symbols for architecture x86_64:
    "_main", referenced from: implicit entry/start for main executable
    ld: symbol(s) not found for architectrue x86_84
    using the same platform as you. all the colors are the same except for "int" its purple.
    help me please ?

    • @codebreakthrough
      @codebreakthrough  Před 5 lety +1

      Hmmm. Not sure. Try void main and don’t return 0? Let us know what the fix is once you get it. Also obviously but make sure you are compiling the correct file. We’ve all been there 😉

    • @johnbode5528
      @johnbode5528 Před 4 lety

      Did you install the C/C++ extension (ms-vscode.cpptools)?

    • @johnlowell5833
      @johnlowell5833 Před 3 měsíci

      Four years late to this, but if anyone else is running into this issue, it's most likely because you have not saved the file prior to running the gcc filename.c command

  • @meqdad7732
    @meqdad7732 Před 3 lety

    NOICE PLS MAKE A DEEP IN TO C COURSE MY MAN