.C File Extension
C/C++ Source Code File
4.1 | 240 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.
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.
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.
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
2.9 | 28 Votes
Script written in lite-C, a programming language designed for easily developing graphics and virtual reality applications; uses a syntax similar to C/C++ and is compiled on-the-fly by lite-C.
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.