C Tutorials and Insights

Learn about the latest trends in C. Read tutorials, posts, and insights from top C experts and developers for free.

GET STARTED

C tutorials, posts, and more

Building a Win32 App, Part 4: Applying Resources to a Window

The purpose of this tutorial is to demonstrate the basics of resource creation and utilization. By the end of this tutorial, readers should be able to load resources from a predefined file and apply it to a window.

Building a Win32 App, Part 2: Windows and Messages

This tutorial helps you take a deeper look at the `WinMain` function to understand how structured a **Win32** application is. By the end of this tutorial, readers should be able to understand the concepts of message queues, window registration & creation, as well as the base of message loop and how all these operate to make an application work.

Building a Win32 App Part 3: a Simple Window

The purpose of this tutorial is to learn the process of constructing a Win32 application window at it's simplest form. By the end of this tutorial, readers should be able to create a window from scratch, understand basics and flow of the message loop, as well as the procedure associated to this window.

Step-by-Step Guide to Building a Win32 API Application: Part 1

Learn how to use Visual Studio at its simplest form and the process of creating, building, to launching a minimalist Win32 API application.

Object-Oriented Programming (OOP) in C

In this intermediate C/C++ tutorial, you'll learn how to bring some of the style of object-oriented programming to C, a language without built-in OOP support.
Object-Oriented Programming (OOP) in C

How to Easily Decipher a Complex Pointer Declarations

In this tutorial, you would learn to decipher any complex pointer declarations.
How to Easily Decipher a Complex Pointer Declarations

Demystifying Network Sockets (Part 2): Deconstructing Ping with C and Node.js

In this post, we're going to focus on how to work with a binary protocol. We're also going to craft our own ICMP header and read the response from the remote host.
Demystifying Network Sockets (Part 2): Deconstructing Ping with C and Node.js

C in Node.js through C++

## NodeJS to C through C++ Using C or C++ in Node.js is more of an edge case than daily life. But I decided to record what I learned because there is seems to be very little information on the Interne...
C in Node.js through C++

Implicit int and Pointers

An example of when things can go wrong when you ignore compiler warnings, especially in C.
Implicit int and Pointers
SEE MORE