Click here to Skip to main content
14,868,645 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionHow to activate keys combination with hook ? Pin
zayl54317-Aug-12 0:18
Memberzayl54317-Aug-12 0:18 
SuggestionRe: How to activate keys combination with hook ? Pin
sanjaylk12-Sep-12 2:00
Membersanjaylk12-Sep-12 2:00 
Questionvoid GetFieldValue( LPCTSTR lpszName, CString& strValue ); Pin
lucky_122119-Jul-12 22:21
Memberlucky_122119-Jul-12 22:21 
Questionsearch in a text fiel Pin
byank18-Jul-12 2:06
Memberbyank18-Jul-12 2:06 
AnswerRe: search in a text fiel Pin
Richard MacCutchan18-Jul-12 3:28
mveRichard MacCutchan18-Jul-12 3:28 
GeneralRe: search in a text fiel Pin
byank19-Jul-12 10:58
Memberbyank19-Jul-12 10:58 
GeneralRe: search in a text fiel Pin
Richard MacCutchan19-Jul-12 22:05
mveRichard MacCutchan19-Jul-12 22:05 
QuestionConvert string to integer only such that if it is alphanumeric or float it shouldnot return anything Pin
Abinash Mohanty17-Jul-12 3:13
MemberAbinash Mohanty17-Jul-12 3:13 
Hi All,

I want to covert a string to integer.Consider the string as char str[10]; and integer as int num; My case is as following:-
1) Suppose str = "10"
num should be = 10
2) Suppose str = "10.88"
num should be 0 or any invalid number so that we can identify that its not an integer but any other value.
3) Suppose str = "10ab"
num should be 0 or any invalid number so that we can identify that its not an integer but any other value.

Is there any direct API by which we can identify the above cases. I have tried atoi() but it returns the remaining integer value after removing the float or alphanumeric values.
Or
I have to try it by creating my own method.
GeneralRe: Convert string to integer only such that if it is alphanumeric or float it shouldnot return anything Pin
John Schroedl17-Jul-12 3:29
professionalJohn Schroedl17-Jul-12 3:29 
GeneralRe: Convert string to integer only such that if it is alphanumeric or float it shouldnot return anything Pin
Abinash Mohanty17-Jul-12 18:13
MemberAbinash Mohanty17-Jul-12 18:13 
QuestionRead char by char in a file after write char by char to another file in vc++. Pin
lucky_122116-Jul-12 23:03
Memberlucky_122116-Jul-12 23:03 
AnswerRe: Read char by char in a file after write char by char to another file in vc++. Pin
Richard MacCutchan16-Jul-12 23:32
mveRichard MacCutchan16-Jul-12 23:32 
QuestionC++/CLI - Pin a function pointer Pin
krishter10-Jul-12 23:16
Memberkrishter10-Jul-12 23:16 
GeneralRe: C++/CLI - Pin a function pointer Pin
Paul Michalik14-Jul-12 23:51
MemberPaul Michalik14-Jul-12 23:51 
QuestionHow to Make and Use Resource DialogBoxes in VC++ 2008 Pin
ICEFLOWER226-Jun-12 4:07
MemberICEFLOWER226-Jun-12 4:07 
AnswerRe: How to Make and Use Resource DialogBoxes in VC++ 2008 Pin
Richard MacCutchan26-Jun-12 4:31
mveRichard MacCutchan26-Jun-12 4:31 
GeneralRe: How to Make and Use Resource DialogBoxes in VC++ 2008 Pin
ICEFLOWER226-Jun-12 7:53
MemberICEFLOWER226-Jun-12 7:53 
GeneralRe: How to Make and Use Resource DialogBoxes in VC++ 2008 Pin
Richard MacCutchan26-Jun-12 8:24
mveRichard MacCutchan26-Jun-12 8:24 
QuestionGetting MdiParent Instance From MdiChild - Windows Forms Application Pin
Paramu197312-Jun-12 1:50
MemberParamu197312-Jun-12 1:50 
AnswerRe: Getting MdiParent Instance From MdiChild - Windows Forms Application Pin
Richard MacCutchan12-Jun-12 2:15
mveRichard MacCutchan12-Jun-12 2:15 
GeneralRe: Getting MdiParent Instance From MdiChild - Windows Forms Application Pin
Paramu197312-Jun-12 2:30
MemberParamu197312-Jun-12 2:30 
GeneralRe: Getting MdiParent Instance From MdiChild - Windows Forms Application Pin
Richard MacCutchan12-Jun-12 3:03
mveRichard MacCutchan12-Jun-12 3:03 
GeneralRe: Getting MdiParent Instance From MdiChild - Windows Forms Application Pin
Paramu197315-Jun-12 1:30
MemberParamu197315-Jun-12 1:30 
QuestionHow to convert from 'WCHAR' to 'System::String ^' Managed C++ Pin
ptr_Electron7-Jun-12 20:08
Memberptr_Electron7-Jun-12 20:08 
AnswerRe: How to convert from 'WCHAR' to 'System::String ^' Managed C++ Pin
Richard MacCutchan7-Jun-12 21:58
mveRichard MacCutchan7-Jun-12 21:58 

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.