Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122388287
cerr.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
Thu, Jul 17, 14:16
Size
199 B
Mime Type
text/x-c
Expires
Sat, Jul 19, 14:16 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27477148
Attached To
R9360 PCSC_git
cerr.cpp
View Options
#include <iostream>
int main() {
int x = 1.;
int y = 0.;
if (y == 0) {
std::cerr << "Error - division by zero\n";
} else {
std::cout << x / y << "\n";
std::cout.flush();
}
}
Event Timeline
Log In to Comment