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
Printable View
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
HAPPY NEW YEAR TO THOSE WHO CELEBRATE IT ! :D
dynamic allocation
int*a=new int[5];
exception handling
string streamCode:try
{
DoIt();
}
catch(...)
{
std::cout<<"Get you all";
}
std::string s="something";
std::istringstream iss(s, std::istringstream::in);
std::string ss;
iss>>ss;