Anyfile is in beta, so a few things may not work perfectly yet. Tell us what you find

C++ source file

Open and edit CPP files

You can open, view and edit CPP files for free right here in your browser, without Visual Studio and without uploading anything. Source code in C++, which Bjarne Stroustrup began as “C with Classes” in 1979. It adds classes, templates and a large standard library to C.

Files are converted in your browser and never uploaded. By using Anyfile you agree to the Terms of Use.

View a CPP file without Visual Studio

Open and viewYes
EditYes
Create a new oneNot yet
Save as CPPYes, keeping what Anyfile doesn’t show
FormatBy Bjarne Stroustrup, since 1985

Edit CPP files

Keeps the original encoding (UTF-8, UTF-16 or Windows-1252), byte-order mark and line endings unless you change them.

More about the text and code editor

.cpp

C++ source file

Source code in C++, which Bjarne Stroustrup began as “C with Classes” in 1979. It adds classes, templates and a large standard library to C.

Games, browsers, desktop apps and high-performance software.

Opens in Visual Studio, CLion, Xcode, VS Code

Questions

How do I open a CPP file without Visual Studio?

Drop it on this page, or choose it. It opens in Anyfile’s text and code editor right in your browser, with nothing to install and no account.

Can I edit a CPP file online for free?

Yes. Keeps the original encoding (UTF-8, UTF-16 or Windows-1252), byte-order mark and line endings unless you change them..

Is my CPP file uploaded?

No. It opens, changes and saves on your device. Nothing is sent to a server.