    #include <iomanip>
    #include <iostream>
    #include <sstream>
    
    int main() 
    {
    	std::ostringstream stream;
    	stream << std::showpos; // Always show sign
    	stream << std::setw(3); // Minimum 3 characters
    	stream << std::setfill( '0' ); // Zero-padded
    	stream << 1; // Expected output: "+01"
    	
    	std::cout << stream.str(); // Output: "0+1"
    	return 0;
    }
