|
From: Samuel K. <ib...@ly...> - 2003-02-26 18:22:31
|
Do not use * until you're teacher shows it to you in class (if you are still taking a class). Just use a &. If you want to learn how to use the * either learn it in class or in a book (any first semester c++ course should teach * before it is over). Do a lot of reading or studing before you use it because a lot of people have trouble with the *. The * is a third way to pass parameters. There are a total of three ways to pass parameters. void f(int anint) : call by value void f(int &anint) : call by reference void f(int *anint) : call by address If you do not have a book on you and you aren't taking a class go to a site like cprogramming.com that has tutorials on things like *, &, and call by value. _____________________________________________________________ Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year. http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus |