A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/linux-unix/cpp-command-in-linux-with-examples/ below:

cpp command in Linux with Examples

cpp command in Linux with Examples

Last Updated : 15 May, 2019

cpp

is the C language preprocessor, it is automatically used by your C compiler to transform your program before compilation. It is also termed as a macro processor because it is used to give abbreviations for the longer piece of code. It can only be used with C, C++ and Objective-C source code. Using with other programming languages may cause uncertain problems.

Syntax:
cpp  [-options]  infile  outfile
Some Important Options: Examples:

We have created two codes to explain the concept we will refer them as

code_a.c

and

code_b.c

.

#include
void main()
{
  printf("Hello, World!");
}

code_a.c
#include
void main()
{
   printf(out);
}

code_b.c


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4