Click here to Skip to main content
15,893,814 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralClass missing in Class view pane Pin
eowyn19-Oct-03 19:30
eowyn19-Oct-03 19:30 
GeneralRe: Class missing in Class view pane Pin
Anonymous19-Oct-03 20:38
Anonymous19-Oct-03 20:38 
GeneralRe: Class missing in Class view pane Pin
Rasmus Therkelsen19-Oct-03 21:05
Rasmus Therkelsen19-Oct-03 21:05 
GeneralRe: Class missing in Class view pane Pin
jhwurmbach19-Oct-03 22:58
jhwurmbach19-Oct-03 22:58 
GeneralRe: Class missing in Class view pane Pin
sanskypotov15-Feb-04 21:44
sanskypotov15-Feb-04 21:44 
GeneralDeclarations help Pin
fynox19-Oct-03 17:41
fynox19-Oct-03 17:41 
GeneralRe: Declarations help Pin
Joe Woodbury19-Oct-03 18:27
professionalJoe Woodbury19-Oct-03 18:27 
QuestionHELP PLEASE!!! CRAZY COMPILERS????? Pin
tguzella19-Oct-03 12:44
tguzella19-Oct-03 12:44 
i need help: when i compile the following program (I have tested in bloodshed devc++, and visual c++ .net):

---------------------------------------------------------------------------

#include <fstream>
#include <iostream>
#include <windows.h>
#include <float.h>

using namespace std;

int main()
{
float fnumber=1.123456789012345678;
double dnumber=1.123456789012345678;
long double ldnumber=1.123456789012345678;

cout << "Float: " << fnumber << endl;
cout << "Double: " << dnumber << endl;
cout << "Long Double: " << ldnumber << endl;

cout << "sizeof(float): " << sizeof(float) << endl;
cout << "sizeof(double): " << sizeof(double) << endl;
cout << "sizeof(long double): " << sizeof(long double) << endl;

system("pause");
return 0;
}

----------------------------------------------------------------------------

, the program outputs fnumber, dnumber and ldnumber (all of them) as 1.2346.

i have no clue why this is happening... i am running this program on a athlon xp 2000+, under windows xp pro sp1...

any help will be aprecciated...
AnswerRe: HELP PLEASE!!! CRAZY COMPILERS????? Pin
tguzella19-Oct-03 12:45
tguzella19-Oct-03 12:45 
AnswerRe: HELP PLEASE!!! CRAZY COMPILERS????? Pin
markkuk19-Oct-03 22:48
markkuk19-Oct-03 22:48 
AnswerRe: HELP PLEASE!!! CRAZY COMPILERS????? Pin
jhwurmbach19-Oct-03 22:56
jhwurmbach19-Oct-03 22:56 
GeneralMacro accessing a function from another macro file Pin
Jeff Miles19-Oct-03 12:35
Jeff Miles19-Oct-03 12:35 
GeneralDatabase connection through MFC help Pin
Mike Danberg19-Oct-03 12:33
Mike Danberg19-Oct-03 12:33 
GeneralRe: Database connection through MFC help Pin
Michael P Butler19-Oct-03 23:35
Michael P Butler19-Oct-03 23:35 
GeneralRe: Database connection through MFC help Pin
Mike Danberg20-Oct-03 6:16
Mike Danberg20-Oct-03 6:16 
GeneralHelp with some C Pin
Sirrius19-Oct-03 11:05
Sirrius19-Oct-03 11:05 
GeneralRe: Help with some C Pin
markkuk19-Oct-03 11:45
markkuk19-Oct-03 11:45 
GeneralRe: Convert int to hexa Pin
Alexander M.,19-Oct-03 10:26
Alexander M.,19-Oct-03 10:26 
GeneralRe: MRU problem Pin
Neville Franks19-Oct-03 9:45
Neville Franks19-Oct-03 9:45 
GeneralRe: MRU problem Pin
YaronNir19-Oct-03 22:47
YaronNir19-Oct-03 22:47 
GeneralRe: MRU problem Pin
Neville Franks19-Oct-03 23:13
Neville Franks19-Oct-03 23:13 
GeneralRe: MRU problem Pin
YaronNir19-Oct-03 23:25
YaronNir19-Oct-03 23:25 
GeneralRe: MRU problem Pin
Neville Franks20-Oct-03 0:02
Neville Franks20-Oct-03 0:02 
GeneralRe: MRU problem Pin
YaronNir20-Oct-03 0:14
YaronNir20-Oct-03 0:14 
GeneralRe: MRU problem Pin
Neville Franks20-Oct-03 2:16
Neville Franks20-Oct-03 2:16 

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.