Click here to Skip to main content
15,921,226 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: this is the code Pin
jmkhael22-Apr-04 1:50
jmkhael22-Apr-04 1:50 
GeneralRe: this is the code Pin
Steve S22-Apr-04 1:58
Steve S22-Apr-04 1:58 
GeneralRe: this is the code Pin
jmkhael22-Apr-04 2:00
jmkhael22-Apr-04 2:00 
GeneralRe: this is the code Pin
Steve S22-Apr-04 21:43
Steve S22-Apr-04 21:43 
GeneralactiveX Placement/Resizing Pin
Abhi Lahare22-Apr-04 0:06
Abhi Lahare22-Apr-04 0:06 
Questioniostream.h/fstream.h??? Pin
roadragedave22-Apr-04 0:01
roadragedave22-Apr-04 0:01 
AnswerRe: iostream.h/fstream.h??? Pin
toxcct22-Apr-04 0:19
toxcct22-Apr-04 0:19 
AnswerRe: iostream.h/fstream.h??? Pin
Paul Ranson22-Apr-04 0:22
Paul Ranson22-Apr-04 0:22 
"iostream.h" and "fstream.h" are not part of C++. Look at "iostream" and "fstream" and then the 'std::' scope.
#include <iostream>
#include <iomanip>
#include <fstream>

void SomeFuncToReadFile ( const char * sFile )
{
   std::ifstream in ( s ) ;
   if ( !in )
   {
      std::cerr << "Couldn't open input file : " << s << std::endl ;
      return ;
   }
   in.unsetf(std::ios::skipws) ;

   // do whatever with the file
}

Paul
QuestionCleanest way to convert a two character string like &quot;4D&quot; to it's hex-equivalent-number ? Pin
ohadp21-Apr-04 23:57
ohadp21-Apr-04 23:57 
AnswerRe: Cleanest way to convert a two character string like "4D" to it's hex-equivalent-number ? Pin
toxcct22-Apr-04 0:13
toxcct22-Apr-04 0:13 
AnswerRe: Cleanest way to convert a two character string like &quot;4D&quot; to it's hex-equivalent-number ? Pin
jmkhael22-Apr-04 0:30
jmkhael22-Apr-04 0:30 
GeneralRe: Cleanest way to convert a two character string like &quot;4D&quot; to it's hex-equivalent-number ? Pin
ohadp22-Apr-04 0:42
ohadp22-Apr-04 0:42 
GeneralRe: Cleanest way to convert a two character string like &quot;4D&quot; to it's hex-equivalent-number ? Pin
toxcct22-Apr-04 1:02
toxcct22-Apr-04 1:02 
GeneralRe: Cleanest way to convert a two character string like &quot;4D&quot; to it's hex-equivalent-number ? Pin
Prakash Nadar22-Apr-04 1:05
Prakash Nadar22-Apr-04 1:05 
GeneralRe: Cleanest way to convert a two character string like &quot;4D&quot; to it's hex-equivalent-number ? Pin
toxcct22-Apr-04 1:39
toxcct22-Apr-04 1:39 
GeneralClient server problem Pin
VBZ21-Apr-04 23:31
VBZ21-Apr-04 23:31 
GeneralRe: Client server problem Pin
ThatsAlok22-Apr-04 4:03
ThatsAlok22-Apr-04 4:03 
GeneralRe: Client server problem Pin
VBZ25-Apr-04 21:16
VBZ25-Apr-04 21:16 
QuestionCan we use the &quot;Source Browser&quot; in VC.net Pin
hottang21-Apr-04 23:22
hottang21-Apr-04 23:22 
AnswerRe: Can we use the "Source Browser" in VC.net Pin
Maxwell Chen21-Apr-04 23:33
Maxwell Chen21-Apr-04 23:33 
GeneralRe: Can we use the &quot;Source Browser&quot; in VC.net Pin
hottang21-Apr-04 23:57
hottang21-Apr-04 23:57 
GeneralRe: Can we use the &quot;Source Browser&quot; in VC.net Pin
Maxwell Chen22-Apr-04 16:15
Maxwell Chen22-Apr-04 16:15 
GeneralProblem with sizing Pin
ykutanoor21-Apr-04 23:01
ykutanoor21-Apr-04 23:01 
GeneralRe: Problem with sizing Pin
Cedric Moonen22-Apr-04 1:13
Cedric Moonen22-Apr-04 1:13 
GeneralCImageList + CTreeCtrl problem Pin
YaronNir21-Apr-04 22:57
YaronNir21-Apr-04 22:57 

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.