forked from hcientist/OnlinePythonTutor
-
Notifications
You must be signed in to change notification settings - Fork 5
/
cpp.html
94 lines (66 loc) · 2.5 KB
/
cpp.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--
Python Tutor: https://github.com/pgbovine/OnlinePythonTutor/
Copyright (C) Philip Guo (philip@pgbovine.net)
LICENSE: https://github.com/pgbovine/OnlinePythonTutor/blob/master/LICENSE.txt
-->
<head>
<title>C++ Tutor - Visualize C++ code execution to learn C++ online</title>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
<script type="text/javascript">
window.optOverride = {}
window.optOverride.frontendLang = 'cpp'; // hacky override before including visualize.bundle.js
</script>
<!-- let Webpack take care of everything. Use the [hash] feature to
create unique filenames for releases:
https://webpack.github.io/docs/long-term-caching.html -->
<script type="text/javascript" src="build/visualize.bundle.js?1e7343ab4f" charset="utf-8"></script>
<!-- insert google-analytics.txt contents here -->
</head>
<body>
<table id="experimentalHeader">
<tr>
<td valign="top" id="headerTdLeft"></td>
<td valign="top" id="headerTdRight">
<div id="surveyHeader"></div>
<div id="optHeader" style="font-family: Georgia, Palatino, Times, serif; font-size: 13pt; margin-bottom: 16px; margin-left: 16px;">
C++ Tutor - Visualize C++ code execution to learn C++ online
<span style="font-size: 10pt";>
(also visualize
<a href="visualize.html#py=2">Python2</a>,
<a href="visualize.html#py=3">Python3</a>,
<a href="java.html">Java</a>,
<a href="javascript.html">JavaScript</a>,
<a href="typescript.html">TypeScript</a>,
<a href="ruby.html">Ruby</a>,
<a href="c.html">C</a>,
and
<a href="cpp.html">C++</a>
code)
</span>
</div>
</td>
</tr>
</table>
<div id="pyInputPane">
<div id="codeInputWarnings">Write code in
<select id="pythonVersionSelector">
<option value="cpp">C++ (gcc 4.8, C++11)</option>
</select>
</div>
<div id="someoneIsTypingDiv" style="color: #e93f34; font-weight: bold; display: none;">Someone is typing ...</div>
<div id="codeInputPane"></div> <!-- populate with Ace code editor instance -->
<div id="frontendErrorOutput"></div>
<div id="surveyPane"></div>
<p>
<button id="executeBtn" class="bigBtn" type="button">Visualize Execution</button>
<button style="margin-left: 20px;" id="liveModeBtn" class="bigBtn" type="button">Live Programming Mode</button>
</p>
<div id="instructionsPane"></div>
<div id="exampleSnippets"></div>
</div>
<div id="pyOutputPane"></div>
<div id="footer"></div>
</body>
</html>