Full Content is available to subscribers

Subscribe/Learn More  >

Web-Based Computing in C/C++

[+] Author Affiliations
Nathan Wong, Kevin Gucwa, Harry H. Cheng

University of California, Davis, CA

Paper No. DETC2015-47838, pp. V009T07A052; 10 pages
  • ASME 2015 International Design Engineering Technical Conferences and Computers and Information in Engineering Conference
  • Volume 9: 2015 ASME/IEEE International Conference on Mechatronic and Embedded Systems and Applications
  • Boston, Massachusetts, USA, August 2–5, 2015
  • Conference Sponsors: Design Engineering Division, Computers and Information in Engineering Division
  • ISBN: 978-0-7918-5719-9
  • Copyright © 2015 by ASME


An interactive, web-based C/C++ computing environment has been developed to facilitate programming education. An editor with syntax highlighting is provided for students to solve the educational lessons designed to introduce computer programming concepts. The system uses SafeCh, a secure C/C++ interpreter that sandboxes the user to protect against server access, to execute code written by the user. Node.js, a JavaScript framework, is used to interface with SafeCh to redirect user input and output data from client to server and vice versa, creating an interactive programming environment. Users are able to access the learning environment conveniently using any internet-enabled device, including mobile phones and tablets. Most other web-based interactive programming tutorials teach scripting languages such as Python or JavaScript. The few existing web tutorials for C/C++ use server-side compilation and thus lack the same interactivity as is available with this system. Given the increasing popularity of programming education events such as Hour of Code, this web-based computing system can be a simple, interactive method to introduce and teach C/C++.

Copyright © 2015 by ASME
Topics: Cloud computing



Interactive Graphics


Country-Specific Mortality and Growth Failure in Infancy and Yound Children and Association With Material Stature

Use interactive graphics and maps to view and sort country-specific infant and early dhildhood mortality and growth failure data and their association with maternal

Citing articles are presented as examples only. In non-demo SCM6 implementation, integration with CrossRef’s "Cited By" API will populate this tab (http://www.crossref.org/citedby.html).

Some tools below are only available to our subscribers or users with an online account.

Related Content

Customize your page view by dragging and repositioning the boxes below.

Related eBook Content
Topic Collections

Sorry! You do not have access to this content. For assistance or to subscribe, please contact us:

  • TELEPHONE: 1-800-843-2763 (Toll-free in the USA)
  • EMAIL: asmedigitalcollection@asme.org
Sign In