Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

[CONNECT C++] Possible to build std::vector of CaretCP or CaretPtr ?

$
0
0

I'm using FindText to locate expressions that represent a fraction. Once found, I'd like to save the match Caret locations in a std::vector<> for later use in editing the string, but I can't get the vector to "work".

CaretCR			matchStart = textMatch->GetMatchStart();

std::vector<CaretCR>     startMatchCaret;

// or

std::vector<CaretPtr>     startMatchCaret;

// or

std::vector<CaretCP>     startMatchCaret;

startMatchCaret.push_back(matchStart);

 

 

Bruce


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>