Polecenie cpp
Opcje wykonania cpp
w konsoli
Do not allow $ in identifiers.
Use 1990 ISO C standard. This is equivalent to -std=c89.
Similar to -dM, but exclude predefined macros and include results of preprocessing.
Suppress normal output. Print series of #defines that create the macros used in the source file.
Similar to -dD, but don't print macro expansions.
Print #include directives in addition to other output.
Treat file as already preprocessed. Skip most processing directives, remove all comments, and tokenize file.
Set distance between tabstops so columns will be reported correctly in warnings and errors. Default is 8.
Omit column numbers in warnings and errors.
Define _ _GNUC_ _, _ _GNUC_MINOR_ _, and _ _GNUC_PATCHLEVEL_ _ macros.
Print usage message and exit.
Search dir for header files when a header file is not found in any of the included directories.
Process macros in file before processing main files.
Process file before main file.
When adding directories with -iwithprefix, prepend prefix to the directory's name.
Search dir for header files after searching directories specified with -I but before searching standard system directories.
Append dir to the list of directories to be searched when a header file cannot be found in the main include path. If -iprefix has been set, prepend that prefix to the directory's name.
Insert dir at the beginning of the list of directories to be searched when a header file cannot be found in the main include path. If -iprefix has been set, prepend that prefix to the directory's name.
Expect the source to be in C, C++, Objective C, or Objective C++, respectively.
Display all lint commands in comments as #pragma lint command.
Search only specified, not standard, directories for header files.
Suppress searching of directories believed to contain C++-specific header files.
Write output to file. (Same as specifying a second filename in the command line.)
Warn verbosely.
Produce a fatal error in every case in which -pedantic would have produced a warning.
Specify C standard of input file. Accepted values are:
iso9899:1990, c89 1990 ISO C standard.
iso9899:199409 1994 amendment to the 1990 ISO C standard.
iso9899:1999, c99, iso9899:199x, c9x 1999 revised ISO C standard.
gnu89 1990 C Standard with gnu extensions. The default value.
gnu99, gnu9x 1999 revised ISO C standard with gnu extensions.
Behave like traditional C, not ANSI.
Convert special three-letter sequences, meant to represent missing characters on some terminals, into the single character they represent.
Suppress definition of all nonstandard macros.
Verbose mode.
Print version number, then process file.
Print version number, then exit.
Don't print warnings.
Specify the language of the input file. language may be c, c++, objective-c, or assembler-with-cpp. By default, language is deduced from the filename extension. If the extension is unrecognized, the default is c.
Assert name with value def as if defined by #assert. To turn off standard assertions, use -A-.
Cancel assertion name with value def.
Retain all comments except those found on cpp directive lines. By default, cpp strips C-style comments.
Define name with value def as if by a #define. If no =def is given, name is defined with value 1. -D has lower precedence than -U.
Preprocess the source files, but do not compile. Print result to standard output. This option is usually passed from gcc.
Print pathnames of included files, one per line, on standard error.
Search in directory dir for #include files whose names do not begin with / before looking in directories on standard list. #include files whose names are enclosed in double quotes and do not begin with / will be searched for first in the current directory, then in directories named on -I options, and last in directories on the standard list.
Split includes. Search directories specified by -I options preceding this one for header files included with quotes (#include "file.h") but not for header files included with angle brackets (#include <file.h>). Search directories specified by -I options following this one for all header files.
Suppress normal output. Print a rule for make that describes the main source file's dependencies. If -MG is specified, assume that missing header files are actually generated files, and look for them in the source file's directory.
Print rules generated by -M or -MM to file.
Similar to -M, but output to file; also compile the source.
Similar to -M, but describe only those files included as a result of #include "file".
Similar to -MD, but describe only the user's header files.
Similar to -MT, but quote any characters that are special to make.
Specify the target to use when generating a rule for make. By default, the target is based on the name of the main input file.
Preprocess input without producing line-control information used by next pass of the C compiler.
Remove any initial definition of name, where name is a reserved symbol predefined by the preprocessor, or a name defined on a -D option. Names predefined by cpp are unix and i386 (for Intel systems).
Warn both on nested comments and trigraphs.
Warn when encountering the beginning of a nested comment.
Warn when encountering constructs that are interpreted differently in ANSI than in traditional C.
Warn when encountering trigraphs, which are three-letter sequences meant to represent missing characters on some terminals.
Przykłady cpp działanie w Słownik polecenie C
- Przykład CPP użycie :
- Jak użyć filter that handles reverse linefeeds and escape characters, allowing output from tbl or nroff to appear in reasonable form on a terminal. Put half-line characters (e.g., subscripts or superscripts co znaczy.
- Przykład CPP użycie :
- Jak użyć one or more files and print them on standard output. Read standard input if no files are specified or if - is specified as one of the files; input ends with EOF. You can use the > operator to krzyżówka.
- Przykład CPP użycie :
- Jak użyć Clear the terminal display. Equivalent to pressing Ctrl-L co to jest.
- Przykład CPP użycie :
- Jak użyć administration command. The PCMCIA card daemon. cardmgr monitors PCMCIA sockets for devices that have been added or removed. When a card is detected, it attempts to get the card's ID and słownik.
- Przykład CPP użycie :
- Jak użyć calendar (beginning with January) for the given year , or a one-month calendar of the given month and year . month ranges from 1 to 12. year ranges from 1 to 9999. With no arguments, print a calendar czym jest.