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 September 2016 as chosen  by your votes!

Some function to read and write text from from files - uses ifstream and ofstream. Written in VS 2008 but should work with any C++98 compiler.