View more random threads:
- depth of binary search tree d=log2(n+1) - 1 if n = 1000000...
- pasting my code down # include main () { char endp; char...
- why Hoffman tree is not an AVL Tree?
- Version Problem
- Please define function calling in C++?
- What are Concrete Classes in c++ 2011?
- loop statement in c++ 2011
- HELP with do loop
- stack during function call in C++ 2011
- i used Char data type to store a sentence but there is...
Code:1. #include <iostream> 2. #include <string> 3. #include <sstream> 4. 5. int main() 6. { 7. for ( int i = 0; i < 10; ++i ){ 8. std::string filenameRoot("file_"); 9. std::stringstream ss; 10. ss << filenameRoot << i << ".txt"; 11. std::cout << ss.str() << std::endl; 12. } 13. return 0; 14. }
Sponsored Links
There are currently 1 users browsing this thread. (0 members and 1 guests)