/c-notes

Bogazici University CmpE 150 Introduction to Computing (C programming language) Notes

Primary LanguageC

CmpE150 - Spring 2020

Bogazici University CmpE 150 Introduction to Computing (C programming language) Lab Notes

Email: burak.suyunu@boun.edu.tr

Notes From Other Labs

Weeks

  • Introduction
  • printf(), scanf()

Star Items

- Indentation
- Read Errors and Warnings
  • Data types
  • int, float

Star Items

- Always use  the correct format specifier (%d %f ..)
- Type Casting
  • Operators
  • char

Star Items

- Zero => False, Nonzero => True
- Letters and digits are consecutive in ASCII table
  • Conditional Statements

Star Items

- Indentation saves lives (and codes)
- No boolean expression after else
  • Loops
  • Loops
  • Nested Loops
  • Functions
  • Functions - Call by Reference
  • Pointers
  • Arrays