0x00 C HELLO WORLD All Tasks Solved 100%

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ก.ย. 2024
  • This video gives you step-by step and detailed explanation on the shell scripting and basics of c programming.
    I help break-down and explain complex concepts about programming and web development. I give tips, tricks and general solutions to help developers in their software engineering journey.
    If you got value from these contents kindly like, Subscribe and Share. Thanks.
    gcc website:
    gcc.gnu.org/on...
    Creating a Personal Access Token on Github.
    • Creating a Personal Ac...
    You may want to check these out too:
    0x02 Shell, I O REDIRECTION Part 1 All Tasks Solved
    • 0x02 Shell, I O REDIR...
    0x02 Shell, I O REDIRECTION Part 2 All Tasks Solved
    • 0x02 Shell, I O REDIR...
    0x00. SHELL BASICS. (All Tasks Solved)
    • Video
    0x03 Vi ALX Tasks.
    • 0x03 Vi ALX Tasks
    0x02 Emacs ALX Tasks.mp4
    • 0x02 Emacs ALX Tasks. ...
    Follow me on Linkedin for more
    / akharumejoseph
    Be a part of our Web community
    t.me/Ypnweb_co...

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

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

    God bless you. You are my great teacher. You are the reason why I am still programming. Thank you so much

  • @emmanuel____king1
    @emmanuel____king1 ปีที่แล้ว +23

    You are not clicking on the start test button to actually check the the test is complete & correct.

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

      I swear 😂

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

      Yh I didn't finish up with no 5
      And acted like he did 😅

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

      He’s doing very well.
      You don’t expect him to know everything

    • @iwebiisaacanu-oluwa3301
      @iwebiisaacanu-oluwa3301 ปีที่แล้ว

      I think the project has been done before on his terminal so he might mistakingly omit some things

    • @iwebiisaacanu-oluwa3301
      @iwebiisaacanu-oluwa3301 ปีที่แล้ว

      It happened in previous videos too some codes were wrong yet it was checked as been correct

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

    Have been waiting for your video missed your explanations

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

    God will bless you mightily. You are really a great teacher. Please is it possible to connect with you privately? I will really appreciate and won't take it for granted

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

    you left out ";" after the print command before the return that is why you were encountering the issue with betty I guess
    printf("with proper grammar, but the outcome is a piece of art,
    ");

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

    task 8 >>
    you should use fputs instead of fput
    ===============================================================
    #include
    #include
    /**
    * main - Description
    *Return: 1 means (Success)
    */
    int main(void)
    {
    fputs("and that piece of art is useful\" - Dora Korpar, 2015-10-19
    ", stdout);
    return (1);
    ===============================================================
    we just need to remove the space before fputs as i the previous code

  • @samkingsley7807
    @samkingsley7807 ปีที่แล้ว +5

    i am having issues with the checker. What is not ticking right is the "correct output for a 32/64 bit machine. Please any help

  • @FelixTola-Winjobi
    @FelixTola-Winjobi ปีที่แล้ว +14

    task 5
    #include
    /**
    * * Description: main - Prints out a string to stdout.
    * * Return: 0 if success.
    */
    int main(void)
    {
    printf("with proper grammar, but the outcome is a piece of art,
    ");
    return (0);

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

    I see u had trouble copying in terminal keyboard cant copy but the mouse will. Thanks for the video though

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

    Some of the questions indicated how the output should be but it wasn't added. Why? The main.s etc.Thanks.

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

    thank you boss. the last task, task 8 didn't all check for me. it only checked 0. check 1-6 didn't check me

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

      fputs not fput
      That should make it work

  • @JoshuaAkinwale-mj3po
    @JoshuaAkinwale-mj3po ปีที่แล้ว +3

    my tasks 6, 7, 8 didn't work
    Why😭😭😠😠

  • @tinayokeiya-ok7uu
    @tinayokeiya-ok7uu ปีที่แล้ว

    what keys do you tap to remove the white spaces

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

    By the look of it I can just tellthe output for the last task is wrong.

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

    but how you check your alx-low-level-programming while your are using different repo ??

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

    You forgot to add ; at the end of the pasted line king. Further on thanks

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

    hi thanx for the content. i just have a question for task 1. Compiler. it thought we were gonna put gcc -c $CFILE -o .o the reason why i thought like this is because it says the output should be o not c like the previous task. could you kindly explain this to me?

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

    Task 6 and all the advanced tasks are incorrect

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

      I thought I was the only one very incorrect

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

      not really
      6 is correct

  • @justincase-fs6en
    @justincase-fs6en ปีที่แล้ว +1

    I have have been getting this syntax warning
    c:2: warning: no description found for function main
    for task 6 and 8

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

      justin did you manage to solve your issue, i have the same problem please tell me how you managed to resolve it

    • @justincase-fs6en
      @justincase-fs6en ปีที่แล้ว +1

      @@emmanuelndlovu1015 i put a colon after the first return (Return: 0 (Success))

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

      ​@@justincase-fs6en mine is saying 1 errors trailing whitespace

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

    1:43:19
    u forgot chmod u+x 100-intel before git add . it will not work without it

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

    Just a question on task 4,when you insert #include it changes color just wanted to find do you enter for that or use another function cause mine doesn't change color when I enter

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

    Thanks for your vedio

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

    Thanks

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

    GCC - GNU COMPILER COLLECTION

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

    I am getting errors on C programs tasks, Betty shows that It has passed but on my "check code" I get In function ‘main’:. please assist

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

    Is it possible to use my phone , finding it very difficult to do the task

    • @ypnconnect-soft5154
      @ypnconnect-soft5154  ปีที่แล้ว

      I tried that in my early days, it wasn't really easy to navigate and do the tasks on phone.
      You could try it out though.
      Consider downloading Termux app on your phone.

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

    In task 1, it says "The output file should be named the same as the C file, but with the extension .o instead of .c". how did we execute that?

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

    aome of your work is honestly misleading

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

    sorry, is the readme file also meant to be executable?

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

    after git push it returned an error
    why?

    • @ypnconnect-soft5154
      @ypnconnect-soft5154  หลายเดือนก่อน

      @@sad9355 Can you share the content of the error?

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

    When I git push it says support for password authentication was removed ... how do I fix this so I can fit push

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

      have you checked whether your pAT has expired?

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

    👍

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

    Thank you a lot for the video.
    But i'm having error messages from my checker on task 6 in the 6-size.c file.
    These are the error messages: Correct output for a 32bit machine, Correct output for a 64bit machine.
    Please, what can be done?

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

    1:53:39

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

    Please sir help me
    I'm doing my project on C- Preprocessor and I'm done but when I git push it will be asking of password
    What should I do please?

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

      The password is your git token

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

      @@yahyatragha i'm putting it but is saying "invalid username or password"
      Actually my low level repo expired so I regenerated it back

    • @ypnconnect-soft5154
      @ypnconnect-soft5154  ปีที่แล้ว +1

      @@silassarkinnoma1992 Yeah, these things happens every now and then. What you need do is create a new classic token on GitHub. Copy and use the token as your password. I believe you can do this.
      Btw, when next you're cloning a new repo, clone with your access token, so they stop asking for password each time you try pushing to GitHub.

    • @ypnconnect-soft5154
      @ypnconnect-soft5154  ปีที่แล้ว +1

      Let me know if the reply helped

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

      @@ypnconnect-soft5154 I should just create new classic token alone right?
      No need another repo for now

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

    Twsk😢6 to the advanced ones aren’t correct

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

    some*

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

    I am getting an error on the final task 101-quote.c:7: warning: No description found for return value of 'main'
    main

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

      I have similar error. How do you resolve it

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

      I’m also having this problem

  • @jenn.a
    @jenn.a ปีที่แล้ว

    Why a+x and not u+x?

    • @254wizard
      @254wizard ปีที่แล้ว +1

      a+x is for multiple files while u+x is for a single file.

    • @jenn.a
      @jenn.a ปีที่แล้ว

      @@254wizard ohkk thank u. And can you pls tell me why he did add .o to the $cfile in. Task 1? Cos the question said add .o extension instead of .c

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

    The correct function name for the last question is 'fputs'

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

      Thank you very much, I was stuck there.

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

    The last one
    Its fputs and not fput

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

    How do I remove white spaces

    • @ypnconnect-soft5154
      @ypnconnect-soft5154  ปีที่แล้ว

      Move the cursor to end of each lines in your code and use the Backspace key to remove extra spaces after the text

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

    i hear you are hitting some muskitos hhhh if anyone want to hear it go to minute 1.16.03 🤣🤣🤣🤣

    • @ypnconnect-soft5154
      @ypnconnect-soft5154  ปีที่แล้ว

      Funny dude @crytos2invest.
      Focus and leave out those small creatures out of this. Lol

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

    Q8 correct code is here:
    #include
    #include
    /**
    * main - Entry point
    *
    * Return: Always 0 (Success)
    */
    int main(void)
    {
    write(2, "and that piece of art is useful\" - Dora Korpar, 2015-10-19
    ", 59);
    return (1);
    }

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

    thanks