Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
cs-142:simple-pig-latin [2015/01/07 08:55]
ryancha created
cs-142:simple-pig-latin [2015/01/07 08:57]
ryancha
Line 76: Line 76:
 you!  you! 
  
-<syntaxhighlight lang="cpp" line="​GESHI_FANCY_LINE_NUMBERS"​>+<code cpp>
 #include <​iostream>​ #include <​iostream>​
 #include <​string>​ #include <​string>​
Line 89: Line 89:
  return 0;  return 0;
 } }
-</syntaxhighlight>+</code>
  
 =Think before programming= =Think before programming=
Line 97: Line 97:
 In this case, try first building a program that will read in a sentence of words and print them back out until it finds the sentinel value (see sentinel values in the book).  ​ In this case, try first building a program that will read in a sentence of words and print them back out until it finds the sentinel value (see sentinel values in the book).  ​
  
-<syntaxhighlight lang="cpp" line="​GESHI_FANCY_LINE_NUMBERS"​>+<code cpp>
 #include <​iostream>​ #include <​iostream>​
 #include <​string>​ #include <​string>​
Line 117: Line 117:
  return 0;  return 0;
 } }
-</syntaxhighlight>+</code>
  
  
cs-142/simple-pig-latin.txt ยท Last modified: 2015/01/07 08:57 by ryancha
Back to top
CC Attribution-Share Alike 4.0 International
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0