We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
For C++ version
g++ --version
For C version
gcc --version
Sorry, something went wrong.
For the C++ standard, you can use,
#include <bits/stdc++.h> using namespace std; int main() { cout<<__cplusplus<<"\n' return 0; }
C++11: __cplusplus is 201103L. C++14: __cplusplus is 201402L. C++17: __cplusplus is 201703L. C++20: __cplusplus is 202002L.
And for C, you can use,
#include <stdio.h> int main() { printf(__STDC_VERSION__); return 0; }
It will return for example 201112L for C11 version
For the C++ standard, you can use, #include <bits/stdc++.h> using namespace std; int main() { cout<<__cplusplus<<"\n' return 0; } C++11: __cplusplus is 201103L. C++14: __cplusplus is 201402L. C++17: __cplusplus is 201703L. C++20: __cplusplus is 202002L. And for C, you can use, #include <stdio.h> int main() { printf(__STDC_VERSION__); return 0; } It will return for example 201112L for C11 version
i mean the c++ code for stream
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: