![]() |
|
#1
|
|||
|
|||
Creating a Graph Plotter with MFCI'm writing a program that takes a value in from the user and plots out a sin graph. But I can't seem to get it to do the plotting. I think its taking in the value from the user, but it can't process the value I think. This is the portion of the code that is suppose to plot out the graph:
CPP / C++ / C Code:
Could someone please help me out? Last edited by LuciWiz : 22-Oct-2006 at 05:35.
Reason: Please insert your C/C++ code between [cpp] & [/cpp] tags
|
|
#2
|
|||
|
|||
Re: Creating a Graph Plotter with MFCJust a couple of ideas.
1. The code in the If statement will only be processed once the dialog has been closed (window destroyed). What user input value it may have had is then lost, unless you write a get function to acquire it from the dialog, before the dialog is deleted at the return from the function. 2. I dont see any means of looping through diffent values of amplitude with respect to time. Is this software supposed to be in a loop? |
Recent GIDBlog
2nd Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with graph application | linkin | CPP / C++ Forum | 0 | 28-Oct-2005 01:42 |
| how to get Call graph for applications, anybody knows | bravetanveer | C Programming Language | 1 | 29-Sep-2005 23:27 |
| Creating A Graph In C | lilmainy | C Programming Language | 0 | 20-Apr-2005 10:40 |
| Help creating lists of pointers | The_Kingpin | C Programming Language | 0 | 11-Dec-2004 13:49 |
| Problem with the function creating updating a linked list | nkhambal | C Programming Language | 3 | 28-Oct-2004 20:45 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The