C/ C++ source code home

What is C/ C++?

C was one of the first general-purpose high-level programming languages to gain almost universal use, and today you can program in C on almost any platform and machine. It was created by Dennis Ritchie in 1971, as the successor to the "B" compiler, for UNIX systems.

C++ allows programmers to leverage their knowledge of C with the use Object Oriented (OO) concepts, to create larger programs with easier and with better quality. Since C++ contains all of the concepts of C, a C program can be run using a C++ compiler...but only a C++ compiler can compile a C++ program. It was created by Bjarne Stroustrup in 1980.

Planet Source Code has:

Click here to see:

Latest news
All C/ C++ categories of code
Newest C/ C++ code
C/ C++ contest winners
How to support the site

C/ C++ & Planet Source Code news and announcements

C/ C++ Categories - Browse the largest code database on the net!

Compatibility Filter Profile:

    C++ (general)
    Microsoft Visual C++
    Borland C++
    UNIX C++

Note: Stats below include both filtered and non-filtered items

Advanced Category Browse

Winners for code submitted

Winners for code submitted June 2020 as chosen  by your votes!

Last month's submissions are in the process of being tallied and reviewed, and the winners will be announced shortly!

In the meantime, here are previous month's winners

Text to Html
TextToHtml converts a text file into a html file. You can specify the fontname and fontsize on the commandline. Every paragraph in the textfile will be wrapped into

tags. The html doc contains a css style so the formatting can easily be changed. Written in VS 2017 CE, but any C++ capable compiler should do.