Click here to Skip to main content
15,886,873 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 

28 Feb 2024 by Chris Boss
BASIC: A powerful language often underestimated and undervalued
12 May 2023 by ToughDev
How to develop PC-speaker MIDI player for IBM PC XT
8 May 2023 by ToughDev
How to convert between NSString and C strings in iOS project
7 May 2023 by ToughDev
A look at Borland Turbo C/C++
7 May 2023 by ToughDev
Retro68 GCC-based SDK for 68K Mac
7 May 2023 by ToughDev
How to use picojpeg library on a PIC with ILI9341 320×240 LCD module
3 May 2023 by ToughDev
How to integrate FatFs FAT filesystem module with CH375/CH376 USB controller
10 Apr 2023 by Tough Developer
How to open 16-bit Win apps natively on 64-bit Windows using OTVDM/winevdm
5 Apr 2023 by ToughDev
How to play the classic MS-DOS game - Alley Cat - from your browser
13 Feb 2019 by Philipp_Engelmann
With IoT (Internet of Things) on the rise and hardware getting cheaper and cheaper, it's a great time to explore the possibilities this new technology provides.
27 Jan 2018 by RCL_SPD
Please have a C API for your library
4 Apr 2017 by grilialex
COFILOS SD Card Driver
4 Dec 2016 by Mircea Diaconescu, Gerd Wagner
Home Automation is made simple for everyone, with the industrial grade PRODINo ESP8266 based module. It can be programmed with the Arduino IDE and allows to control (ON/OFF switch) mains (110-240 VAC) powered devices such as light bulbs, water pumps, cafe machines or garage doors.
20 Oct 2016 by Mircea Diaconescu, Gerd Wagner
As opposed to the less powerful Arduino, the competitively priced and WiFi-enabled ESP8266 supports the Web-of-Things (WoT) since it can be programmed in JavaScript.
21 Sep 2016 by Mark Vinod Sinnathamby
Installing MINIX 3 on QEMU/KVM with networking
3 Sep 2016 by Eric Z (Jing)
How to create many-to-one mapping in C
3 May 2016 by Mircea Diaconescu, Gerd Wagner
In this multi-part tutorial we show how to develop Arduino-based apps for the Web of Things (WoT). This third part shows how to set up a connection between an Arduino and the Internet via a WiFi network and use HTTP(S) to send data to a free cloud service like ThingSpeak.
22 Apr 2016 by Mircea Diaconescu, Gerd Wagner
Learn how to develop Arduino-based apps for the Web of Things (WoT). This first part of a series of tutorials shows the basics of an Arduino program (known as a "sketch") and provides a quick introduction to some electronic components, including resistors, RGB LEDs and LEDs in general.
18 Apr 2016 by Mircea Diaconescu, Gerd Wagner
Learn how to develop Arduino-based apps for the Web of Things (WoT). This second part of a series of tutorials shows how to read analog and digital sensors with the help of Arduino.
18 Mar 2016 by johnniealan
Auto Login in TI-SDK, Am335x
5 Sep 2015 by Pragmateek
Introduction If you've already developed COM APIs with .Net, typically in C# with VBA as the consuming language, you've probably leveraged two powerful features: by-reference parameter passing that allows the API to change the input object itself, not only its ... Continue reading ...
23 Jul 2015 by Mircea Diaconescu, Gerd Wagner
Three easy ways to programmatically reboot/reset an Arduino MCU.
22 Jul 2015 by Mircea Diaconescu, Gerd Wagner
Learn how to identifying the Arduino microcontroller type by simply using C/C++ code.
1 May 2015 by Ben Liebert
Bridging the client-server boundary – an experiment in architectures for next-generation web applications
12 Apr 2015 by Afzaal Ahmad Zeeshan
New developers and the importance of C; this blog post is about my opinion and views about C programming language's importance for beginners in programming. Yours might be different!
22 Jan 2015 by matthewproctor
This article demonstrates how to use Lync as an endpoint for monitoring hardware and devices - in this instance the Gadgeteer Fez Spider board with a Gas Sensor.
29 Dec 2014 by Mario Vernari
This post follows my first one on Internet-of-Things telemetry project based on Azure.
4 Nov 2014 by Faye Williams
What does the preprocessor do?
19 Oct 2014 by Issam Lahlali
In this post, you will learn basic "C" coding rules from open source projects
21 Aug 2014 by Edison Heng
Networking and Socket programming tutorial in C.
21 Aug 2014 by Edison Heng
Square Root algorithm for C
7 Aug 2014 by Madhur Kapoor
Introduction to Swift
30 Jun 2014 by PeteBarber
How to resolve strong references between Swift and Objective-C classes - using unowned and weak references from Swift to Objective-C classes
12 Apr 2014 by Rion Williams
How to debug deeper through reference source
14 Jan 2014 by Cindy Potvin
Many options of the .LESS CSS parser can be set directly from the Web.config file, but many of them are not clearly described. Here is my attempt to document them.
17 Dec 2013 by Issam Lahlali
Motivations of choosing C: Git case study
23 Nov 2013 by NSProgrammer
In this post, I'm going to take a very short amount of time making everyone's color coding lives easier with some UIColor code extensions.
1 Oct 2013 by Bartlomiej Filipek
glGenerateMipmap Plus SOIL library
15 Sep 2013 by pi19404
Color constancy is a mechanism of detection of color independent of light source. The light source many introduce color casts in captured digital images To solve the color constancy problem a standard method is to estimate the color of the prevailing light
28 Aug 2013 by NSProgrammer
Anatomy of a Singleton.
14 Aug 2013 by NSProgrammer
How to update UITableView with a dynamic data source
25 Jun 2013 by Dennis E White
What really is the correct spelling for this conditional operator?
8 Jun 2013 by NSProgrammer
A better NSData description
8 Jun 2013 by NSProgrammer
About method swizzling
3 Apr 2013 by ClayJones
UITextField has a property called inputAccessoryView that can be set to a UIToolbar to give the user something to do after inputting text.
1 Apr 2013 by Issam Lahlali
In this post, Hibernate Core is analyzed by JArchitect to go deep inside its design and implementation.
25 Mar 2013 by hudku
Essential macros for C programming
14 Mar 2013 by Bartlomiej Filipek
Include Guards, Pragma Once, Predeclarations and other hints that might be useful when dealing with includes.
4 Mar 2013 by NSProgrammer
Let's jump into memory warnings!
4 Mar 2013 by NSProgrammer
Better reference counting.
25 Feb 2013 by Colin Eberhardt
Creating a LINQ-style API for Objective-C has proven to be relatively simple (and fun!). I have provided implementations for some of the most common and useful LINQ methods, however the .NET LINQ APIs for querying collections have a great many more methods than the ones I have covered.
25 Feb 2013 by Pragmateek
Essential tools for debugging and troubleshooting.
25 Feb 2013 by Pragmateek
Keep reading and in 10 minutes you’ll know DllImport (almost) like a pro.
12 Feb 2013 by Chris Demiris
Instantiate Storyboard view controllers manually.
19 Dec 2012 by Perjan
How to pass values to UILabel objects in iOS 6 Storyboard
19 Dec 2012 by Perjan
A quick tip that will show you how to show hide Navigation Bar when tap in iOS occurs
26 Nov 2012 by alex turner
C takes far too long to code up when complex data marshalling or logic gets involved. Also, the very act of writing it is so slow because of its challenges to the IDE.
12 Oct 2012 by Issam Lahlali
In this article, we will discover the power of Clang's design that can help you to develop many kinds of tools.
13 Jun 2012 by Sebastian Krysmanski
This article will cover the basics of using P/Invoke.
1 May 2012 by ericevenchick
Let's look at the components involved in microcontrollers and see how they work.
26 Jan 2012 by XPG Live
Use leaderboards on iOS (iPhone/iPad) with XPG
13 Dec 2011 by Barry Lapthorn
Python interop in C/C++.
28 Nov 2011 by Adnan Boz
In this blog post, I’m diving deeper into Thrust usage scenarios with a simple implementation of Monte Carlo Simulation.
25 Nov 2011 by li9705
A simple opengl example of Android using cle
28 Dec 2010 by Mohammad Elsheimy
Learn how to marshal simple types (integers, strings, etc.) in C#.
28 Dec 2010 by Mohammad Elsheimy
Learn how to marshal compound types (structures, unions, etc.) in C#.
28 Dec 2010 by Mohammad Elsheimy
Introduction to marshaling
13 Sep 2010 by Andrey Permamedov
The bug in MFC tool tip control
17 Aug 2010 by Issam Lahlali
C vs C++: Linux analysis case
14 Aug 2010 by Ali BaderEddin
How to draw an oval using lines or fill it using triangles?
2 Jun 2010 by Ali BaderEddin
Interesting/weird usage of pointers in C
30 May 2010 by Ali BaderEddin
How to change the camera view in an OpenGL application
24 May 2010 by Ali BaderEddin
Implementing a three dimensional array dynamically in C, C++, C# and Java
18 May 2010 by Ali BaderEddin
An attempt to understand the internal logic of drawing and coloring lines in a graphics library.
2 Apr 2010 by Ali BaderEddin
Make drawing text in your OpenGL app as simple as calling printf
23 Mar 2010 by rtybase
Why "i = i++" expression returns different results in C++ and Java/.NET?
18 Mar 2010 by Mohammad Elsheimy
Convert colors to gray shades, detect Print Preview mode, and detect Black-and-White printers
18 Mar 2010 by Mohammad Elsheimy
Which is better, to use BeginPaint/EndPaint, or to use GetDC/ReleaseDC?
18 Mar 2010 by Mohammad Elsheimy
Learn how to create your CWinApp::OnIdle in C
7 Dec 2009 by MobileAppMastery
This video will show you how to implement this in your own iPhone app.
2 Nov 2009 by MobileAppMastery
Here is how to use UIPasteBoard to implement custom copy and paste in your app
1 Sep 2009 by User 1556233
A user friendly dateformatter in objective C
20 Jul 2009 by User 1556233
Sending an email from your iPhone application is something which you normally want to do it asynchronously. But unfortunately, prior to iPhone 3.0, the only way to send email was using mailto:// url format. i.e, [[UIApplication sharedApplication] openURL: @"mailto:john.appleseed@appl
19 Jul 2009 by User 1556233
codeproject Everyone knows SVN (Subversions) is the best version control tool on the planet. XCode, though, might not be as great as eclipse or Visual Studio, it offers one of the best integration with open platforms than both eclipse and Visual Studio.
8 Jun 2009 by Anna-Jayne Metcalfe
A .lnt file is an "indirect file", which is simply a collection of PC-lint directives.