#1: Getting Started with C Programming | C Programming for Beginners

00:05:53
https://www.youtube.com/watch?v=KnvbUiSxvbM

概要

TLDRDenne videoen er den første i en serie om C-programmering, presentert av Pa manand, en programvareutvikler hos Programis. Han forklarer hva C-programmering er, hvorfor det fortsatt er relevant, og hvorfor det er viktig å lære det. C er et generaliseringsspråk som gir dyp tilgang til maskinvare og har mange applikasjoner, selv om nyere språk som Python og JavaScript også har blitt populære. Videoen gir også en guide på å installere en C-kompilator og text editor, men foreslår å bruke Programis' online verktøy for å begynne å kode umiddelbart. Videoen illustrerer hvordan du skriver ditt første 'Hello World'-program i C. Instruktøren oppfordrer til å praktisere koding for å få mest mulig ut av læringen og nevner at fremtidige videoer vil dekke variabler i C-programmering.

収穫

  • 👨‍💻 C er et allsidig og kraftig programmeringsspråk.
  • 📚 Lære C hjelper deg å forstå programvare og maskinvare interaksjon.
  • 💡 C er fortsatt relevant på grunn av effektivitet og maskinvarenivåtilgang.
  • ✍️ Praktisert koding er viktig for å lære effektivt.
  • 🔌 C gir dypere tilgang til maskinvare enn moderne språk.
  • 📈 Det er fortsatt stor etterspørsel etter C-programmerere.
  • 🖥 'Hello World' programmet er en klassisk introduksjon.
  • 🔨 Programis har et online verktøy for å kjøre C-kode.
  • 🚀 Neste video vil dekke variabler i C.
  • 🎓 Ofte blir C undervist som første språk i universiteter.

タイムライン

  • 00:00:00 - 00:05:53

    Videoen introduserer C programmering ved å forklare hva språket er og dens bruk i utvikling av operativsystemer, nettlesere og databasestyringssystemer. Til tross for nye språk som Python og JavaScript, forblir C populært på grunn av dets hastighet, effektivitet og evne til å få tilgang til datamaskinens maskinvare direkte. Det er fortsatt mange jobber for C-programmerere. Serien mener at læring av C gir en dypere forståelse av programmering og interaksjonen mellom programvare og maskinvare. Videoen viser også hvordan man skriver og kjører et enkelt "Hello World" C-program i en nettleserbasert editor.

マインドマップ

ビデオQ&A

  • Hva er C-programmering?

    C er et allsidig programmeringsspråk med mange applikasjoner, inkludert utvikling av operativsystemer og databaser.

  • Er C-programmering utdatert?

    Nei, C er fortsatt populært på grunn av sin effektivitet og evne til å gi dyp tilgang til maskinvare.

  • Hvorfor bør jeg lære C?

    Å lære C hjelper deg å forstå samspillet mellom programvare og maskinvare på et dypt nivå.

  • Hvordan kjører jeg C-kode uten å installere noe?

    Du kan bruke et nettbasert verktøy som Programis sin online C-kompilator.

  • Hva er 'Hello World'-programmet?

    Det er et enkelt program som skriver ut "Hello World" på skjermen, ofte brukt for å introdusere nye programmeringsspråk til nybegynnere.

  • Hva er en C-kompilator?

    En C-kompilator er et verktøy som oversetter C-kode til maskinlesbar kode.

  • Hvor mange jobbåpninger finnes det for C-programmerere i USA?

    Ifølge Glassdoor er det 18,000 aktive jobbåpninger for C-programmerere i USA.

  • Hva er hovedfunksjonen i C-programmering?

    Hovedfunksjonen er int main(), og det er startpunktet for hvert C-program.

  • Hva brukes #include <stdio.h>-linjen til?

    Denne linjen importerer nødvendige biblioteker for å bruke funksjoner som printf i et C-program.

  • Hva anbefaler instruktøren for å lære programmering effektivt?

    Instruktøren anbefaler aktivt å skrive kode mens man lærer, for bedre forståelse og oppbevaring av kunnskap.

ビデオをもっと見る

AIを活用したYouTubeの無料動画要約に即アクセス!
字幕
en
オートスクロール:
  • 00:00:00
    hey guys my name is Pa manand and I am a
  • 00:00:02
    software developer here at programis I'm
  • 00:00:05
    really glad to be your instructor for
  • 00:00:07
    this video series on C programming and
  • 00:00:09
    in this series we will learn everything
  • 00:00:11
    you need to know to get started with C
  • 00:00:14
    by the end of this series you will have
  • 00:00:15
    a good understanding of c and
  • 00:00:17
    programming in general so let's get
  • 00:00:23
    started so what is C programming C is a
  • 00:00:26
    general purpose programming language
  • 00:00:28
    that has wide range of applications it
  • 00:00:30
    was initially developed to rewrite Unix
  • 00:00:32
    operating system apart from that modern
  • 00:00:35
    web browsers like Google Chrome Firefox
  • 00:00:38
    database management system like MySQL
  • 00:00:40
    and hundreds of other application you
  • 00:00:42
    see C is pretty old language created
  • 00:00:44
    during 1970s and with the rise of new
  • 00:00:47
    languages like Python and JavaScript
  • 00:00:50
    there may arise an important question is
  • 00:00:52
    C outdated the simple answer to this is
  • 00:00:55
    no while these new languages have their
  • 00:00:57
    own benefits C is still a popular
  • 00:01:00
    language for several reasons C is very
  • 00:01:03
    fast and efficient so if you are working
  • 00:01:05
    an application where efficiency is must
  • 00:01:08
    like compilers or operating system C is
  • 00:01:10
    a good choice also C programming allows
  • 00:01:14
    us to access the hardware of computers
  • 00:01:16
    on a deeper level that modern languages
  • 00:01:18
    do not that's why there is still a lot
  • 00:01:21
    of demand for C programmers according to
  • 00:01:24
    glass door a popular job portal site
  • 00:01:26
    there are 18,000 active job openings for
  • 00:01:29
    C programmers in United States in fact
  • 00:01:32
    many universities teach students C
  • 00:01:34
    programming as their first language and
  • 00:01:36
    it was the first programming language
  • 00:01:38
    for me as well there is a good reason
  • 00:01:41
    for it learning C helps you understand
  • 00:01:43
    how the software and Hardware interact
  • 00:01:45
    with each other as C allow us to
  • 00:01:47
    directly work with computer
  • 00:01:49
    memory so on the question of should you
  • 00:01:51
    learn C while C programming may not be
  • 00:01:54
    the hottest language out there we at
  • 00:01:56
    programs believe every programmer should
  • 00:01:58
    learn C eventually
  • 00:02:00
    it helps us to understand programming
  • 00:02:02
    from a deeper level here is a line from
  • 00:02:04
    Joel spolski the founder of stack
  • 00:02:07
    Overflow if you can't understand why
  • 00:02:10
    this code copies a string you are a
  • 00:02:12
    programming based on Superstition so
  • 00:02:14
    getting to the basics and understanding
  • 00:02:16
    it is the must for every
  • 00:02:21
    programmer before we learn to write our
  • 00:02:23
    very first program our computer needs to
  • 00:02:25
    install a c compiler and a text editor
  • 00:02:29
    to make this process easier we have
  • 00:02:31
    created an online tool that lets you run
  • 00:02:33
    see on the browser without installing
  • 00:02:35
    anything to access our online C editor
  • 00:02:38
    we'll open our browser and go to this
  • 00:02:41
    URL
  • 00:02:42
    www. program
  • 00:02:45
    is.com SL c-programming
  • 00:02:52
    slashonline Das
  • 00:02:56
    compiler you can also find the link in
  • 00:02:58
    the video description below we will
  • 00:03:01
    write our code in this area and when I
  • 00:03:03
    hit run it will execute the code and SE
  • 00:03:06
    output in this
  • 00:03:08
    area now let's write our very first C
  • 00:03:12
    program we'll create a program called
  • 00:03:14
    hello world if you do not know a hello
  • 00:03:16
    world is a simple program that displays
  • 00:03:19
    hello world on the screen since it's a
  • 00:03:21
    simple program it is often used to
  • 00:03:23
    introduce a new programming language to
  • 00:03:25
    beginners writing even a simple program
  • 00:03:28
    like this also involves a couple of
  • 00:03:30
    steps so bear with me first we need to
  • 00:03:33
    create the main function int main with
  • 00:03:38
    parenthesis and with Co braces this is
  • 00:03:41
    the main function it's the starting
  • 00:03:43
    point of every C program now to Mark the
  • 00:03:46
    end of this program we'll need to use
  • 00:03:49
    return statement like
  • 00:03:51
    this although this part is not necessary
  • 00:03:55
    it's considered a good programming
  • 00:03:56
    practice now to print the text in C
  • 00:03:59
    programming we first need to import the
  • 00:04:01
    file named
  • 00:04:02
    stdio.h for that I'll write here has
  • 00:04:07
    include
  • 00:04:11
    stdio.h for now just remember that every
  • 00:04:14
    C program will have this structure and
  • 00:04:17
    we will write the code inside this corly
  • 00:04:19
    braces so to print the hello world I
  • 00:04:21
    will write here print
  • 00:04:25
    F bracket inside quotation hello
  • 00:04:32
    world and end this statement with a
  • 00:04:35
    semicolon now let me run this
  • 00:04:38
    code as you can see in the output we get
  • 00:04:41
    Hello
  • 00:04:42
    World here are the points to take away
  • 00:04:45
    from this video every C Program start
  • 00:04:47
    from this main function we will write
  • 00:04:50
    our code inside these corly
  • 00:04:52
    bra as we go further in this course we
  • 00:04:55
    will cover these lines in much more
  • 00:04:57
    detail and write some very interesting
  • 00:04:59
    programs so be sure to subscribe to the
  • 00:05:02
    channel and ring the bell icon and
  • 00:05:04
    before we end this video I have a
  • 00:05:06
    suggestion for you the best way you can
  • 00:05:08
    learn programming is by writing code if
  • 00:05:11
    you're just watching videos without
  • 00:05:13
    actually writing code you may soon
  • 00:05:14
    forget and lose interest so I highly
  • 00:05:17
    recommend you to practice what you have
  • 00:05:19
    watched as we move forward in this
  • 00:05:21
    course that's it for the video I hope
  • 00:05:23
    you learned something if you like the
  • 00:05:25
    video hit the like button and don't
  • 00:05:27
    forget to subscribe and ring the bell
  • 00:05:29
    icon so you don't miss the next video if
  • 00:05:31
    you have any questions and feedback use
  • 00:05:33
    the comment box in the next video we'll
  • 00:05:36
    learn about variables in C programming
  • 00:05:38
    and how they are used to store data see
  • 00:05:40
    you in the next video Happy programming
  • 00:05:46
    [Music]
タグ
  • C-programmering
  • programmeringsspråk
  • softwareutvikling
  • Hello World
  • kompilator
  • kode
  • maskinvare
  • effektivitet
  • læreprogrammering
  • Programis