Forum: C++ Aug 22nd, 2008 |
| Replies: 7 Views: 580 A lot of important questions here, so I will try and answer them the best I can.
First, the main difference between passing by value and passing by reference.. When we pass by value, the receiving... |
Forum: C++ Aug 20th, 2008 |
| Replies: 4 Views: 1,317 This is a prime example of how I see some students graduate in computer science and don't understand basic object oriented programming concepts. You need to figure this out yourself. Of course if you... |
Forum: C++ Aug 20th, 2008 |
| Replies: 10 Views: 1,085 To be a bit clearer, you can use the stringstream class like so:
#include <iostream>
#include <sstream>
using namespace std;
int main() {
stringstream ss; // our stringstream object
... |