Fall 2017 Lecture 02
- Date
- August 23, 2017
- Topics
- Review
- Development Environment
- Commenting
- Importing
- main function
- Printing Output: printf function
- A backslash, '\', is the escape sequence character
- Try out: \n, \t, \", \\
- Data Types: char, int, float
- User Input: scanf function
- "gcc program.c" vs "gcc program.c -o program"
- References
- JetBrains Student Apply Now
- GNU C Compiler (gcc)
- Mac: Using Homebrew to Install GCC
- Windows: Using MinGW to Install GCC
- Hello Program
- Reading
- Chapters 1 & 2
- Exercises
- HW #1 is posted.
- Download & Install: CLion from JetBrains
- Download & Install: the GNU C Compiler
- Compile and run a C program that prints "Hello World" to the console.
- Compile and run a C program that prints your name and major on different lines to the console.
<<<< Prev
Next >>>>