Click here to Skip to main content
15,892,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: RegQueryValueEx + DWORD problem Pin
G. Steudtel13-Jan-04 6:00
G. Steudtel13-Jan-04 6:00 
GeneralParsing CStrings & Find Strings. Pin
rspringstead200313-Jan-04 4:34
rspringstead200313-Jan-04 4:34 
GeneralRe: Parsing CStrings & Find Strings. Pin
rspringstead200313-Jan-04 4:45
rspringstead200313-Jan-04 4:45 
GeneralCInternetSession Pin
FerrariDMan13-Jan-04 4:32
FerrariDMan13-Jan-04 4:32 
GeneralUninstalling Pin
act_x13-Jan-04 4:31
act_x13-Jan-04 4:31 
GeneralChanging VC++ compilers Pin
Joel Lipschultz13-Jan-04 4:19
Joel Lipschultz13-Jan-04 4:19 
QuestionCstring::find bug??? Pin
Anonymous13-Jan-04 4:15
Anonymous13-Jan-04 4:15 
AnswerRe: Cstring::find bug??? Pin
RChin13-Jan-04 5:56
RChin13-Jan-04 5:56 
Be careful of how you use the second parameter, the starting location. MSDN defines this as


nStart


The index of the character in the string to begin the search with, or 0 to start from the beginning. The character at nStart is excluded from the search if nStart is not equal to 0.


This implies that for a string value of :

<br />
CString strValue("0123456");<br />
int nPos = strValue.Find('3',3);<br />

..This will fail to find the '3', as the starting location is excluded from the search (apart from location zero.







I Dream of Absolute Zero

Generalfatal error Pin
Goh Hui Beng13-Jan-04 4:15
Goh Hui Beng13-Jan-04 4:15 
GeneralRe: fatal error Pin
Antti Keskinen13-Jan-04 6:43
Antti Keskinen13-Jan-04 6:43 
GeneralTreeCtrl with customized background --- PROBLEM Pin
TiberiusvP13-Jan-04 4:03
TiberiusvP13-Jan-04 4:03 
GeneralDatabases and C++ Pin
mcsherry13-Jan-04 3:40
mcsherry13-Jan-04 3:40 
GeneralRe: Databases and C++ Pin
pankajdaga13-Jan-04 4:01
pankajdaga13-Jan-04 4:01 
GeneralRe: Databases and C++ Pin
mcsherry13-Jan-04 4:43
mcsherry13-Jan-04 4:43 
GeneralRe: Databases and C++ Pin
RChin13-Jan-04 5:41
RChin13-Jan-04 5:41 
GeneralRe: Databases and C++ Pin
mcsherry13-Jan-04 4:35
mcsherry13-Jan-04 4:35 
GeneralRe: Databases and C++ Pin
RChin13-Jan-04 5:48
RChin13-Jan-04 5:48 
GeneralRe: Databases and C++ Pin
forjer13-Jan-04 6:42
forjer13-Jan-04 6:42 
GeneralDisable ASSERT in Debug mode Pin
misha_grewal13-Jan-04 3:21
misha_grewal13-Jan-04 3:21 
GeneralRe: Disable ASSERT in Debug mode Pin
Prakash Nadar13-Jan-04 3:31
Prakash Nadar13-Jan-04 3:31 
GeneralRe: Disable ASSERT in Debug mode Pin
misha_grewal13-Jan-04 17:02
misha_grewal13-Jan-04 17:02 
GeneralRe: Disable ASSERT in Debug mode Pin
kasparov_8515-Jan-13 21:52
kasparov_8515-Jan-13 21:52 
GeneralODBC - dbf files - strange error msg Pin
Qadddd13-Jan-04 2:07
Qadddd13-Jan-04 2:07 
GeneralSockets and Memory leak Pin
Member 81460313-Jan-04 2:03
Member 81460313-Jan-04 2:03 
GeneralRe: Sockets and Memory leak Pin
Antti Keskinen13-Jan-04 3:07
Antti Keskinen13-Jan-04 3:07 

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.