Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 . turns to -> inside quoted string

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
bins Posted - Oct 25 2005 : 10:50:03 AM
typing
"blah : file.
results in
"blah : file->

hardly a showstopper but thought you should know ...

Rob
4   L A T E S T    R E P L I E S    (Newest First)
support Posted - Jan 25 2006 : 7:32:05 PM
Fixed in 1440.
feline Posted - Oct 27 2005 : 7:01:20 PM
got it now

case=864
bins Posted - Oct 27 2005 : 5:46:30 PM
Try this ... you need both lines



// declare p as a pointer 

char *p = "p."; // works ok

char *p2 = "p.   // . becomes ->



once p is known to be a pointer, . always becomes ->
this is usually what's wanted, except inside quotes or comments

VA 1428 VS2003

Rob

feline Posted - Oct 26 2005 : 7:10:25 PM
using VS 2003, C++ and VA 1428 i have typed in both the lines:

char *pszTest = "this. is. a. string. with. dots.";

and

char *pszTest = "this. is. a. string. with. dots.

so one with the double quotes closed, and one with them open. in both cases all of the dots were left alone. i have also tried your string, both with double quotes open and closed, and again everything was fine. which IDE and version of VA were you using? does this happen in all files? i am guessing this is somehow context sensitive, or related to what is in front of the dot.

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