Showing posts with label video. Show all posts
Showing posts with label video. Show all posts

Saturday, 9 April 2011

Functions in pseudo-code

We create function prototypes, definitions, and calls, all in pseudo-code. In this way we understand the basic skeleton of single filed C source code. Parameters(for prototypes and definitions) and arguments(for calls) are succinctly explained. The idea of return types(or the lack thereof, using void) is examined, and the reason why functions exist in code is also explained.

Span Of Statements

In this video tutorial, we check the way the C compiler treats the different tokens, by actually dividing a big line of code into two smaller lines, each time separating the lines in different spots, so as to understand better how the C compiler interprets the different divisions.

Friday, 8 April 2011

Code::Blocks setup

The Code::Blocks is set-up so that we can use the MinGW set of utilities for compilation. C/C++( .c , .h , .cpp , .cc , .C , .H , .CPP , .CC , etc.) file extensions are associated with Code::Blocks. The first C project is tried out using the Code::Blocks project templates. There's a bug in Code::Blocks that is fixed in later versions, but for this version I show you how to fix it in the next video in the series.