Click here to Skip to main content
15,923,006 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: What to do to get rid from this error "Dll Function call crashed"? Pin
Joaquín M López Muñoz17-Jan-02 3:09
Joaquín M López Muñoz17-Jan-02 3:09 
Generalabout Flat-ToolBar Pin
16-Jan-02 4:09
suss16-Jan-02 4:09 
GeneralSelecting Printer in CWebBrowser2 Ctrl Pin
jerry0davis16-Jan-02 4:08
jerry0davis16-Jan-02 4:08 
GeneralwaveOutGetNumDevs Pin
Mark Donkers16-Jan-02 3:36
Mark Donkers16-Jan-02 3:36 
GeneralRe: waveOutGetNumDevs Pin
Bernhard16-Jan-02 4:05
Bernhard16-Jan-02 4:05 
GeneralRe: waveOutGetNumDevs Pin
Ernest Laurentin16-Jan-02 4:16
Ernest Laurentin16-Jan-02 4:16 
GeneralRe: waveOutGetNumDevs Pin
Mark Donkers16-Jan-02 5:04
Mark Donkers16-Jan-02 5:04 
GeneralCommunication between classes and some graphics Pin
16-Jan-02 3:30
suss16-Jan-02 3:30 
I'm trying to make a model rocket simulation where the user can selection file>options from the menu, enter in the rocket data and I'll display a simulation of the rocket flying in the air.

I have the dialog box get the data, I have the functions to do the actual simulation, now I just need to know how to get that data from the dialog box once the user hits OK and then draw the results (I know about the draw functions using dc, but not how to properly implement them in this case).

Also, I have three functions which I use for the simulation, what class should I make them a part of (one does the math, other draws and the third calls the other two).

ie.




void doSimulation()
{
//get data (gravity, mass, etc) from dialog box
for (i=0;i
GeneralRe: Communication between classes and some graphics Pin
567890123416-Jan-02 4:16
567890123416-Jan-02 4:16 
Generalpassing an argument to an executable file Pin
JCY16-Jan-02 3:24
JCY16-Jan-02 3:24 
GeneralRe: passing an argument to an executable file Pin
Chris Losinger16-Jan-02 3:28
professionalChris Losinger16-Jan-02 3:28 
GeneralRe: passing an argument to an executable file Pin
JCY16-Jan-02 3:39
JCY16-Jan-02 3:39 
GeneralRe: passing an argument to an executable file Pin
Rick Crone16-Jan-02 4:39
Rick Crone16-Jan-02 4:39 
GeneralRe: passing an argument to an executable file Pin
JCY16-Jan-02 4:54
JCY16-Jan-02 4:54 
GeneralEnumerating Network Servers Pin
Giles16-Jan-02 2:59
Giles16-Jan-02 2:59 
GeneralRe: Enumerating Network Servers Pin
Carlos Antollini16-Jan-02 3:08
Carlos Antollini16-Jan-02 3:08 
GeneralCDialog printer resolution Pin
Jonnie White16-Jan-02 2:35
Jonnie White16-Jan-02 2:35 
GeneralRe: CDialog printer resolution Pin
567890123416-Jan-02 4:23
567890123416-Jan-02 4:23 
GeneralRe: CDialog printer resolution Pin
Jonnie White16-Jan-02 4:52
Jonnie White16-Jan-02 4:52 
Generalqsort and CArray Pin
Gavin Jerman16-Jan-02 2:28
Gavin Jerman16-Jan-02 2:28 
GeneralRe: qsort and CArray Pin
Giles16-Jan-02 3:11
Giles16-Jan-02 3:11 
GeneralRe: qsort and CArray Pin
Joaquín M López Muñoz16-Jan-02 3:44
Joaquín M López Muñoz16-Jan-02 3:44 
GeneralRe: qsort and CArray Pin
Gavin Jerman16-Jan-02 4:35
Gavin Jerman16-Jan-02 4:35 
GeneralRe: qsort and CArray Pin
Joaquín M López Muñoz16-Jan-02 6:08
Joaquín M López Muñoz16-Jan-02 6:08 
GeneralRe: qsort and CArray Pin
Gavin Jerman16-Jan-02 21:22
Gavin Jerman16-Jan-02 21:22 

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.