Click here to Skip to main content
15,891,529 members
Everything / Programming Languages / C

C

C

Great Reads

by Martin Mitáš
How to support scrolling within your controls.
by Espen Harlinn
Choosing the right synchronization mechanisms when working with threads, thread-pools, and I/O Completion ports to create high performance asynchronous servers in C++
by Andy Allinger
Add features to k-means for missing data, mixed data, and choosing the number of clusters
by Jeffrey Walton
Perform authenticated encryption with Crypto++.

Latest Articles

by Chris Boss
BASIC: A powerful language often underestimated and undervalued
by ColleagueRiley
A multi-platform single-header very simple-to-use framework library for creating GUI Libraries or simple GUI programs.
by FPGANinja
A walkthrough and source code for designing a stream interface in Vitis HLS
by Alexey Shtykov
The thing that could generate pseudo random numbers faster than standard library does

All Articles

Sort by Updated

C 

25 Feb 2024 by ColleagueRiley
A multi-platform single-header very simple-to-use framework library for creating GUI Libraries or simple GUI programs.
19 Feb 2024 by Alexey Shtykov
The thing that could generate pseudo random numbers faster than standard library does
26 Jan 2024 by Member 16179004
Capture Enter key in edit control with no dialog box and no subclass.
9 Jun 2023 by AbdulRahman A. Badry
Alter your display gamma-ramp to correct & calibrate it
17 Dec 2022 by Steffen Ploetz
High-end quality in text rendering concerns not only the characters, but also the character spaces - and here FreeType is not quite up to date anymore: The kerning used by FreeType is not always available (especially with newer fonts).
24 Oct 2022 by Tiago Cavalcante Trindade
How to use WSL, GUI on WSL and how to compile for Linux on Windows
1 Jul 2022 by Member 15078716
Unicode / Creating, Writing, Appending / a text (*.txt) file - how to do it
18 Dec 2021 by Kai Schtrom
Win32_NetworkAdapterConfiguration WMI class in plain C and C++
7 Oct 2021 by Mircea Neacsu
Source code organization suggestion
10 May 2021 by Steffen Ploetz
Check whether ReactOS is able to run OpenGL, determine a convincing IDE and get started with the OpenGL on ReactOS.
14 Mar 2021 by cassert24
C syntax/extensions that I somehow stumbled upon
21 Feb 2021 by Steffen Ploetz
My best practice approach to change the image of a toolbar button
17 Feb 2021 by Gábor Angyal
Binding C structs and functions to Kotlin is easier than you have thought!
31 Dec 2020 by Kai Schtrom
Display smart messages on the Windows Desktop as XBOX360 achievements
28 Dec 2020 by CPallini
Fast integer square root computation in 8051 assembly
27 Dec 2020 by Steffen Ploetz
Step-by-step instructions and source code snippets for inserting a bitmap (or a section of it) into an icon image.
19 Aug 2020 by Tiago Cavalcante Trindade
How to put color in Python, C, C++, C#, Java and batch on the Windows console
13 May 2020 by Askar Azhibaev
Calculating the pi number faster using a simple formula
12 May 2020 by D4rkTrick
Big picture of GAction, GActionGroup, GActionMap, GActionEntry, GSimpleAction and GSimpleActionGroup
4 Feb 2020 by Southmountain
Some tips on how to compile legacy Win32 programs in Visual Studio 2019 - may save you few hours to figure out why
23 Jan 2020 by Steffen Ploetz
Another fully functional ownerdraw menu with minimal effort - this time based on Win32, with icons instead of bitmaps, with accelerators and tested for ReactOS and WinNT 4.0 to Windows 10
15 Jan 2020 by Steffen Ploetz
A solution for: If the toolbar is created button by button with single TB_ADDBUTTONS calls, the width of the separators is not calculated correctly.
21 Oct 2019 by Steffen Ploetz
How to embed icons into Win32 programs without utilizing resources - useful for platforms without resource editor/resorce compiler, e.g., ReactOS. Learn the missing things about the .ico format.
18 Mar 2019 by qqmrichter
Overuse of #define can be ludicrous.
9 Feb 2019 by zvx
An introduction to writing IOCP network servers
1 Jun 2018 by Member 13737597
This article shows how Windows generates IP header's ID field
5 Mar 2018 by Dharmateja Challa
This article is about generating random data using Trusted Platform Module in Windows 10 and testing its randomness using dieharder test suite.
22 Feb 2018 by Asif Bahrainwala
OpenGL Compute Shader
15 Dec 2017 by Laurie Stearn
Dialogex with Listbox to manipulate long paths in Windows
1 May 2017 by Arthur V. Ratz
This tip/trick introduces the basic ideas on how to avoid memory mismatched allocation/deallocation issues detected by Intel® Inspector XE for Visual Studio 2015
28 Apr 2017 by Ahmed Elkafrawy
Implementation of an easy, fast, and optimized (CByte, CShort, CInt) with bits access using bit field and union
29 Mar 2017 by Taehoon Kim 1004
Capture program using GDI
10 Mar 2017 by Southmountain
Gems for typedef and namespace in C
13 Feb 2017 by trident99
GT is a compact, efficient, and customizable graphical user interface (GUI) library for the Windows environment.
20 Jan 2017 by marcus obrien
This article compares the OO features of inheritance and function overriding in C++, C# and Java.
17 Jan 2017 by Arun Maiya
How to setup GCC cross compiler in Windows to generate Linux binaries
28 Nov 2016 by Zebedee Mason
Or why not both? This shows how.
2 Oct 2016 by Eric Z (Jing)
This tip introduces struct hack and compares it with several implementation alternatives.
17 Jul 2016 by David A. Gray
Sparsely documented cause of compiler error C2143
21 Jun 2016 by Dharmateja Challa
Tip on how to simulate external interrupts using Atmel Studio 7 for AVR Atmega MCUs
31 May 2016 by mbue
switch ... case statement for strings
11 May 2016 by Member 11246861
RaspberryPi2 master transmits to and receives from Pic24FJ64GB002 slave through I2C
26 Apr 2016 by itsdkg
This tip explains the usage of arrays for creating Fast binary search trees.
17 Apr 2016 by Adamanteus
Preserving overheating processor in multitasking environment
13 Apr 2016 by Member 11246861
Within LAN, laptop gets signals from microcomputer and microcontroller using TCP/IP and SPI
12 Apr 2016 by Shao Voon Wong
Never test for NaN by comparing it with NaN literal
8 Apr 2016 by jurhas
Solving graph on linear time
15 Mar 2016 by cruppstahl
Describes algorithms for integer compression, introduces a few libraries and shows how to use them
15 Mar 2016 by araud
Did you ever want to know where most of the memory is consumed? Whether it leaks or just gets allocated too much. This home brew memory tracker is yet another bicycle that you will be able to tune for your needs.
5 Mar 2016 by Shvetsov Evgeniy
Everything you always wanted to know about Macros but were afraid to ask
2 Mar 2016 by Antonio Miras
Programatically set a static IP, subnet mask and gateway to an ethernet network adapter on your local machine
28 Feb 2016 by Bipin Paul
Implementation of Contact Us Page using ASP.NET MVC pattern
26 Feb 2016 by Nagaraj Krishnamurthy
This tip will go into the details of platform devices and their corresponding drivers in Linux
19 Feb 2016 by pasztorpisti
An advice to make your DLL interface more attractive and easier-to-maintain even in cross-platform projects
19 Feb 2016 by Member 11246861
Raspberry master, Pic24 slave over SPI
14 Feb 2016 by Jigar_Patel
Amazon S3 lib for uploading file in C++ using VS2010
3 Jan 2016 by José Cintra
An example of how to interact with the user through the keypad, LCD and Buzzer
17 Dec 2015 by Tim ONeil
Using the autoconf tool chain to add modules to the Linux kernel
16 Dec 2015 by JinWenQiang
Just a brief introduction of a simulator to build wireless environment
14 Dec 2015 by Gregory Morse
Implementing a complete WRL native C++ XAML blank project template
29 Nov 2015 by Ksh_Sr
This tip helps you implement the nLog in conjunction with Microsoft.Extension.Logging framework in ASP.NET vNext.
22 Nov 2015 by Marc Clifton
Each function should answer "how-what-why."
28 Oct 2015 by Alexander Iskhakov
Creating a HTTP proxy using Play framework and WS API
23 Oct 2015 by Ph. Jounin
A C-replacement for MessageBox
15 Oct 2015 by Abhishek Nandy
Smartwatch Development with pebble
9 Oct 2015 by imagiro
A small class for using COM DLL modules without registering them
3 Oct 2015 by Uttam Kotdiya -India
This tip demonstrates how to use posix message for Inter Process Communication (IPC) in C#, Mono on Linux
22 Sep 2015 by Mike (Prof. Chuck)
Generic EventHandler/EventArgs with a generic implicit cast operator
5 Sep 2015 by Thinira
In this tip, we will discuss how to setup Angular 2.0 in Visual Studio and write a very basic “Todo” application.
17 Aug 2015 by Sweta Mittal
Validate whether value in string is a valid decimal number or not.
24 Jul 2015 by BEmbedded
This article discusses 'C' code used to control a Newhaven OLED in 4-bit mode. It is a MBLABX project.
28 Jun 2015 by David A. Gray
While you can often get away with ignoring compiler warnings, failing to at least scan them can bite hard!
19 Jun 2015 by ergohack
System.Data.SQLite is great, but was missing some BLOB support. Switching to the native source project was easier than expected and provided significant functionality benefits.
26 Apr 2015 by Haftmann, Henrik
12 years too late but now it works: A replacement driver for giveio and dlportio for 64-bit Windows
16 Mar 2015 by sunhui
In this paper, we will discuss some advanced skills for ATL COM development.
9 Mar 2015 by sunhui
Integrate .NET Component to your Native MFC Application at runtime
14 Feb 2015 by Dennis E White
How to create delegates in Objective-C
11 Feb 2015 by WoodyMou
Session 1: Setup SoftEther L2TP server on Amazon AWS Ubuntu
30 Jan 2015 by Amir Mohammad Nasrollahi
In this article, i consider the problem of identifying motifs in the biological sequence data sets. To solve this task, i present a new algorithm for finding patterns that just use library in C compiler and a new way to avoid using arrays search.
28 Jan 2015 by Lai Taiyu
How to make a clear color image (Histogram Equalization)?
28 Jan 2015 by Lai Taiyu
How to make a clear gray image (Histogram Equalization)?
13 Jan 2015 by Lai Taiyu
How to do simple image binarization?
8 Jan 2015 by refusebt
RFJModel is an easy-to-use JSON loading library. In comparing with other libraries, it's much easiler and less restricted to use.
27 Nov 2014 by Abdallah Al-Dalleh
How to handle post data coming inside an HTTP POST request
7 Nov 2014 by Ullas_Krishnan
This is only for students who are developing mini projects with Turbo C / C++ Compiler. This example may help you to get an idea in submitting your mini projects with stunning user interface experience with Mouse click events.
3 Nov 2014 by Ullas_Krishnan
How create a Splash Screen in C++ Program (TurboC) in DOS Mode..
31 Oct 2014 by Yvan Rodrigues
There is a very high virtual memory penalty if you do.
27 Oct 2014 by Mike Meinz
Describes an algorithm to ignore spurious ultrasonic sensor readings.
15 Oct 2014 by Arthur Caputo
Tutorial on setting a false transparency onto your button's edges.
9 Oct 2014 by Issam Lahlali
Some feedback to avoid common mistakes when porting a .NET application to Mac OSX
5 Oct 2014 by KarstenK
Some toughts whether to prefer Objective-C or Swift.
11 Sep 2014 by kspviswa
This article explains how to map source code & assembly for easy debugging in Solaris OS.
29 Aug 2014 by Andres Cassagnes
A simple serial communication library, with a serial ports enumerator
20 Aug 2014 by pi19404
This article describes the method to cross compile C/C++ library for Android OS
6 Aug 2014 by Sei Flavius
Using auto-layout to position two buttons that span the entire width of the underlying view
25 Jul 2014 by Mohammad_Hamad
Using the Function Pointer inside C struct
15 Jul 2014 by Leslie Godwin
The UISwitch's UIControlEventValueChanged event is pretty useless if you'd like to get a notification only when the switch value actually changes.