Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Convert dot to... and bracket

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
__Daniel__ Posted - Nov 23 2009 : 07:08:11 AM
Hello.
( selected ) Convert dot to ->
( selected ) Convert dot to -> if operator...

t.h:
#pragma once

class CTest
{
public:
	int Get() const;
};

void Fun( CTest* p );


main file:
#include "stdafx.h"
#include "t.h"
#include <memory>

int _tmain(int argc, _TCHAR* argv[])
{
	std::auto_ptr< CTest > p;
	// insert code here
	return 0;
}


I try type Fun( p.get() );
Type: ( | - cursor )
1. Fun(|);
2. Fun( p|);
3. Fun( p.|); -> Fun( p->|); ( vsassist )
4. Backspace ( for change "->" to "." )
5. Unfortunately appears: Fun( p->
6. Backspace, backspace, dot, backspace - at last: Fun( p.
2   L A T E S T    R E P L I E S    (Newest First)
__Daniel__ Posted - Nov 24 2009 : 03:37:42 AM
Thanks :)
accord Posted - Nov 23 2009 : 4:02:41 PM
Just press alt+backspace (undo), it will replace the -> to . because we put . into the undo buffer before replace it to ->

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