Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Another #include funny
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

kempus
Junior Member

12 Posts

Posted - Mar 24 2004 :  04:55:45 AM  Show Profile
#include "HeaderFile.|" where | is the cursor

If I type in the above and do Ctrl + Space to lookup the rest of the file VAX correctly shows the full header file name headerfile.h. Accepting this (with return) appends the include file name rather than replacing it so I end up with the following

#include "HeaderFileHeaderFile.h"

Note that I can only reproduce this when the . is present.

Build 1220

Edited by - kempus on Mar 24 2004 05:09:05 AM

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Mar 24 2004 :  07:17:06 AM  Show Profile
nearly reproduced in VAX 1221 with VS .NET 2003

i went from:
#include "mtCFile."

to:
#include "mtCFile.mtCFile.h"

do i want to ask why you would do this? ctrl+space is more work than simply pressing h

zen is the art of being at one with the two'ness
Go to Top of Page

kempus
Junior Member

12 Posts

Posted - Mar 24 2004 :  09:12:42 AM  Show Profile
Easy, cut HeaderFile from CHeaderFile somewhere and paste it into #include "".

To sanity check that the include file exists, just press Ctrl + Space (Don't ask why I pressed . first but I did!!!)
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Mar 24 2004 :  12:34:14 PM  Show Profile
good answer as for adding a . these things can happen through habit.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000