In algo++ course

Are stream, buffer and flushing the buffer present in algo++ course

hello @abhayg1602
no ,it is not present.

How can we request to add them?

write an email to support team-> [email protected]

#include #include using namespace std; int main(){ int n; cin>>n; char a[1000]; fflush(stdin); for(int i=0;i<n;i++){ cin.getline(a,1000); cout<<a<<endl; } }

in the code of largest string can we use cout<<endl; insted of cin.get();

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.