This tutorial helps you to avoid some of the common pitfalls with strings, buffers, stacks and memory leaks.
Crashproof C++
Thursday, March 13, 2008
Crashproof C++
Posted by htRULZ at 9:20 PM 0 comments
Saturday, February 16, 2008
Monday, February 4, 2008
Programming in C Course
Here is a great online programming course with all materials and notes available for free: Programming in C Course. Included are the lecture workbook, exercises, problems, and assessments. Solutions to all of these are also included.
C Programming Workbook and Exercises:
- Session 1 Introduction To Programming
basic C program, syntax rules, variables, naming variables, the printf statement
Exercise: Hello, World!
Exercise: Large letter
- Session 2 Data types, basic arithmetic
Exercise: Real roots of a quadratic equation
Exercise: Volume converter
- Session 3 Control: decisions and looping
Exercise: Hello, world! revisited
Exercise: Factorial
Exercise: Quadratic roots revisited
Techniques for planning and writing an algorithm as a C program,
use of flow diagrams, step-by-step solutions to two past assessments
Exercise: Day of week
Exercise: Newton-Raphson method
- Session 5 Functions
returning values from functions, math.h library
Exercise: Replacement pow() function
Exercise: Simple sort function
- Session 6 File I-O, formatted I-O
use of printf to format output, more on scanf
Exercise: Cartesian to polar conversion (Vectors Data File)
Exercise: Student database (Students Database File)
- Session 7 Arrays, string handling
string handling
Exercise: Full name
Exercise: Matrix multiplication
- Session 8 Structures
passing a structure to a function, linked lists.
Posted by htRULZ at 5:42 PM 0 comments
Labels: Tutorials
Subscribe to:
Comments (Atom)
