How to Convert a CString to Integer and Vice Versa

How to Convert a CString to Integer and Vice Versa

Sometimes we have a CString that represents a number and we need to make an integer out of it or vice versa. To convert from CString to an Integer : Share and Enjoy:

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • MySpace
  • RSS
  • StumbleUpon
  • Technorati
Full Story 4 Comments »

How to Code a Chat Client (Instant Messenger) in MFC Using Visual Studio

How to Code a Chat Client (Instant Messenger) in MFC Using Visual Studio

Since i started programming in MFC, there were 2 programming projects that i always wanted to take up. The first one was about creating an instant messenger and the second about coding an mp3 player. I’ve actually done both and i will also be presenting the mp3 player in a forthcoming tutorial. The mp3 player [...]

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • MySpace
  • RSS
  • StumbleUpon
  • Technorati
Full Story 2 Comments »

Introduction to Arrays in C Programming

Introduction to Arrays in C Programming

In this post, i ‘ll be making a short introduction to C arrays. Arrays are a pretty fundamental programming data structure that most novice programmers tend to be pretty comfortable with. Of course, this is quite understandable, since arrays are indeed a quite easy subject on their own. Share and Enjoy:

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • MySpace
  • RSS
  • StumbleUpon
  • Technorati
Full Story 4 Comments »

How The XOR Operation Works and How to Use it In C to Create a Small Encryptor

How The XOR Operation Works and How to Use it In C to Create a Small Encryptor

Exclusive OR (xor) is probably one of the most used operations in today’s encryption schemes. If you’re into creating some kind of encryption in your programs, you would need to utilize XOR operations, as XOR is a pretty versatile “tool” that you should use. If you care to know, XOR is actually an exclusive OR [...]

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • MySpace
  • RSS
  • StumbleUpon
  • Technorati
Full Story 1 Comment »

How to Write a Simple C++ Game in 15 Minutes

How to Write a Simple C++ Game in 15 Minutes

One of the things that have always fascinated me in programming is coding a game. I believe that many programmers take up C++ in order to create their first game. Although there are lots of different things that you need to be knowledgeable of to create a 2d or 3d game, you could actually be [...]

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • MySpace
  • RSS
  • StumbleUpon
  • Technorati
Full Story 2 Comments »

Here Are The Top 5 C & C++ Programming Websites

Here Are The Top 5 C & C++ Programming Websites

Luckily, C and C++ programming are well documented and thoroughly explained online. By creating this website, thecprogrammer.com, i hope that some idea i will manage to make it a nice C/C++ online resource that will help people in their coding. Of course, there are already many established websites on that area already. Here is what [...]

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • MySpace
  • RSS
  • StumbleUpon
  • Technorati
Full Story 2 Comments »

Socket Programming in C Under Linux

Socket Programming in C Under Linux

This is actually not a tutorial written by me, but i feel that in order to learn something you need to be looking at the best available online resources that are available out there. After all, there would be no point in writing about the same things over and over when some great tutorials already [...]

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • MySpace
  • RSS
  • StumbleUpon
  • Technorati
Full Story No Comments »

How to Process Command Line Arguments in C

How to Process Command Line Arguments in C

Parsing command line arguments in c is pretty easy and quite useful in many occasions. Here is a very simple example of how to parse the command line arguments and print them to screen. Share and Enjoy:

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • MySpace
  • RSS
  • StumbleUpon
  • Technorati
Full Story 1 Comment »

What is a C Pointer and How to Pass by Value and Reference

What is a C Pointer and How to Pass by Value and Reference

Pointers is probably one of the most bugging programming elements that concern new programmers. In this post, i will try to explain what a pointer is, as descriptive as possible. Share and Enjoy:

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • MySpace
  • RSS
  • StumbleUpon
  • Technorati
Full Story No Comments »