Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 pointers
Index -> Programming, C++ -> C++ Help
Goto page Previous  1, 2
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

How do you declare your pointers?
(No ending time set)
int* a;
14%
 14%  [ 2 ]
int *a;
85%
 85%  [ 12 ]
Total Votes : 14

Author Message
Andy




PostPosted: Sun Aug 06, 2006 6:47 pm   Post subject: (No subject)

err no.. under gcc, if you declare your variables as int* a, b, c; a will be a integer pointer, while b and c are integers.
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, C++ -> C++ Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 2 of 2  [ 16 Posts ]
Goto page Previous  1, 2
Jump to:   


Style:  
Search: