From 50fe4d985952e6fd978df7a97e491cb0456fe11c Mon Sep 17 00:00:00 2001 From: iirelu Date: Thu, 17 Jul 2014 17:08:30 +0100 Subject: Commented out two broken lines in learnc.c --- c.html.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c.html.markdown') diff --git a/c.html.markdown b/c.html.markdown index bc9a959a..b0c77e16 100644 --- a/c.html.markdown +++ b/c.html.markdown @@ -281,10 +281,10 @@ int main() { // branching with multiple choices: switch() switch (a) { case 0: // labels need to be integral *constant* expressions - do_stuff(); + //do_stuff(); break; // if you don't break, control flow falls over labels case 1: - do_something_else(); + //do_something_else(); break; default: // if `some_integral_expression` didn't match any of the labels -- cgit v1.2.3