07Jul/15

How to Create, Read, Update, Delete Registry Key using C++

Here is shared complete working example of Registry Key processor using C++.

 

06Jul/15

Sample Client Program that connects with a TCP Server, Linux

The following is the complete source code for the basic TCP/IP Client Application.

Command to compile and execute:

 

06Jul/15

Sample Server Program that uses TCP Protocol, Linux

The following is the complete source code for the basic TCP/IP Server application in linux:

Command to Compile and Execute:

 

06Jul/15

Thread example in C++, Linux

Here given sample Thread implementation using C++ in Linux:

Here is the command to compile and run this sample program:

Here is the output of this program:

 

05Jul/15

Sample Server Program that uses TCP Protocol, Windows

The following is the complete source code for the basic Winsock TCP/IP Server application.

 

05Jul/15

Sample Client Program that connects with a TCP Server, Windows

The following is the complete source code for the basic Winsock TCP/IP Client Application.

 

05Jul/15

Thread Example in c++ Win32 project, Visual Studio

Microsoft Windows operating system’s support for multithreaded programming. It is almost similar to the support provided by POSIX threads. The differences are not in the actual functionality but the names in the API functions. Every Win32 process has at least one thread, which we call as the main thread. We will assume that the OS will give a time slice to each program thread, in round-robin fashion. In fact, the threads in a Win32 program will be competing for the CPU with threads in other programs and with system threads, and these other threads may have higher priorities. Now I am showing a simple example of thread implementation.

Here is the console output of this multi-threaded program:

 

29May/15

Hello world!

Now a days, Computer has become the most predominant machine in the world. A large number of mathematicians and programmers have added a new dimension using this indispensable machine to make our regular tasks simpler & comfortable. Computer programmers translate software designs into source code in such a way that computers can accept instructions from human, perform millions of operations in a twinkling of an eye and finally visualize the calculated result in the form of human interpretative signals.

If anyone want to be a programmer, he/she must have to acquire knowledge of any programming language. There exists about 700 programming languages in the computing world. The Hello world program is the simplest program for any language that prints or displays any text message like “Hello World”. Learners will get basic syntax formats for the perspective programming language quickly from this simple program. Here I will show basic syntax formats for Top 10 programming language, 2015.

  • Java:
     
  • C:
     
  • C++:
     
  • C#:
     
  • Objective-C:
     
  • PHP:
     
  • Python:
     
  • JavaScript:
     
  • Ruby:
     
  • Swift: