Click here to Skip to main content
15,898,373 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to detect internet connection availability ? Pin
tns_ranjith8-Jul-06 4:20
tns_ranjith8-Jul-06 4:20 
AnswerRe: how to detect internet connection availability ? Pin
includeh108-Jul-06 6:16
includeh108-Jul-06 6:16 
AnswerRe: how to detect internet connection availability ? Pin
PJ Arends8-Jul-06 7:44
professionalPJ Arends8-Jul-06 7:44 
QuestionAvailable/installed RAM Pin
RomTibi8-Jul-06 3:10
RomTibi8-Jul-06 3:10 
AnswerRe: Available/installed RAM Pin
Gary R. Wheeler8-Jul-06 3:54
Gary R. Wheeler8-Jul-06 3:54 
GeneralRe: Available/installed RAM Pin
RomTibi8-Jul-06 5:59
RomTibi8-Jul-06 5:59 
Questionseparating strings [modified] Pin
Tara148-Jul-06 3:01
Tara148-Jul-06 3:01 
AnswerRe: separating strings Pin
Gary R. Wheeler8-Jul-06 3:59
Gary R. Wheeler8-Jul-06 3:59 
First of all, you can't use pass CString's directly to sscanf. Arguments to sscanf must be pointers.

If you are using the '\n' as the delimiter, you could try something like the following:
CString s1,s2;
CString strOriginal = getmain();
int offset = strOriginal.Find('\n');
if (offset >= 0) {
  s1 = strOriginal.Left(offset);
  s2 = strOriginal.Mid(offset + 1);
}



Software Zen: delete this;
GeneralRe: separating strings Pin
Tara148-Jul-06 5:21
Tara148-Jul-06 5:21 
Questionolestd.h , compilation problem in vc++ 7.0 Pin
jalsa G8-Jul-06 1:00
jalsa G8-Jul-06 1:00 
AnswerRe: olestd.h , compilation problem in vc++ 7.0 Pin
Sarath C8-Jul-06 2:20
Sarath C8-Jul-06 2:20 
Questiontoolbar and CColorDialog Pin
TranQuangNhat8-Jul-06 0:56
TranQuangNhat8-Jul-06 0:56 
AnswerRe: toolbar and CColorDialog Pin
Sarath C8-Jul-06 2:26
Sarath C8-Jul-06 2:26 
Questionhow we can get specitfied port is running or not Pin
johnalek8-Jul-06 0:34
johnalek8-Jul-06 0:34 
AnswerRe: how we can get specitfied port is running or not [modified] Pin
Sarath C8-Jul-06 0:47
Sarath C8-Jul-06 0:47 
GeneralRe: how we can get specitfied port is running or not [modified] Pin
johnalek8-Jul-06 0:58
johnalek8-Jul-06 0:58 
GeneralRe: how we can get specitfied port is running or not Pin
Sarath C8-Jul-06 2:19
Sarath C8-Jul-06 2:19 
GeneralRe: how we can get specitfied port is running or not Pin
ThatsAlok9-Jul-06 20:22
ThatsAlok9-Jul-06 20:22 
Questionproblem in fucntion calling Pin
Amit Agarrwal8-Jul-06 0:27
Amit Agarrwal8-Jul-06 0:27 
AnswerRe: problem in fucntion calling Pin
Sarath C8-Jul-06 0:42
Sarath C8-Jul-06 0:42 
GeneralRe: problem in fucntion calling Pin
Amit Agarrwal8-Jul-06 2:51
Amit Agarrwal8-Jul-06 2:51 
GeneralRe: problem in fucntion calling Pin
Amit Agarrwal8-Jul-06 3:39
Amit Agarrwal8-Jul-06 3:39 
GeneralRe: problem in fucntion calling Pin
Sarath C9-Jul-06 0:48
Sarath C9-Jul-06 0:48 
GeneralRe: problem in fucntion calling Pin
Amit Agarrwal9-Jul-06 19:49
Amit Agarrwal9-Jul-06 19:49 
GeneralRe: problem in fucntion calling Pin
Sarath C9-Jul-06 19:56
Sarath C9-Jul-06 19:56 

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.