how about
double exp (double) from the <math.h> library
that is e to the power of x .
Other functions at
http://www.opengroup.org/onlinepubs/007908799/xsh/math.h.html
Type: Posts; User: wgdb198
how about
double exp (double) from the <math.h> library
that is e to the power of x .
Other functions at
http://www.opengroup.org/onlinepubs/007908799/xsh/math.h.html
You are probably not going to like it but I have given up on trying to stop openGL hogging all the CPU time. Its complicated but because I also need to accept user input I have just inserted...
Sorry again (I apologised in the thread I started as well)
will do
thanks
thank you
2 Q's in one : What is the best ( also what is the easiest ) way to stop openGL hogging all the CPU time yet still keeping
millisecond control over what is happening.
e.g.
update screen and...
Struct makes more sense.
A struct holds data only
classes hold data AND functions
Its cool. I`ve only been doing C++ for a week and I shouldn`t be giving away too much. I`ll get the balance right one day.
I`m more used to Java.
I was going to ask a question but looking at the...
Can't work it out - the main problem is the length of your function
Each function should have one logical purpose
so instead have something like:
void startSelection1()
{
char ch =...
I think it needs changing the add function so that the pointers point the other way in the list and keeping hold of the first item in the list
Need to see the function void helga_magicshop()
to see what the syntax error is
Answer to edit - no if pass variable as a parameter to functions.
I use bignums
comes with free lcc compiler
I agree but the trouble seemed to be less about what functions to use but how while loops and if statements affect program flow
#include <iostream>
#include <cctype>
using namespace std;
int main (void)
{
bool done = false;
char ch;
int asc;