Skip to content

Instantly share code, notes, and snippets.

@kjk kjk/main.cpp
Created Nov 7, 2019

What would you like to do?
// :glot
#include <iostream>
using namespace std;
auto main() -> int
for (int i = 0; i < 10; i++)
if (i == 4)
break; // this will immediately exit our loop
std::cout << i << '\n';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.