Search tips

apple banana
Find rows that contain at least one of the two words.

+apple +juice
Find rows that contain both words.

+apple macintosh
Find rows that contain the word 'apple', but rank rows higher if they also contain 'macintosh'.

+apple -macintosh
Find rows that contain the word 'apple' but not 'macintosh'.

+apple ~macintosh
Find rows that contain the word 'apple', but if the row also contains the word 'macintosh', rate it lower than if row does not. This is "softer" than a search for '+apple -macintosh', for which the presence of 'macintosh' causes the row not to be returned at all.

+apple +(>turnover >strudel)
Find rows that contain the words 'apple' and 'turnover', or 'apple' and 'strudel' (in any order), but rank 'apple turnover' higher than 'apple strudel'.

Find rows that contain words such as 'apple', 'apples', 'applesauce', or 'applet'.

"some words"
Find rows that contain the exact phrase 'some words' (for example, rows that contain 'some words of wisdom' but not "some noise words").

By continuing to use this site you agree to the use of cookies. For more information and to find out how to change this click here. Accept Cookies
Please enable cookies in your browser for this website.
Advanced search

C++ and C Source Files in the Same Environment

Last updated: 2019-10-29
I have .c and .cpp files that I want to test in the same environment. How can I configure VectorCAST to compile them properly?

To test a combination of .c and .cpp files in the same environment, choose the C++ version of the compiler template that is applicable to your compiler in the Tools | Options dialog, C/C++ tab. Selecting a C++ template will populate the Preprocessor/Compiler sub-tab with the correct options for compiling .cpp files, and will populate the Mixed C/C++ sub-tab with the correct options for compiling .c files.


Normally, you will not need to make changes to these commands. If you do make changes to the compile command, however, you should make the same changes to the command on the Mixed C/C++ tab.

Article Options
Views: 37
Rate this article: