>arnuld wrote:
2) Is the program is a C++ program or C program written in C++.
I do not quite understand the question, this is clearly a C++ program.I meant, are you sure I am using proper C++ design because after 6 months
of C my mind is locked on C, I can't think of C++ properly.
Like many people still keep on using C's procedural and design constructs
rather than of ISO C++.
> std::vector<std::string svec;
std::vector<std::string>& r_svec = svec;
Drop the r_svec, it serves no purpose.
but then will it not copy the vector ? rather than getting its reference ?
I am little confused on this. After removing r_svec Program works fine
though.
--
www.lispmachine.wordpress.com
my email is @ the above blog.
Google Groups is Blocked. Reason: Excessive Spamming