Ah you're right, I did miss them. I would prefer to use vector<vector<char&> >, but it's a shame C++ is averse to using references like that. I suppose vector<vector<tr1::reference_wrapper<char> > > could be used.
Printable View
When the array dimensions are fixed and very small I would not use a vector.
However, Mozza, we hadn't learned structures or classes at the point this was due, and we hadn't really gone into any depth with vectors. Now, of course, we are done messing with C++ and all of the above and are moving on to Linux.
Linux looks like it's going to be very very interesting. The professor has us choosing between Wubi, Ubuntu, or Knoppix. What do you think? These OS's are all new to me.
Thanks again to all who helped.
Triple boot :)Quote:
Originally Posted by nysunlass
Aren't Wubi and Ubuntu the same?...differing only by the bootloader (Wubi uses the windows mbr..and ubuntu uses whatever you want it to)?
Ubuntu is the best for the the new user...(well you could install it using wubi to avoid problems with partitioning and the resident windows bootloader...but traditionally wubi is slower than a normal install).
Knoppix FTW!
You can boot from CD and don't need to install squat on your hard drive.