Text Box

A small text box for console based applications. It can be used as a help dialog box or showing the tips, hints in a game or as an information box. Its lenght and height can be changed. C /******************************************************* * MYCPLUS Sample Code -...

UDP Sender and Receiver

Sender: This sample sends UDP datagrams to the specified recipient. The -c option first calls connect() to associate the recipient’s IP address with the socket handle so that the send() function can be used as opposed to the sendto() call. Compile: cl -o Sender...

Making Mouse Pointers

How to create the mouse pointers in c language. Different shapes can be given to the mouse pointer by changing the values of the cursor variable array. C /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * *...

Ping

This sample illustrates how an ICMP ping app can be written using the SOCK_RAW socket type and IPPROTO_ICMP protocol. By creating a raw socket, the underlying layer does not change the protocol header so that when we submit the ICMP header nothing is changed so that...

Knight’s tour with simple graphic

This program is written in borland C and has simple graphic and it is tour of knight on 64 square on chess board without repeat position [sourcecode language=’cpp’] /******************************************************* * MYCPLUS Sample Code –...

graphics

This is the graphics.h header file which contains all the graphics functions and their implementations. It is quite nice to have a look at header files just to know more about functions and their parameters. Also it tells about different structures, enums defined in...

UTILITIES

IT IS A MULTIFUNCTIONAL PROGRAMS,WHICH HAVE A LOTS OF OPTION.IN THIS HINDI EDITOR IS STILL NOT COMPLETED.I AM WORKING ON IT.WHEN I COMPLETE I WILL MAIL IT TO YOU. C /******************************************************* * MYCPLUS Sample Code -...

Print pyramids and diamonds shpaes in C language

I have been receiving lot of emails and requests through the forums and inline forums attached to the tutorials about how to print pyramids and diamonds in different formats. So I have written this article to demonstrate how you can print pyramids and diamonds using...

GAME

IT IS JUST A SIMPLE GAME and A FUN TYPE JOKE [code language=cpp] /******************************************************* * MYCPLUS Sample Code – https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided...

Shortest Path

This program finds the shortest path between two cities, provided that the map of the two cities and the distances are provided.   Shortest Path (109.7 KiB, 8,496...

ASCII Characters

It prints out the numerical codes of the printable ASCII characters. This C program prints ASCII values of all the alphabets and special characters. Quite handy function for many programmers....

PC to PC Communication

PC to PC Communication via RS232 port. Chat with only 3-wire connection. This program is tested with Turbo C++ editor Version 3.0. How ever, authors are not responsible for any damages that may happen to your computer. Please contact us if any problem exits....