C Video Tutorial 12

C Binary File IOWelcome to my C Binary File IO tutorial. With the binary view of a file you have access to all the bytes in the file. You can store strings, arrays, structs, etc.

Aside from showing how to save and retrieve strings, I’ll also cover how to save array data and grab it out of the file randomly. I also briefly cover error handling in C. All the code is available below along with a transcript of what I said for translation. Continue reading C Video Tutorial 12

C Video Tutorial 11

C File IO ExampleIn this part of the C Video Tutorial I will provide C File IO examples. I’ll cover C Text File IO in this tutorial and the Binary File IO functions in the next part.

I specifically cover the following topics: FILE Data type, fopen(), fputs(), fseek(), ftell(), fgets(), fclose(), fscanf(), puts(), fprintf(), Different Ways to Access Files, and more. All of the code used is available below the video. Continue reading C Video Tutorial 11

C Video Tutorial 10

C Linked ListIn this video I continue with my C Linked List tutorial. In part 9, I gave you homework and in this video I will show you my answer. You guys asked for more tutorials like this, so I’m giving it a try.

So, today I’ll show you how to search through a Linked List. I’ll also cover how to delete structs and remove them not only from the Linked List, but also from memory. All of the code from the video is below along with a transcription. Continue reading C Video Tutorial 10

C Video Tutorial 9

linked list structureWelcome to my linked list structure or linked list struct tutorial. I have been asked to cover these structs numerous times lately and so I will do so.

In this tutorial and the next I will show how to create an unlimited number of structs using malloc. I’ll focus on creating the structs, adding them to the list and then how to display them. Because you guys ask for homework all of the time, you’ll then get the opportunity to write the code on how to search through the linked list, how to delete structs and free memory. Continue reading C Video Tutorial 9

C Video Tutorial 8

C Malloc TutorialWelcome to part 8 of my C Video Tutorial. In this video I cover a topic I have received many requests for. This is basically a C Malloc Tutorial.

Malloc() ( Memory Allocator ) is used to dynamically set aside memory at run time. Because malloc() returns a pointer to that location in memory it can be a bit confusing. I’ll cover how to store both regular data types as well as structs using malloc(). Continue reading C Video Tutorial 8

How To Install GCC

How To Install GCCIn the past week I have been asked a countless number of times how to install GCC ( GNU Compiler Collection ). I have been using it in my C Video Tutorial.

I show you how to install GCC on Windows as well as on a Mac in the video below. Not only did I make a video, but I also have everything listed step-by-step below after the video. If you have any trouble setting this up, leave a comment below and I’ll try to help. Continue reading How To Install GCC

C Video Tutorial 7

C Video Tutorial 7Welcome to part 7 of my C Video Tutorial! In this tutorial, I’m going to cover a bunch of topics that you have requested and that I have skipped.

I cover the following: strchr(), strrchr(), tolower(), toupper(), ctype.h Functions, _Bool, bool, Numerous Ways to Except Input, getchar(), putchar(), Buffering, gets(), puts(), fgets(), fputs(), How to Eliminate Newline, How to Make a String Lowercase, strcmp() and more. Continue reading C Video Tutorial 7

C Video Tutorial 6

C Video Tutorial 6Welcome to part 6 of my C video tutorial. Today I’m going to cover Unions, Enumerated Types, the Designated Initializer, Using unions in Structs, Recursive Structures, Linked Lists and much more.

I’m also going to experiment with a new style that is more interactive and I hope it feels more like a classroom setting. Throughout the tutorial I will constantly insert brain teasers. Hopefully they aren’t distracting. I do this every once in a while to try and improve. Continue reading C Video Tutorial 6

C Video Tutorial 5

C Struct Video TutorialToday I’m going to cover how to create and use a struct in C. Structs are used when you need more then one piece of data to describe one thing. You can’t use an array because an array only holds data with the same data type

I’ll specifically cover how to : Create a Struct, Get data from a Struct, Initialize a Struct, Pass a Struct to a Function, Use Typedef, Change a Value in a Struct, Use a Struct in a Function, ->, *(structName) and how a Struct is stored in memory. The code follows the video below. Continue reading C Video Tutorial 5

Android Development 17

Android Fragments TutorialWelcome to part 17 of my Android Development Tutorial. This is part 2 of my Android Fragments Tutorial series. Part 1 is here and you should watch it before watching this video.

Fragments are often used so you can create completely different interfaces depending upon the screen real estate available. We’ll cover how to do that and we’ll also look at how we can get the fragments to communicate with each other and the main activity. The Whole package is available here Android Fragments. Continue reading Android Development 17