Click here to Skip to main content
15,891,184 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralManaged DirectX problem Pin
reznod9-Apr-04 8:59
reznod9-Apr-04 8:59 
GeneralRe: Managed DirectX problem Pin
Mikko Puonti9-Apr-04 23:18
Mikko Puonti9-Apr-04 23:18 
GeneralRe: Managed DirectX problem Pin
reznod10-Apr-04 7:04
reznod10-Apr-04 7:04 
GeneralDllImport problem Pin
reznod8-Apr-04 7:11
reznod8-Apr-04 7:11 
GeneralRe: DllImport problem Pin
Anthony_Yio13-Apr-04 0:42
Anthony_Yio13-Apr-04 0:42 
GeneralRichEditView error when closing VC.Net app Pin
BlackDice8-Apr-04 6:47
BlackDice8-Apr-04 6:47 
GeneralStrings Pin
Billly1237-Apr-04 23:41
sussBillly1237-Apr-04 23:41 
GeneralRe: Strings Pin
Cyric7419-Apr-04 13:55
Cyric7419-Apr-04 13:55 
String *Line = S"Most people find this hard";
String *char = S"t";
Int16 iBegin = 5;

//Substring Line to all characters from iBegin on
//Find index of 'char' in the substring
Int16 iIndex = Line->Substring(iBegin)->IndexOf( char );

//Index total by adding whatever iIndex found with iBegin
Console::Write( iIndex + iBegin );

***
That's probably the most simple way. There are some other ways (using IndexOf/IndexOfAny, or some other string functions that I don't recall at the moment) that may also work for finding a character within a specific range.

Cyric
GeneralCasting Problem for a beginner Pin
Hosam CFJ6-Apr-04 11:21
Hosam CFJ6-Apr-04 11:21 
GeneralRe: Casting Problem for a beginner Pin
Christian Graus6-Apr-04 11:41
protectorChristian Graus6-Apr-04 11:41 
GeneralRe: Casting Problem for a beginner Pin
Hosam CFJ6-Apr-04 12:18
Hosam CFJ6-Apr-04 12:18 
GeneralRe: Casting Problem for a beginner Pin
Christian Graus6-Apr-04 12:20
protectorChristian Graus6-Apr-04 12:20 
GeneralRe: Casting Problem for a beginner Pin
Nemanja Trifunovic6-Apr-04 13:14
Nemanja Trifunovic6-Apr-04 13:14 
GeneralRe: Casting Problem for a beginner Pin
Nemanja Trifunovic6-Apr-04 13:16
Nemanja Trifunovic6-Apr-04 13:16 
GeneralRe: Casting Problem for a beginner Pin
BlackDice12-Apr-04 11:07
BlackDice12-Apr-04 11:07 
GeneralInvitation Pin
Member 7951483-Apr-04 6:23
Member 7951483-Apr-04 6:23 
Generaladding managed extensions - Error! Pin
BlackDice2-Apr-04 3:40
BlackDice2-Apr-04 3:40 
Questiondo get_ and set_ have to be used in conjunction? Pin
charlener1-Apr-04 16:28
charlener1-Apr-04 16:28 
AnswerRe: do get_ and set_ have to be used in conjunction? Pin
charlener1-Apr-04 16:29
charlener1-Apr-04 16:29 
AnswerRe: do get_ and set_ have to be used in conjunction? Pin
Andy Wieberneit1-Apr-04 20:03
Andy Wieberneit1-Apr-04 20:03 
GeneralIterate through vector Pin
wadstar31-Mar-04 8:15
wadstar31-Mar-04 8:15 
GeneralManaged C++ and AfxOleInit Pin
mstanciu200030-Mar-04 21:29
mstanciu200030-Mar-04 21:29 
Generalcustom window drawing Pin
Darmochwal Robert30-Mar-04 10:36
Darmochwal Robert30-Mar-04 10:36 
Questionhow to get the handle of the RICHEDIT Pin
dilip_sar30-Mar-04 10:32
dilip_sar30-Mar-04 10:32 
AnswerRe: how to get the handle of the RICHEDIT Pin
ravjak1-Apr-04 4:32
ravjak1-Apr-04 4:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.