Pointers for functions:
I'll explain it in 'C' terms since I think it's easier to understand...
A function can only return one value...or can it? Hmmm....hello pointers!
initialize...
Type: Posts; User: GorGorAlmighty
Pointers for functions:
I'll explain it in 'C' terms since I think it's easier to understand...
A function can only return one value...or can it? Hmmm....hello pointers!
initialize...
Pointers:
A pointer is a variable that holds a memory address.
If you have an integer variable called var:
int var = 10;
You can initialize a pointer that will 'point' to the address of...
exactly...
#include <iostream.h>
int main()
{
float a = 7/9*9;
cout<<a;
return 0;
}
These might help a little bit:
http://www.ontrak.net/mfc.htm
http://www.traverse.com/people/poinsett/bcbcomm.html