C Class 1
.. Previous Page
Class recording: Here
January 22nd, 2022
Tasks:
- Ensure you now have
gcc
installed on your system (might be WSL/ Linux/ Windows (Mingw) or MacOS).
- Run
gcc --version
to check if it works.
- Write a “Hello, World!” program in C. Find sample code in here.
- Compile the program using
gcc hello_world.c
.
- Run the program using
./a.out
(or a.exe
on Windows with MingW).
In case of any problems:
- Google the problem and see if it is already solved by someone else.
- Ask your friend to help you, this helps foster a community of programmers.
- If still not solved, ask any instructor/ CC member to help you. You can use Teams/ Facebook Messenger for this.