.C File Extension
C/C++ Source Code File
Developer | ANSI/ISO |
Popularity |
4.1 | 248 Votes |
What is a C file?
A C file is a source code file for a C or C++ program. It may include an entire program's source code or may be one of many source files referenced within a programming project. Users can edit C files with source code and plain text editors, then compile them with a C/C++ compiler for the target platform before the code can be run.
More Information
Dennis Ritchie originally developed the C programming language to create Unix utilities in Bell Labs in the late 1960s and early 1970s. Since the 1970s, the popularity of C has grown, and many users have learned and used the language to develop operating systems, database management systems, games, and more. In addition, the American National Standards Institute (ANSI) and the International Organization for Standardization (ISO) have also standardized the C programming language since 1989.
The language has also influenced many programming languages, including C++, PHP, Perl, Python, Java, and JavaScript. For example, C++ is an extension of the C programming language and was released in the mid-1980s. Developers use the language to create many of today's software programs. The C++ language may be stored in C, .CC, .CPP, .CXX, and C++ source code files.
Common C Filenames
main.c - A source code file typically containing the main() function, or entry point, for a C program.
How to open a C file
You can open and edit C files with various source code editors, including Microsoft Visual Studio Code (multiplatform), Code Blocks (multiplatform), and Apple Xcode (macOS). These applications offer helpful features, such as syntax highlighting and auto-completion for viewing and editing C/C++ code.
You can also open and edit CPP files with a plain text editor, such as Microsoft Notepad (bundled with Windows) or Apple TextEdit (bundled with macOS). However, these text editors do not provide helpful source code editing features.
C/C++ compilers
You can compile the C/C++ code stored in C files to code that can be run on a computer with various free and commercial compilers. Some compilers include Microsoft Visual Studio (Windows), GNU Compiler Collection (multiplatform), Eclipse IDE for C Developers (multiplatform), and Apple Xcode (macOS).
Programs that open C files
Lite-C Script
Developer | Conitec Datasystems |
Popularity |
2.7 | 30 Votes |
More Information
Lite-C includes an ABT (Adaptive Binary Tree) rendering engine, programmable particle effects, a body physics and collision engine, and play functions for sound, music, and movie files.