Search:

Type: Posts; User: srikrish85

Search: Search took 0.01 seconds.

  1. Hi, Thanks for the reply. Yeah I was just...

    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...
  2. Why new(nothrow) type[length] is still throwing exception?

    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
    }
  3. Hi, Sorry for replying late. Thanks for the...

    Hi,
    Sorry for replying late. Thanks for the response.
    -Sridhar
  4. Hi, Thanks for the reply. I already did what you...

    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...
  5. Stuck with friend functions and class template

    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...
  6. Replies
    12
    Views
    87,880

    Sticky: Hi Alex, Greetings. I really loved the web...

    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...
Results 1 to 6 of 6