
Install the CodeBlocks IDE to write and run C programs with MinGW. Create a new console C project, name and save it, then build and run to see hello world.
Explore C basics: include stdio.h and stdlib.h, main function, semicolon terminated statements, printf usage, return values, and single and multi line comments.
Discover how the compiler converts C code to an object file, how linking creates an executable, and how the build and run steps produce a runnable program.
Learn to declare and initialize C variables across int, double, float, char, bool, and string, and to understand memory, bytes, ASCII, and basic casting.
Compare how assigning a double to an int casts the value, then show how const and #define create constants, and finally demonstrate printing a variable’s memory address in hexadecimal.
Master printf and scanf basics in C programming, using format specifiers for int, double, char, and string, and handling input with addresses, newlines, and flush to print multiple variables precisely.
Explore how C arrays organize data into one- and two-dimensional structures, access elements with zero-based indices, initialize and print values, and understand fixed size, memory addresses, and bounds.
This lecture explains C strings as character arrays, including memory layout and null terminator, initialization pitfalls, and string operations like strcpy, strcat, strcmp, and character helpers from ctype.
Explore C operators, including assignment, arithmetic, modulus, and relational operators; learn pre/post increment, compound assignments, logical and not operators, along with type casting, precedence, and sizeof.
Master decision making in C using if-else and switch with break and default, and apply the conditional (ternary) operator to compute max values.
Learn to print array elements using while, for, and do-while loops, and control flow with break and continue while validating user input from 1 to 100.
Explore variable scope rules, shadowing, and function fundamentals, including by-value and by-reference parameters, returns, and simple examples like get age and multiply.
Develop a C power function that computes base raised to an exponent using a loop, returning a double, with tests like 2^3 and 3^2, and compare with math pow function.
This lecture shows a C program that reads integers, maintains a running sum initialized to zero, and stops when the sum exceeds 100, then prints the sum.
This lecture demonstrates reading a sequence of positive integers, using compound assignment to update sum and product with a while loop, stopping on a negative input, and handling empty input.
Learn to implement a C program that reads a positive integer and prints its divisors, including 1 and the number itself, by testing up to n/2 and handle n=1.
Write a C program that reads a positive integer, sums its divisors, and tests whether the sum equals the number to identify a perfect number, printing perfect or not perfect.
Read a positive integer, then sum the numbers 1, 4, 7, 10 by looping from 1 with a 3-step increment up to the limit, and print the result.
Read a positive integer N and compute the sums of even and odd numbers up to N in C by iterating with a loop, updating sum_even and sum_odd via if-else.
Read a positive integer and sum an expression from i=1 to n using a for loop, handling doubles with casting and pow for i squared, then print the result.
Read a positive integer, check divisibility by seven, then compute a reciprocal-sum with a for loop using double precision, and print the result.
Learn to determine whether a user-entered positive number is prime by checking divisors from 2 to n/2, using a boolean flag to print prime or not prime.
Read a sequence of numbers in c programming and initialize min and max with first input. Update min and max as each new number arrives, then print the final values.
Read a sequence of positive integers until a negative input stops the loop, then determine and print the minimum and maximum, starting with the first number.
learn to compute gcd and lcm of two positive integers using simple loops—e.g., 5 and 15—where gcd is the greatest divisor and lcm is the product divided by gcd.
Explore the Fibonacci sequence, where the first two numbers are 1 and each term is the sum of the previous two. Learn to compute the nth Fibonacci with a loop.
Learn to determine a four-digit lucky number by extracting digits with division and modulus, comparing sums a+b and c+d, and printing the result.
learn to fill a 1d array of five integers and compute the sum and product. implement a void function to fill the array by reference and initialize to zero.
Implement a function that counts how many times a target element occurs in a 1d array by iterating with a for loop using the array size, and returning the count.
Learn to find the minimum and maximum in an array using GetMin and GetMax functions. Initialize min and max with the first element and iterate through the rest.
Iterate over a 1d array of eight integers, use the modulo operator to identify multiples of seven, and print them as a space-separated sequence (7, 14, 21).
Learn to fill a 1d array with values ≤150 by re-reading invalid input until accepted, then print the array of valid elements, using while, for, and do-while approaches.
Apply two-dimensional array traversal by printing a 5-by-12 rainfall array row by row and column by column, using dedicated functions and two-decimal formatting.
In C programming, this lecture shows calculating yearly rainfall from a 2d array and computing twelve monthly averages by iterating rows and columns.
Develop a simple C program to estimate carpet cleaning costs from small and large room counts, using fixed prices, a 0.06 tax rate, and a 30-day validity.
Learn to convert cents to dollars and coins, solving with division and with the model operator to yield dollars, quarters, dimes, nickels, and pennies.
Builds a tic-tac-toe game in C using a 3x3 array (1 for X, 0 for O, -1 empty) and display grid functions to render the board.
Implement the tic-tac-toe play function in C, using a switch for slots 1 to 9, marking empty slots, tracking moves to flip players, updating grid, and detecting draws when full.
Finish the tic-tac-toe game by calling the check winner function with the current player value to detect a win from rows, columns, and diagonals, and declare a draw when full.
Organize a C program by creating a header file with prototypes and a matching source file with implementations. Include the header in main and build to verify no errors.
Create a menu-driven C program that builds a number list, supports adding numbers, printing (sorted and unsorted), computing average, min, and max, with do-while loops and function prototypes.
Build a menu program in C by moving prototypes to a header and implementing them in a source file; manage an array with a counter, add numbers, print the array.
Learn to implement a menu driven program in C that can add, find, remove and print numbers in an array, with bracket formatting and index based removal.
Learn to implement a print sorted function in C by copying the array, using a swap function, and printing the sorted copy in increasing order while preserving the original.
Learn to work with strings in C by declaring a character array for a user name, reading input with get string to include spaces, and printing the name.
Copy a string into another by iterating characters and using a length function to determine size, then ensure a null terminator is placed.
Learn how to reverse a string in C by iterating from the last character to the first, printing the reverse, and building a reverse string with the backslash zero.
Write your own strlen-like function in C to count characters by initializing count to zero, iterating until the null terminator (empty string included), and returning the final count.
Implement your own strcpy-like copy function by copying characters from source to destination and appending a null terminator, emphasizing correct array sizes and the backslash zero.
Implement a custom strcat in C by appending a source string to a destination, starting at the destination's terminator and updating the final null terminator. Demonstrates with hello and world.
Implement a string comparison function like strcmp by iterating two strings, comparing characters, returning 0 if equal, -1 if first is less, or 1 if greater, using ASCII order.
Learn to implement squeeze spaces in a string by building a squeezy array with single spaces, then copy back to the original using a null terminator.
Learn to reverse a string and squeeze spaces using simple functions, observe the same result whether you squeeze first or reverse first, and apply these concepts in C programming.
Demonstrates a string starts with function that checks if string one begins with string two by iterating the second string’s characters, comparing each pair, returning true or false.
Explore counting string occurrences in C by implementing a function that checks how many times a substring starts a string, iterating over characters and using string addresses.
Count string occurrences in C using nested loops to compare five-character substrings. Learn how resetting the found flag affects accuracy and code readability during substring matching.
Identify all substring occurrences by iterating over characters, testing starts, counting hits, and printing indices such as 0, 12, and 18, while exploring variable scope and static preservation.
Learn how the index of function searches strings, returning the first occurrence index or -1 if not found, and compare with starts with and last index of.
Master the last index of function by iterating backward from the end to locate the final occurrence, returning its index or -1 when absent.
Identify palindrome strings by removing spaces, reversing the string, and comparing with the original; implement a palindrome function returning 1 for palindrome and 0 for not.
Explore the method 02 two-pointer approach to test palindrome strings, comparing characters with i and j and returning early on a mismatch. See practical C examples, including removing spaces.
Count how many times a character occurs in a string and print the index of the first occurrence using a found flag. Iterate and track length while testing with inputs.
Learn to arrange an array by placing odd numbers before even numbers using a two-pointer index and swaps, with edge case handling and loop control.
Explore structures in C to define a custom data type with name and age fields, using struct and the dot operator to access members and manage multiple records.
Explore how to work with C structures: assign and print struct members, understand why you cannot compare structs with ==, and use typedef to simplify struct names.
Learn how to declare and initialize variables of a struct in C, using typedef, default values with empty braces, and both positional and named member initialization.
Learn how to access addresses in a C structure, including the structure's address, the address of its name member, and the address of its first element.
Learn to create an array of person structures with three elements, fill each name and age, and print them in a loop while handling input buffering with fflush.
Define the person structure globally and create a void function that fills an array of persons and a separate function to print the array, ensuring structure access throughout the program.
Define a student structure containing a course structure, using typedef for a 2d name alias, and access nested members with the dot operator to read names, ages, courses, and grades.
Learn how pointers in C store addresses and enable call by reference. Declare, cast, and safely initialize pointers to null.
Learn to work with pointers in C by assigning B to the address of num, dereferencing to access num, and using a pointer parameter to increment it via pass-by-reference.
Learn how to use the correct pointer type by matching pointers to int and double, preventing incompatible type warnings and ensuring proper printing of addresses and values.
Explore how arrays map to memory, access the first elements, and use pointer arithmetic to traverse integers and strings by incrementing pointers and computing addresses.
Learn pointer arithmetic by comparing addresses of elements and dividing the address difference by the element size (four for integers) to count elements. Use only valid pointer additions or subtractions.
Explore pointer comparison and pointer arithmetic in C by iterating arrays with a pointer using a for loop, dereferencing to print elements, and stopping at the last element.
This fast video shows how an uninitialized pointer holds a garbage address and can crash the program. It also explains casting a void pointer before dereferencing to safely access data.
Demonstrate creating and using a pointer to a structure, including dot and arrow access, printing an age, and referencing a structure to modify it via a function.
Define a person structure with a name and age, then implement by-reference functions to populate and print the data, using pointers, arrow access, and pass-by-value versus pass-by-reference.
Explore how const with pointers protects data and speeds up programs by passing by reference instead of copying large structures, using examples with a person and address operations.
Master pointers in C, including pointer to int and multiple levels of pointers, with addresses, values, and passing pointers by reference.
Swap two integers by using a pointer to a pointer to an integer, showing how to pass and modify addresses to exchange values in C.
Demonstrate pointers and arrays in C by solving exercises, iterating over string characters, and using pointers as arrays to access elements and addresses without modifying the original array.
Compare pointer strings and declared strings in C, noting which are modifiable, how passing them to functions works, and how to declare multi-line strings.
Explore string.h functions for c strings, including safe copy and compare with limits (strcpy, strncpy, strcmp, strncmp), plus concatenation and character search with strchr, strrchr, strpbrk, and strstr.
Explore pointers and arrays in C programming, including pointer to pointer, 2D arrays, row and column indexing, and passing arrays to functions.
Learn to create an array of strings as a 2D char array, treating each row as a string and accessing characters via the first element address, noting memory waste.
Learn to store strings using an array of pointers in C, where each pointer references a string, iterate with a for loop, compare strings, and heed initialization and memory notes.
Define a typedef struct for student with id, name, and three grades, then fill and print its members, illustrating passing by value and by reference with a pointer.
Explore how function pointers and integer pointers interact as you assign and copy pointers among a, b, and c, then observe outputs 13 and 1.
Explore pointer value and content in C programming by creating two double variables, obtaining their addresses, and dereferencing to print both addresses and their stored values.
Learn how to swap the values pointed to by two pointers using a temporary pointer, then verify the swap by printing the characters each pointer now references.
Learn how to swap two integers using pointers by passing their addresses to a swap function, using a temp variable and dereferencing to exchange values in main.
Define a point structure with a name and x, y coordinates in C. Implement showPoint, distance, and equal functions using sqrt and pow, test by printing points and comparing them.
Define a rectangle as a struct of two points (upper right and lower left), compute its area, test point containment, and verify when one rectangle lies inside another.
Learn to implement fillPoints and fillPoint to populate an array of point structures, using pointers and by-reference versus by-value to modify data in main.
Fill an array of points and compute pairwise distances to identify the farthest pair and the longest distance using nested loops that update the result.
Define typedef structs for grade and student in C, including grade code and value, and student id, registration year, specialty, a three-grade array, and an average to be calculated later.
Implement fillGrades to populate each student's grade array and implement fillStudents to fill student records from input, using pointers and structure fields.
Implement a function that counts students by specialty and returns the number. Implement a function that finds a student's best grade by iterating through grades to pick the maximum.
Implement setAverage by passing a student by reference to compute and assign the average of three grades, and identify the best student in a specialty by comparing grades.
Develop a practical understanding of struct-based data and pointers by building and debugging a C program that manages an array of students, their grades, and averages.
Implement a strlen-style function with pointers, iterating a character pointer until the null terminator and counting characters, while exploring pointer increment and pass-by-value semantics.
Master the strcpy-like copying technique by using pointers to copy characters from source to destination until the null terminator, advancing both pointers and appending the terminator.
Implement a pointer-based strEqual function that compares two strings character by character using pointers, returning 1 if all characters match and 0 if any mismatch is found.
Learn to implement strPrefix and strSubStr in C using pointers to check if one string starts with another and if it contains it as a substring, returning 1 or 0.
Learn to count occurrences of a substring in C using pointers. The lecture shows pointer traversal, a counting loop, and a cleaner conditional increment when matches occur.
Explore pointer arithmetic and array access in C by tracing outputs as a pointer traverses an int array, using pre and post increments to produce 21, 22, 32, 33, 43.
Analyze pointer arithmetic and dereferencing in C to print array elements and addresses, revealing how p, b, and a relate to the first to eighth elements.
The lecture demonstrates a pointer to a pointer to integer accessing x, which is set to three. Dereferencing twice yields 3, and the pointers reference the same address.
Explore how three int variables and two int pointers interact as you perform pointer assignments, increments, decrements, and arithmetic, revealing how A, B, and C values evolve and printed outputs.
Analyze struct and pointer concepts, including a self-referential struct causing incomplete type errors, invalid pointers that crash, and a dedicated equal_points function to compare two points.
Explore returning a struct in C programming by creating a point with x and y doubles and returning it from a function, illustrating value copy.
Learn how to return the address of the first digit in a string using a char pointer and isdigit, and why returning a local variable's address can crash.
Explore returning a pointer to the first element of an array in C, and why the address of a local variable causes crashes; learn how dynamic allocation fixes it.
Explore dynamic memory allocation by examining how local variables live on the stack and how the heap enables manual allocation and control over memory lifetime.
Allocate memory on the heap with malloc and calloc, using size of to compute bytes, cast the void pointer, and access integers, doubles, chars, or structures while tracking heap space.
Demonstrates how realloc expands dynamic memory, allocates a new block, copies existing data, frees old memory, and returns a pointer to the new location, enabling resizing within C programs.
The lecture shows that returning the address of a local variable creates a dangling pointer after a function ends, leading to crashes, and that null is returned to protect us.
Learn how to allocate memory on the heap and use the free function to free it, ensuring memory is reusable and preventing access to freed memory.
Explore dynamic memory allocation by creating an integer on the heap, returning its address to main, and using pointers to print and free the value.
Allocate memory on the heap responsibly by using pointers and freeing it; avoid memory leaks by ensuring every allocated block is deallocated when no longer needed.
Compare automatic, static, and dynamic allocation by explaining memory allocation for local variables and function parameters, global and static variables, and heap allocations during program execution.
Allocate an array on the heap based on the number of students, fill it with grades, and compute the average, then free the memory to prevent leaks.
Learn to create an array on the heap in C by returning a pointer to its first element, filling it with a for loop, and freeing memory.
Learn to create an array of pointers to integers and allocate memory for each element. Initialize, print, and finally free each pointer to prevent memory leaks.
Explore how pointers form a 2d array by allocating memory per row and accessing elements with pointer arithmetic. The lecture demonstrates printing values and freeing memory after use.
Explore memory-efficient C programming by using a temporary heap string, measuring the user name length, allocating an exact-sized buffer, copying the name, and freeing memory.
Learn to build an array of strings in C by using an array of pointers to heap-allocated strings and careful memory management to store exact sizes.
Demonstrates constructing a createString() function that allocates a string on the heap. Return the string's address via dynamic allocation and ensure proper memory management.
Learn to resize strings with realloc in C by adding one character at a time, using pointers and by-reference size updates, with NULL checks and proper memory freeing.
Implement and test a C function insert that inserts a character at a given index in a string, returning a new heap-allocated string and validating the index.
Learn to return odd numbers from an array by counting them, allocating an exact-size result array, and filling it with the correct elements, with size passed by reference.
Use realloc to grow the array of odd elements, update current size, and free memory when there are no odd numbers.
Learn to work with structures and dynamic allocation by creating a heap-allocated person with an exact-length name and returning a pointer to that object.
Learn how heap-allocated arrays and pointer arithmetic in C determine program output, with a and q traversing elements and pre/post increments to yield 1, 6, 2, 9.
Learn how streams handle input and output in C programming, including standard streams and the physical vs logical distinction. Explore reading from and writing to text and binary files.
This lecture explains opening files in C with fopen and freopen, cover mode strings (r, w, a, r+, w+, a+), and describe read, write, append, creation, and binary variants.
Open a file with fopen by providing a path and a mode, returning a file pointer or null. Manage paths with escaped backslashes and distinguish read versus write modes.
Explore how freopen redirects streams to a file or the console, open files in read or write mode, check success via null, and write or print output accordingly.
Open a file with fopen, then close it with fclose after work, checking for a return value of 0 on success and -1 on failure to ensure proper resource release.
Explore using ftell to obtain the current file position and fseek to move the file position indicator from the start, current, or end of the file.
Learn how to read characters from a text file using fgetc, print each character, and use rewind to reset to the start, illustrating EOF handling and ASCII values in C.
Learn to read strings from a file with fgets by specifying a buffer and stream. It reads n−1 characters, adds a null terminator, and stops at newline or EOF.
Learn how to write characters to a file using fputc in C, including ASCII conversion, file position, and write versus append modes.
Explore how fputs writes a string to a file in C, returning an int to indicate success or error, and how appending and newlines affect file contents.
Master reading data from text files with fscanf by matching a pattern to strings, integers, and doubles, handling spaces.
Learn how to use a printf-style function to write patterned output to a file, manage spaces and formats, and verify the number of characters written.
Learn to write data to binary files with fwrite by supplying a data pointer, element size, and count in wb mode, and handling the number written.
Learn to read and write binary data in C using fread and fwrite, manage file pointers with rewind, and read or write integers and doubles, including an array of doubles.
learn to implement a file length function in C that opens a path, reads characters one by one, counts them until end of file, and returns -1 on open errors.
Develop a printContent function that opens a file and prints its content, either char by char with fgetc or using fgets with a 255-character buffer, then closes the file.
Read three person records from a file using fscanf, parsing first name, last name, age and grade as doubles. Print three formatted sentences with the retrieved data.
Learn to print a file in reverse order by moving the file pointer from end to start using seek and getc, with special handling for backslashes to preserve lines.
Learn to implement writeCharacters that writes A to Z into a file using fputc, with open, close, and print content steps.
implement a copy file function that opens a source file, reads characters, and writes them to a new copy file, forming the new name by appending 'copy' and .txt.
C programming course teaches saveWords and printWords to read words from the user and append them to a file in append mode. It prints the stored words separated by spaces.
Explore swapChar() method 01 to replace each old character with a new one in a file by seeking back, rewinding, and overwriting with fputc.
Swap a character by iterating over characters, writing matches to a new copy, then remove and rename the copy to the original file to complete the change.
Implement a function fLines that returns the number of lines in a file by counting backslashes and newline characters as getc reads input until eof.
Develop a C currency converter by loading exchange rates from a data file, displaying available currencies, validating user input for two currencies, and performing conversions with a dedicated function.
Continue building a C currency converter by implementing convert to read currency pairs from a file, apply the exchange rate, and output the converted amount, with input validation.
Learn to extend the currency converter by implementing a void add_conversion function that appends two currency codes and a rate to a file, with prompts for invalid input.
This lecture updates a C currency converter, showing how to prompt for conversions, add new currency pairs, print results, and fix compile issues with function prototypes and string headers.
Write a function f equal to compare files character by character, reading files in tandem until a mismatch or file end, returning 0 if not equal or 1 if equal.
learn to save and read an array of integers to a binary file with saveNumbers and readNumbers, using fopen, fwrite, fread, and pointer arithmetic in C.
Save a person as a single binary struct with a name and age, write it to a binary file, and read multiple records back to print each name and age.
Define an employee structure with id, name, category, salary, and tax; implement a fill function that reads and validates category A, B, or C and computes tax by category.
Write a function to read employees and save them to a binary file by appending, filling each employee in a loop, and writing them individually; the second solution is cleaner.
Write a function that counts category C employees by reading the employees file, with the filename passed as a parameter, and returns the total count.
Read employees from a file, then find and print the employee with the highest net salary by iterating the array.
Implement a remove_employee function that reads all employees, filters out the target id, and writes the remaining records to a new file. Then update the total employee count accordingly.
Build a C employee manager that uses a binary file to store and update employees, supports add/remove, prints by category A/B/C, and saves the total employee count.
Migrate to Java by setting up the JDK and IDE, then learn Java basics: classes and main method, variables and types, input and output, arrays, strings, operators, and control flow.
So want to get into programming and learn C LANGUAGE? Excellent Choice !
Learning C makes you a better programmer in other languages like C++, Java, or C#. Also, you get to know how things really work "under the hood" and you will find it really easy to learn any other programming language when you learn C.
Why Choose This Course ?
I made sure this course is unique. It is easy and simple, efficient, doesn't waste your time, and most importantly makes you a PROGRAMMER.
I put together all that I have learned -Online and in University- in ONE course. Here, you will get what you need to be a programmer. No useless stuff, you will save your time with straight-to-point videos.
What Will You Get ?
- Develop your programming skills: From "Nothing " to "Pro"
- In-depth knowledge and practice - 6+ Hours Course with 11+ Hours of Exercises
- Flexible learning - At Your Own Pace, On Any Device
- Zero-fluff - Straight to the point, no time wasted
- Clear delivery - I explain every single thing clearly, step-by-step
REMEMBER: you have a "30-Days" money back guarantee, so don't worry if you have any doubts...
So what are you waiting for? SEE YOU INSIDE !