Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

csyouk/C

Repository files navigation

C From Scratch

This document follows C90.
Recommended compiler : gcc compiler


Git configuration

Editing md files in Chrome

  • By doing so, you can edit md files in chrome web browser.

C Basics

  • Special characters
  • Numeral system
  • Format directives
  • ASCII Code
  • Data type
  • Suffix
  • Operators

Datatype

  • format directives

Represent variety of numbers using bits

  • Represent negative integer using "Signed Magnitude".
  • Represent negative integer using "1's complement".
  • Represent negative integer using "2's complement".
  • How to represent float number.
  • How to represent double number.

Function

  • module
  • function vs procedure
  • signature(return type, argument, function name, )

Preprocessor

  • How preprocessor works.
  • #include
  • #define
  • Macro function
  • extra.

Statement

  • Declaration ( declare variable, function, macro )
  • Expression ( assign , calculate )
  • Blank ( NULL, ;)
  • Judgement ( if, else, else if, switch~case )
  • Compound ( {...} )
  • Loop ( for, while, do~while)
  • Branch ( return, break, continue, goto )

Operators

  • Operator precedence
  • Kinds of operators.

Variable, Variable Scope

  • Storage Class
  • Elements of variable.
    • Specifier
    • Modifier
    • Identifier
  • Stack
  • Global variable
  • Local variable

Array

  • Array with operators.

Struct, Union

  • Structure
  • Union
  • Enumeration

Pointer

  • Pointer.
  • Pointer with array.
  • Pointer with character.
  • Array of pointers.
  • Pointer to array.
  • Dynamic allocation.

About

ANSI C, C90

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /