Click here to Skip to main content
11,715,165 members (77,855 online)

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
mvpRichard 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
mvpRichard 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
memberJohn 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
mvpRichard 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_7114-Jul-12 23:51
memberpaul_7114-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
mvpRichard 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
mvpRichard 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
mvpRichard 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
mvpRichard 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
mvpRichard MacCutchan7-Jun-12 21:58 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.150901.1 | Last Updated 24 Aug 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid