Click to See Complete Forum and Search --> : need help writing a c++ program for school


hhemstreet
July 22nd, 1999, 11:28 AM
i have a program due on monday for my c++ class and i dont have a clue about pointers. need major help the program isn't hard for someone who understands basic c++. Will Pay $$$ for help

soichih
July 23rd, 1999, 08:44 PM
understanding the concept of pointer is the major difficulity that all the biginner c programmers experience. I recommend you to check some web pages that specificly dealing with it. there are lots of pages about it.


-----------------------------------------
Heaven lies about us in our infancy!
Shades of the prison-house begin to close
Upon the growing Boy,(William Wordsworth)
-----------------------------------------
*Don't forget to reply me

Kajal Jain
July 26th, 1999, 12:37 PM
What kind of program do you require? Send details.

aamirdogar
July 29th, 1999, 11:01 AM
I am experienced C++ programmer.
i have online books for that if you need it let me know.

anyhow send you problem at aamirdogar@hotmail.com and i will send you the program.

or if you just need the pointer help then look that pointer is something pointing to a particular memeory address. we declare it as int *a; when we want to pass it by address then we use func_name(a);
a is the address of the *a.

For more help contact me..

HeXaDeCiMaL
August 19th, 1999, 12:01 PM
Well, i basically dont know anything but...
if you wanted a pointer to point to a variable with the name "num1" and you wanted to call it "pnum1" you would put in:

int* pnum1 = &num1;



but you would have to make sure you have int num1;

somewhere above it

HTH


~HeX~