Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 How do I get refactor insert header to use <>/"?

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Mordachai Posted - Oct 20 2016 : 12:13:08 PM
I know C++ is implementation dependent in how <> vs. "" are interpreted by the compiler.

However, I am a practical programmer who uses VS exclusively and I wish to use the <> vs. "" correctly according to the compiler.

This means that I want to use "" only if the header / included file is rooted in the same folder as the calling file, and I want <> for all other files.

How can I tell VA this?
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Oct 21 2016 : 7:17:12 PM
The <> style is normally used to include standard library header files and this is how we distinguish between <> and "". I know there are different methods to determine which characters to use, but we only support the above method. You can also set to always use "" or <>.

For example, if you use Add Include on std::vector, it will include

#include <vector>

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000