comp.os.mswindows.programmer.memory
  Home FAQ Contact Sign in
comp.os.mswindows.programmer.memory only
 
Advanced search
March 2007
motuwethfrsasuw
   1234 9
567891011 10
12131415161718 11
19202122232425 12
262728293031  13
2007
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007    
total
comp.os ... memory Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  How to write a program to track the value of a certain variable at run-time using debug features???         


Author: trungthanh78
Date: Mar 18, 2007 22:33

Hello everyone,

I'm totally new to the group and I would like to learn from you. Thank
you in advance!

I need to write a program to track whether a mathematical function has
changed during run-time or not. The program should work with any
mathematical function provided by users.

Let's take an example in the C language:
//===================================================
//The users define the two parameters a, b as two global variables.
The users can define as many parameters as possible and my program
does not know about this!!!
int a;
int b;

//below is the prototype for our mathematical function
void f(vector x);

//at first, an user wants f = 1x+1y, so he sets the value of a, b
accordingly
a=b=1;

double value=f(x); //calculate the value of function f
Show full article (2.05Kb)
no comments
  Funny Videos         


Author: Andrew Showers
Date: Mar 3, 2007 21:57

no comments