Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Stream5
//g++ 7.4.0 /////////////////////////////////////////////////////////////////////// //Stream5 //this code is created by Rezaul Hoque on July 21,2022; //contact:jewelmrh@yahoo.com;Dhaka,Bangladesh;https://rezaulhoque.wordpress.com,https://hoquestake.blogspot.com //note: codes shared by Rezaul Hoque on rextester are not for sale; they are created and shared to facilitate the algorithm learning process; many like Hoque use this platform to practice programming ;Rezaul hopes his contribution helps others to fine tune their learning; ////////////////////////////////////////////////////////////////////////////// #include <fstream> #include <iostream> #include <iomanip> #include <string> #include <strstream> //stream manipulator std::ostream& l(std::ostream& os) { return (os<<"\n"); } void fill(char c) { std::cout.width(25); std::cout.fill(c); std::cout<<l; } int main() { fill('#'); char c; while((c=std::cin.get())!=EOF) { if(c=='~') std::cin.putback(':'); else std::cout.put(c); } std::cout<<l; char s[25]="Another Stream Example"; std::cout.write(s,23); std::cout<<l; fill('#'); return 0; }
run
|
edit
|
history
|
help
0
My Tuple class
doubly
Microsoft - MaxEmployeeAttendence (R repititions - Optimised DP)
MergeDoubLinArr
Binary Tree
random
finding counting multiple no that became a no
მატრიცა#2
Bin Tree playground
Smalllest subarray wiith sum greater than x