Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F120806056
console_output.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jul 7, 05:34
Size
292 B
Mime Type
text/x-c
Expires
Wed, Jul 9, 05:34 (2 d)
Engine
blob
Format
Raw Data
Handle
27252493
Attached To
R9360 PCSC_git
console_output.cpp
View Options
#include <iostream>
int main() {
std::cout << "Hello World!\n";
// Output multiple variables at the same time:
int x = 1, y = 2;
std::cout << "x = " << x << " and y = " << y << "\n";
// Output is buffered, to force output:
std::cout << "Hello World\n";
std::cout.flush();
}
Event Timeline
Log In to Comment