Hi,
Thanks for the reply. Yeah I was just learning this new (nothrow) functionality. I always handle the respective exceptions and I love the STL vector and array classes.
I was just meddling...
Type: Posts; User: srikrish85
Hi,
Thanks for the reply. Yeah I was just learning this new (nothrow) functionality. I always handle the respective exceptions and I love the STL vector and array classes.
I was just meddling...
Hi,
Good day. Btw I am using g++-4.9 in linux mint and the following code
buff = new(nothrow) int[space_needed];
if(buff==nullptr)
{
//My code to handle error
}
Hi,
Sorry for replying late. Thanks for the response.
-Sridhar
Hi,
Thanks for the reply. I already did what you said,
the thing is how am I going to tell my class that this function is the friend.
I tried to put the following inside the class
friend bool...
Hi,
How do you do? I need to declare a friend function to my class... okay Let me post my code
template <typename T,int N> class MySequence;
template <typename T,int N>
bool...
Hi Alex,
Greetings. I really loved the web tutorial on C++. In fact I started to develop a liking for C++ ( well I liked only C not C++) after reading C++ from your site. I'd like to buy your...