Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Stream6
//g++ 7.4.0 /////////////////////////////////////////////////////////////////////// //Stream6 //this code is created by Rezaul Hoque on July 24,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 <iostream> #include <sstream> class error{}; int main() { std::stringstream s; char c; c=5; if(!std::ios_base::failbit) std::cout<<c; else std::cout<<"There is logical error.failbit detected\n"; int n[3]; n[5]=8; if(!std::ios_base::eofbit) std::cout<<n; else std::cout<<"Size limit crossed.eofbit detected.\n"; char a[15]="July 24,2022\n"; if(s.rdstate()==std::ios_base::goodbit) { std::cout<<"There is no error.goodbit detected.\n"; std::cout<<a; } else std::cout<<"Error detected\n"; return 0; }
run
|
edit
|
history
|
help
0
poprawione_i_podzielone_1
MatrixVectorConversion
ახარისხება~ფინალური
Procesos E
Test 01 c++
Float
LIS
sample
srednie
1028D