Click here to Skip to main content
16,014,940 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Do not use precompiled headers for a file? Pin
27-May-02 9:33
suss27-May-02 9:33 
AnswerRe: Do not use precompiled headers for a file? Pin
Joaquín M López Muñoz27-May-02 10:17
Joaquín M López Muñoz27-May-02 10:17 
GeneralRe: Do not use precompiled headers for a file? Pin
27-May-02 13:14
suss27-May-02 13:14 
GeneralRe: Do not use precompiled headers for a file? Pin
Rama Krishna Vavilala27-May-02 15:23
Rama Krishna Vavilala27-May-02 15:23 
GeneralRe: Do not use precompiled headers for a file? Pin
28-May-02 1:57
suss28-May-02 1:57 
AnswerRe: Do not use precompiled headers for a file? Pin
Joel Lucsy27-May-02 17:12
Joel Lucsy27-May-02 17:12 
GeneralDetermine if a string is a number Pin
Anton A. Loukine27-May-02 7:34
Anton A. Loukine27-May-02 7:34 
GeneralRe: Determine if a string is a number Pin
Ravi Bhavnani27-May-02 7:50
professionalRavi Bhavnani27-May-02 7:50 
I don't know about case 4, but here's a quick and dirty check:
bool convertToFloat
  (CString& strNumber,
   float&   fValue)
{
  float floatValue = 0.0;
  if (sscanf (strNumber, "%f", &floatValue) == 1) {
     fValue = floatValue;
     return (true);
  }
  return (false);
}
/ravi

Let's try putting "civil" back into "civilization"
http://www.ravib.com
ravib@ravib.com
GeneralRe: Determine if a string is a number Pin
Matt Gullett27-May-02 7:58
Matt Gullett27-May-02 7:58 
GeneralRe: Determine if a string is a number Pin
Anders Molin27-May-02 10:12
professionalAnders Molin27-May-02 10:12 
GeneralRe: Determine if a string is a number Pin
l a u r e n27-May-02 11:57
l a u r e n27-May-02 11:57 
GeneralRe: Determine if a string is a number Pin
Steve L.27-May-02 13:57
Steve L.27-May-02 13:57 
GeneralRe: Determine if a string is a number Pin
Ernest Laurentin28-May-02 6:11
Ernest Laurentin28-May-02 6:11 
GeneralRe: Determine if a string is a number Pin
Mike Nordell28-May-02 15:55
Mike Nordell28-May-02 15:55 
Generalqueue of buffers Pin
starnx27-May-02 7:10
starnx27-May-02 7:10 
QuestionHow to return C++ Class pointer in COM interface? Pin
Uttam Kumar Unik!27-May-02 5:52
Uttam Kumar Unik!27-May-02 5:52 
AnswerRe: How to return C++ Class pointer in COM interface? Pin
Paul M Watt27-May-02 6:09
mentorPaul M Watt27-May-02 6:09 
GeneralRe: How to return C++ Class pointer in COM interface? Pin
Uttam Kumar Unik!27-May-02 21:42
Uttam Kumar Unik!27-May-02 21:42 
AnswerRe: How to return C++ Class pointer in COM interface? Pin
Le centriste28-May-02 7:57
Le centriste28-May-02 7:57 
GeneralListbox sorting Pin
_Magnus_27-May-02 5:38
_Magnus_27-May-02 5:38 
GeneralSubject: Flickering (A problem for EVER) Pin
Hadi Rezaee27-May-02 5:09
Hadi Rezaee27-May-02 5:09 
GeneralRe: Subject: Flickering (A problem for EVER) Pin
Erik Funkenbusch27-May-02 5:16
Erik Funkenbusch27-May-02 5:16 
GeneralRe: Subject: Flickering (A problem for EVER) Pin
Hadi Rezaee27-May-02 6:36
Hadi Rezaee27-May-02 6:36 
GeneralRe: Subject: Flickering (A problem for EVER) Pin
Hadi Rezaee27-May-02 7:59
Hadi Rezaee27-May-02 7:59 
GeneralRe: Subject: Flickering (A problem for EVER) Pin
Alan Chambers27-May-02 6:06
Alan Chambers27-May-02 6: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.