C++ string stream in
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: C++ string stream in

Hybrid View

  1. #1
    Join Date
    Jan 2011
    Posts
    3

    Angry C++ string stream in

    Write a C++ program to demonstrate use of dynamic storage allocation, exception handling, and string stream in (istringstream).

    Need help!!! Can't figure out the program

  2. #2
    Join Date
    Dec 2010
    Posts
    41

    Re: C++ string stream in

    HAPPY NEW YEAR TO THOSE WHO CELEBRATE IT !

    dynamic allocation
    int*a=new int[5];

    exception handling
    Code:
    try
    {
        DoIt();
    }
    catch(...)
    {
       std::cout<<"Get you all";
    }
    string stream

    std::string s="something";
    std::istringstream iss(s, std::istringstream::in);
    std::string ss;
    iss>>ss;

  3. #3
    Join Date
    Apr 2008
    Posts
    726

    Re: C++ string stream in

    Quote Originally Posted by somedaysomewhere View Post
    HAPPY NEW YEAR TO THOSE WHO CELEBRATE IT !
    What new year? It can't be the Chinese one, yet.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center