
Install code blocks, create a console project, and write a simple hello world program in C. Build, compile, and run to view the output and iterate with edits.
Write a hello world program in C to learn about header files, includes, main function, printf, stdout, and basic project setup in a console application.
Learn debugging essentials by using breakpoints, watching variables, and stepping through code with step into and continue, to run programs and pinpoint issues.
Explore structures as data containers in C, like half an object, defining fields like name, enrollment date, and credits, using arrays of structures and dot notation.
Learn how to create your own data types with enumerated data types in C, using examples like primary colors red, yellow, blue, and booleans true or false.
Explore how variables are declared and printed in C, covering integers, floats, characters, and strings, with comments and printf formatting to display values.
Learn how to use if-else and nested if statements in C, define booleans and enumerations, declare constants, and print enumerated colors with a parallel array while calculating tax.
Explore arrays in plain old C, from one-dimensional lists to two- and three-dimensional structures with zero-based indexing. Learn how parallel arrays link related data and require a consistent data type.
Learn how to use for loops to traverse arrays, initialize and update elements, and implement single and nested loops for one- and two-dimensional arrays.
Master do-while-until loops and their use cases, compare them with while loops, and manage a boolean control variable to avoid infinite loops.
Explore writing and organizing functions in C, learn about main, void, parameters, and return values, and see how to pass arguments and manage local scope for maintainable code.
Learn how to use C comments effectively, including line // and block /* */ styles, and document code with author, description, and change history in function comments.
Learn how to declare a function before main and define it after in c, and how header libraries and including other source files fit into this approach.
Explore how pointers connect nodes to form a single linked list using head, next, and data. Learn how to allocate nodes, assign addresses, and traverse the list to print data.
This course will teach you the basics of programming using the programming language C. C is the forerunner of C#, C++, Java and most higher level languages. It is best not to start object oriented programming until you have been initiated with and are fairly comfortable with, structured programming. This course will start from the simple "Hello World" program and expand through variables, loops, if then statements and constructs, arrays, loops, nested loops and nested ifs, functions, parameters, arguments, structures, and arrays of structures. This class will go a little beyond what you would normally learn from an introductory programming class, and I should know, I have been teaching programming in C, Java, C++, C#, and Basic for 20 years. It will go up to but not include object oriented programming, which there would be more than enough for a complete other class. Learn from a practicing programmer with 35 years of professional experience and 20 years of teaching programming and math. All you need is a desire to learn, a computer that is not from the stone age, and patience.
Some people think you have to be brilliant to be a programmer. I can tell you categorically that this is not true. The virtue that I find most helpful if you want to be a programmer is patience. You will inevitably get stuck on an error that you could swear looks right and the computer says it isn't. Guess what. The computer is right and you are wrong. I have been programming a very long time and I have yet to figure out something that was not my fault. Even experienced programmers get stuck, they just don't get stuck as often and have learned how and when to get help.
The second virtue you should have if you want to be a programmer is curiosity. Learning never stops in the IT world. However you can learn an incredible amount using a 10 year old computer and free software. Everything I have done and will show for this class was done on a Windows 8.1, 4mb RAM, computer with a cracked screen, a missing Escape key, and duct tape. This is seriously true. If you don't like to try, to explore, to learn, then programming might not be a career for you(although really I think of programming as problem solving using a computer language, and problem solving is relevant to everyone). So give it a shot. See if you like it. If you do, you will never be bored for the rest of your life.