Algoteka
Log in to submit your own samples!

Print Text to Console

Problem by oml1111
# Tech tags Title Creator Created date
1 0
2022-05-29 01:35
View all samples for this language (1 verified and 0 unverified)

Using std::cout | C++ |

By oml1111 |
0 likes

Code

#include<iostream>

int main() {
    std::cout << "Hello World!";
    return 0;
}

Further reading

Guides/Articles

Basic Input/Output - cplusplus.com

References

objects
std::cout en.cppreference.com cplusplus.com
functions
std::basic_ostream::operator<< en.cppreference.com cplusplus.com

Problem Description

Output "Hello world!" to the console the language uses by default. Usually the same as writing to standard output.

View sample discussion (0 comments)
View problem discussion (0 comments)