-
January 31st, 2011, 11:55 PM
#1
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
-
February 1st, 2011, 01:22 AM
#2
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;
-
February 1st, 2011, 05:12 AM
#3
Re: C++ string stream in
Originally Posted by somedaysomewhere
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|