Click here to Skip to main content
15,888,521 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTLB's need to be registered ?? Pin
Braulio Dez12-May-03 5:28
Braulio Dez12-May-03 5:28 
AnswerRe: TLB's need to be registered ?? Pin
Anonymous13-May-03 16:13
Anonymous13-May-03 16:13 
GeneralWinINet Via Proxy Pin
thowra12-May-03 5:09
thowra12-May-03 5:09 
GeneralErrors Pin
flora_k12-May-03 4:50
flora_k12-May-03 4:50 
GeneralRe: Errors Pin
flora_k12-May-03 4:53
flora_k12-May-03 4:53 
GeneralRe: Errors Pin
G. Steudtel12-May-03 5:11
G. Steudtel12-May-03 5:11 
GeneralRe: Errors Pin
David Crow12-May-03 5:11
David Crow12-May-03 5:11 
GeneralRe: Errors Pin
Iain Clarke, Warrior Programmer12-May-03 5:13
Iain Clarke, Warrior Programmer12-May-03 5:13 
2nd question first...

double d,e = 5.731;
d = floor (e); // = 5
d = ceil (e); // = 6
d = fmod (e, 1.0); // = 0.731
d = fmod (e, 2.0); // = 1.731


As for the 1st question:
a) You don't give us the error messages. If there are loads, the first few will do.
Chances are, error 10-99 are follow ons from errors 1 - 9.

b) You have two '#include's at the beginning, but you don't give the preprocessor
and filenames to actually include...

c) There are a LOT of file scope (global) variables here. Not the best programming
example. If it works, then OK, but don't take too many tips from it.

Iain.

GeneralSpinControl Help Pin
VanHlebar12-May-03 4:45
VanHlebar12-May-03 4:45 
GeneralRe: SpinControl Help Pin
Iain Clarke, Warrior Programmer12-May-03 5:05
Iain Clarke, Warrior Programmer12-May-03 5:05 
GeneralRe: SpinControl Help Pin
VanHlebar12-May-03 16:25
VanHlebar12-May-03 16:25 
GeneralRe: SpinControl Help Pin
VanHlebar12-May-03 16:26
VanHlebar12-May-03 16:26 
GeneralDynamic loading of buttons Pin
JensB12-May-03 4:33
JensB12-May-03 4:33 
GeneralRe: Dynamic loading of buttons Pin
David Crow12-May-03 4:38
David Crow12-May-03 4:38 
GeneralRe: Dynamic loading of buttons Pin
JensB12-May-03 4:43
JensB12-May-03 4:43 
GeneralRe: Dynamic loading of buttons Pin
David Crow12-May-03 5:06
David Crow12-May-03 5:06 
GeneralRe: Dynamic loading of buttons Pin
basementman12-May-03 5:23
basementman12-May-03 5:23 
GeneralRe: Dynamic loading of buttons Pin
David Crow12-May-03 5:56
David Crow12-May-03 5:56 
GeneralCPropertySheet Pin
RalfPeter12-May-03 4:23
RalfPeter12-May-03 4:23 
GeneralRe: CPropertySheet Pin
JensB12-May-03 4:30
JensB12-May-03 4:30 
GeneralRe: CPropertySheet Pin
David Crow12-May-03 4:36
David Crow12-May-03 4:36 
Generalsimple virtual method design q. Pin
Maximilien12-May-03 4:06
Maximilien12-May-03 4:06 
GeneralRe: simple virtual method design q. Pin
G. Steudtel12-May-03 4:42
G. Steudtel12-May-03 4:42 
GeneralCompile error c2664 Pin
Claude Gagnon12-May-03 3:56
Claude Gagnon12-May-03 3:56 
GeneralRe: Compile error c2664 Pin
David Crow12-May-03 4:29
David Crow12-May-03 4:29 

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.