Re: [gtk-list] Re: Need help in GTK-project
- From: Joe Pfeiffer <pfeiffer cs nmsu edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Need help in GTK-project
- Date: Sat, 11 Dec 1999 23:31:18 -0700
I'm still thinking of how the function that should set the portstatus
variabele should look like... I think, if i make portstatus local to
main, i should have to use functions that take a pointer as their
argument, isn't it ? If I don't use pointers, then the portstatus
variabele will be used in the function that needs it as an argument, but
after leaving the function, the portstatus variabele won't have
changed. So what I'm trying to figure out if there's another way to set
the portstatus then declaring portstatus global or using functions that
take pointers as their argument...
Bite the bullet, learn to use pointers. It'll be painful, but in a
year you'll wonder why you ever hesitated.
--
Joseph J. Pfeiffer, Jr., Ph.D. Phone -- (505) 646-1605
Department of Computer Science FAX -- (505) 646-1002
New Mexico State University http://www.cs.nmsu.edu/~pfeiffer
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]