Click here to Skip to main content
16,009,150 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionOracleDataReader undeclared identifier error Pin
Reveille5-Feb-07 14:59
Reveille5-Feb-07 14:59 
AnswerRe: OracleDataReader undeclared identifier error Pin
User 5838525-Feb-07 15:41
User 5838525-Feb-07 15:41 
AnswerRe: OracleDataReader undeclared identifier error Pin
User 5838525-Feb-07 15:45
User 5838525-Feb-07 15:45 
GeneralRe: OracleDataReader undeclared identifier error Pin
Reveille7-Feb-07 9:03
Reveille7-Feb-07 9:03 
Question[Message Deleted] Pin
Petra5-Feb-07 11:55
Petra5-Feb-07 11:55 
AnswerRe: how to get a location of a character Pin
User 5838525-Feb-07 12:13
User 5838525-Feb-07 12:13 
GeneralRe: how to get a location of a character Pin
Mark Salsbery5-Feb-07 12:21
Mark Salsbery5-Feb-07 12:21 
AnswerRe: how to get a location of a character [modified] Pin
Mark Salsbery5-Feb-07 12:20
Mark Salsbery5-Feb-07 12:20 
One way:
#if (_MANAGED == 1)
  #pragma unmanaged
#endif
 
//Generic
TCHAR str[50] = _T("how are you ?");
size_t index = _tcscspn(str, _T("@$#?"));
if (index < _tcslen(str))
   // found special character at str[index]
else
   // No special characters found
 
#if (_MANAGED == 1)
  #pragma managed
#endif
or
#if (_MANAGED == 1)
  #pragma unmanaged
#endif
 
//non-Unicode
char str[50] = "how are you ?";
size_t index = strcspn( str, "@$#?");
if (index < strlen(str))
   // found special character at str[index]
else
   // No special characters found
 
#if (_MANAGED == 1)
  #pragma managed
#endif



-- modified at 18:34 Monday 5th February, 2007
Fixed so my reply applies to this forum Roll eyes | :rolleyes:
AnswerRe: how to get a location of a character Pin
Christian Graus5-Feb-07 12:28
protectorChristian Graus5-Feb-07 12:28 
GeneralRe: how to get a location of a character Pin
Nish Nishant5-Feb-07 13:01
sitebuilderNish Nishant5-Feb-07 13:01 
GeneralRe: how to get a location of a character Pin
Bartosz Bien6-Feb-07 4:49
Bartosz Bien6-Feb-07 4:49 
QuestionControl Designers Pin
Tojiro5-Feb-07 5:41
Tojiro5-Feb-07 5:41 
AnswerRe: Control Designers Pin
Nish Nishant5-Feb-07 9:03
sitebuilderNish Nishant5-Feb-07 9:03 
GeneralRe: Control Designers Pin
Tojiro5-Feb-07 11:14
Tojiro5-Feb-07 11:14 
Questionmanaged app -> using Inherited unmanaged classes Pin
adrianuswiedewanus5-Feb-07 5:05
adrianuswiedewanus5-Feb-07 5:05 
AnswerRe: managed app -> using Inherited unmanaged classes Pin
Nish Nishant5-Feb-07 9:01
sitebuilderNish Nishant5-Feb-07 9:01 
Questionfile manipulation in c Pin
deeps_cute4-Feb-07 15:22
deeps_cute4-Feb-07 15:22 
AnswerRe: file manipulation in c Pin
Christian Graus4-Feb-07 15:53
protectorChristian Graus4-Feb-07 15:53 
GeneralRe: file manipulation in c Pin
deeps_cute5-Feb-07 20:12
deeps_cute5-Feb-07 20:12 
GeneralRe: file manipulation in c Pin
Renjith Ramachandran5-Feb-07 21:03
Renjith Ramachandran5-Feb-07 21:03 
GeneralRe: file manipulation in c Pin
Christian Graus5-Feb-07 21:36
protectorChristian Graus5-Feb-07 21:36 
AnswerRe: file manipulation in c Pin
W Balboos, GHB6-Feb-07 8:21
W Balboos, GHB6-Feb-07 8:21 
QuestionHow can I open multiple files in the folder? Pin
ticce2-Feb-07 22:57
ticce2-Feb-07 22:57 
AnswerRe: How can I open multiple files in the folder? Pin
Christian Graus3-Feb-07 10:03
protectorChristian Graus3-Feb-07 10:03 
QuestionGame Overlay Pin
MaxPayneX2-Feb-07 6:24
MaxPayneX2-Feb-07 6:24 

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.