RSS Forums RSS
Please support our C++ advertiser: Programming Forums

C++ reading,writing,displaying a file?

Join Date: Jul 2005
Location: London
Posts: 164
Reputation: Stoned_coder is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 5
Stoned_coder Stoned_coder is offline Offline
Junior Poster

Re: C++ reading,writing,displaying a file?

  #2  
Sep 6th, 2005
either decide whether you are going to use a class and let selection sort sort the held array pointed at by the int* member, in which case you will need a different constructor than a default one and you will also need to think about copying operations as the int* will point to dynamically allocated memory. Or alternatively keep everything as it is but instead use free functions wrapped inside a namespace. There is no point in using a class if theres no data held. Classes consisting of static functions and no data are pretty pointless most of the time.
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 7:02 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC