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...
God bless you. You are my great teacher. You are the reason why I am still programming. Thank you so much
So glad it helped👍
You are not clicking on the start test button to actually check the the test is complete & correct.
I swear 😂
Yh I didn't finish up with no 5
And acted like he did 😅
He’s doing very well.
You don’t expect him to know everything
I think the project has been done before on his terminal so he might mistakingly omit some things
It happened in previous videos too some codes were wrong yet it was checked as been correct
Have been waiting for your video missed your explanations
Thanks Debby, we are back ☺💪
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
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,
");
Observed that. Thanks for feedback
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
Thank you so much for this @shadymag3614
you too much for this update, 🙌
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
Please check your code again
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);
God bless you for this
And you too sir
Why are my betty checks failing
Thank you
thanks man. really
I see u had trouble copying in terminal keyboard cant copy but the mouse will. Thanks for the video though
Some of the questions indicated how the output should be but it wasn't added. Why? The main.s etc.Thanks.
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
fputs not fput
That should make it work
my tasks 6, 7, 8 didn't work
Why😭😭😠😠
what keys do you tap to remove the white spaces
By the look of it I can just tellthe output for the last task is wrong.
but how you check your alx-low-level-programming while your are using different repo ??
You forgot to add ; at the end of the pasted line king. Further on thanks
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?
Task 6 and all the advanced tasks are incorrect
I thought I was the only one very incorrect
not really
6 is correct
I have have been getting this syntax warning
c:2: warning: no description found for function main
for task 6 and 8
justin did you manage to solve your issue, i have the same problem please tell me how you managed to resolve it
@@emmanuelndlovu1015 i put a colon after the first return (Return: 0 (Success))
@@justincase-fs6en mine is saying 1 errors trailing whitespace
1:43:19
u forgot chmod u+x 100-intel before git add . it will not work without it
yeah
chmod u+x 100-intel
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
basically it should change color
Thanks for your vedio
Thanks
GCC - GNU COMPILER COLLECTION
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
What task please?
the colon beside the first Return was omitted
Is it possible to use my phone , finding it very difficult to do the task
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.
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?
same question
aome of your work is honestly misleading
sorry, is the readme file also meant to be executable?
no
after git push it returned an error
why?
@@sad9355 Can you share the content of the error?
When I git push it says support for password authentication was removed ... how do I fix this so I can fit push
have you checked whether your pAT has expired?
👍
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?
Please check your code again
@@ypnconnect-soft5154 I am also having the same error
In front of return put :
@@ypnconnect-soft5154 same only having an error saying whitespace
1:53:39
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?
The password is your git token
@@yahyatragha i'm putting it but is saying "invalid username or password"
Actually my low level repo expired so I regenerated it back
@@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.
Let me know if the reply helped
@@ypnconnect-soft5154 I should just create new classic token alone right?
No need another repo for now
Twsk😢6 to the advanced ones aren’t correct
some*
I am getting an error on the final task 101-quote.c:7: warning: No description found for return value of 'main'
main
I have similar error. How do you resolve it
I’m also having this problem
Why a+x and not u+x?
a+x is for multiple files while u+x is for a single file.
@@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
The correct function name for the last question is 'fputs'
Thank you very much, I was stuck there.
The last one
Its fputs and not fput
Thanks for the feedback 👍
How do I remove white spaces
Move the cursor to end of each lines in your code and use the Backspace key to remove extra spaces after the text
i hear you are hitting some muskitos hhhh if anyone want to hear it go to minute 1.16.03 🤣🤣🤣🤣
Funny dude @crytos2invest.
Focus and leave out those small creatures out of this. Lol
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);
}
6-size says trailing whitespace 1 errors
thanks