Click here to Skip to main content
15,897,891 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: DLL, EXE, dialog question Pin
Richard MacCutchan28-Jan-10 3:07
mveRichard MacCutchan28-Jan-10 3:07 
QuestionActiveX Controls. Pin
ashwath197928-Jan-10 2:28
ashwath197928-Jan-10 2:28 
QuestionInputing variable into string.find Pin
gregarion28-Jan-10 2:25
gregarion28-Jan-10 2:25 
QuestionRe: Inputing variable into string.find Pin
CPallini28-Jan-10 2:38
mveCPallini28-Jan-10 2:38 
AnswerRe: Inputing variable into string.find Pin
gregarion28-Jan-10 2:53
gregarion28-Jan-10 2:53 
GeneralRe: Inputing variable into string.find Pin
CPallini28-Jan-10 3:35
mveCPallini28-Jan-10 3:35 
AnswerRe: Inputing variable into string.find Pin
David Crow28-Jan-10 3:35
David Crow28-Jan-10 3:35 
AnswerRe: Inputing variable into string.find Pin
David Crow28-Jan-10 3:32
David Crow28-Jan-10 3:32 
gregarion wrote:
What i would like to do is to be able to input a number and using that number as the index


What about:

int index;
cin >> index;
string::size_type loc2 = s.find("yht", index);


"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"Man who follows car will be exhausted." - Confucius


GeneralRe: Inputing variable into string.find Pin
gregarion28-Jan-10 3:47
gregarion28-Jan-10 3:47 
QuestionDetermine the language of the OS Pin
Joschwenk66628-Jan-10 1:13
Joschwenk66628-Jan-10 1:13 
AnswerRe: Determine the language of the OS Pin
Richard MacCutchan28-Jan-10 1:42
mveRichard MacCutchan28-Jan-10 1:42 
AnswerRe: Determine the language of the OS Pin
Covean28-Jan-10 1:43
Covean28-Jan-10 1:43 
Questionwin7 & vista's problem Pin
nenfa28-Jan-10 1:07
nenfa28-Jan-10 1:07 
AnswerRe: win7 & vista's problem Pin
Richard MacCutchan28-Jan-10 1:44
mveRichard MacCutchan28-Jan-10 1:44 
GeneralRe: win7 & vista's problem Pin
nenfa28-Jan-10 3:21
nenfa28-Jan-10 3:21 
GeneralRe: win7 & vista's problem Pin
nenfa28-Jan-10 3:28
nenfa28-Jan-10 3:28 
GeneralRe: win7 & vista's problem Pin
Richard MacCutchan28-Jan-10 5:07
mveRichard MacCutchan28-Jan-10 5:07 
GeneralRe: win7 & vista's problem Pin
nenfa28-Jan-10 21:52
nenfa28-Jan-10 21:52 
GeneralRe: win7 & vista's problem Pin
Richard MacCutchan28-Jan-10 22:22
mveRichard MacCutchan28-Jan-10 22:22 
GeneralRe: win7 & vista's problem Pin
nenfa5-Feb-10 15:24
nenfa5-Feb-10 15:24 
QuestionConverting TCHAR to LPSTR to be used in CreateProcess [modified] Pin
lazy_panther28-Jan-10 0:57
lazy_panther28-Jan-10 0:57 
AnswerRe: Converting TCHAR to LPSTR to be used in CreateProcess Pin
Rajesh R Subramanian28-Jan-10 1:04
professionalRajesh R Subramanian28-Jan-10 1:04 
GeneralRe: Converting TCHAR to LPSTR to be used in CreateProcess Pin
lazy_panther28-Jan-10 1:30
lazy_panther28-Jan-10 1:30 
GeneralRe: Converting TCHAR to LPSTR to be used in CreateProcess Pin
Rajesh R Subramanian28-Jan-10 2:05
professionalRajesh R Subramanian28-Jan-10 2:05 
AnswerRe: Converting TCHAR to LPSTR to be used in CreateProcess Pin
KingsGambit28-Jan-10 1:06
KingsGambit28-Jan-10 1:06 

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.