Programming Tutorials
Simple C++ DLL Loading a Message Box
Submitted by Baran Ornarli on Mon, 11/17/2008 - 07:02.This tutorial shows you how to create a C++ Win32 DLL (Dynamic Link Library) which you can then use to call functions from that DLL in your main C++ program. I will be calling a MessageBox from the DLL and load it inside my main C++ program using LoadLibrary and GetProcAddress. I will also exchange integers between the DLL and the main program.
C++ Program Without Main Function
Submitted by Baran Ornarli on Sun, 11/16/2008 - 10:17.Ever wanted to name your C++ main() function differently? We use a little C++ trick to rename our main() function to InfernoDevelopment().
C++ Beginner Programming Video Tutorial
Submitted by Baran Ornarli on Thu, 11/13/2008 - 06:39.In this video, we make a simple guessing game for beginners using C++ and we also explain how to set up your programming environment. This is a very simple tutorial for beginners.
PHP Generated Dynamic Images
Submitted by Dylan on Tue, 11/11/2008 - 22:19.Have you ever seen an image that counts down a date, a signature that displays game ratings, or a little avatar that tells you what browser you are using? These are all examples of dynamic images, usually created with PHP.
In this tutorial, I will be explaining how this is done in PHP, and providing several working code examples.
C++ Pthreads API
Submitted by Baran Ornarli on Sun, 11/09/2008 - 23:50.Ever created a multi-threaded application? Using POSIX threads, called Pthreads you can create multi-threaded applications in almost any operating system. Pthreads give you the ability to control threads using C++. In this example, we will create a multi-threaded Matrix Multiplication Application.
Beginner C++ Cout Cin Integer
Submitted by Dan Killam on Fri, 11/07/2008 - 06:46.The objective of this basic C++ tutorial is to provide beginners with a simple understanding of the cout and cin functions of C++, while simultaneously providing a guide to one of their first programs. This C++ tutorial will also show you how to set up your environment and your example programs.
Singleton C++
Submitted by Baran Ornarli on Mon, 11/03/2008 - 20:28.The Singleton C++ Design Pattern is a C++ design that creates one single instance of a class that can be used throughout multiple files and large projects.
Think of C++ Singleton like a global class that can be accessed at any moment and will be created only once, if it hasn't already been initialized.
C++ Volatile Keyword
Submitted by Baran Ornarli on Mon, 11/03/2008 - 06:18.Volatile keyword can be specified for any C++ variable in order to tell the compiler that the variable should not be optimized. I'll show you what this means and why this Computer Engineering secret is very rare to find in any code. It's used in multi-threaded code or embedded system designs.
Perfect C++ String Explode Split
Submitted by Baran Ornarli on Sun, 11/02/2008 - 23:25.Ever wanted the perfect explode or split using the C++ std::string class? Where you can split a string based on a delimiter or separator and store the results in a vector? Here's an easy way to do it!
C++ Win32 API Simple GUI Wrapper
Submitted by Tomescu Alin on Fri, 10/17/2008 - 21:01.How would you like to write your Windows Graphical (Win32 GUI) software as EASY as this?
MyWindowClass wndClass (hInstance, TEXT("GenericWindowClass")); MyWindow wnd(hInstance, TEXT("My Window Title"), wndClass.className ()); wnd.Create(); wnd.Show();
Easy programming in Win32 isn't it?
