GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ILXL/cpputils: Utilities for CSPSC classes

BranchesTags
Open more actions menu

Latest commit

 

History

55 Commits
55 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
graphics
graphics
 
 
karel
karel
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

C++ Utils

Libraries for student C++ code available under the MIT license.

Graphics: Image library

graphics/image.h can be used to create, view, load and save images. Example:

example fractal tree

graphics/image_event.h allows for interactive graphical programs with animation and mouse event handling.

Usage

Learn more about how to use the C++ Utils graphics class in this interactive tutorial.

Karel the Robot in C++

Karel the Robot is a gentle introductory programming language created by Professor Richard Pattis in Karel the Robot: A Gentle Introduction to The Art of Programming and implemented in C++ here with his permission. The Karel language emphasizes logic while hiding tricky syntax, allowing anyone to begin making exciting graphical programs with very little background.

karel the robot screenshot

Karel lives in a two-dimensional grid and has a position and an orientation (north, east, south or west). Each cell of the grid may contain one or more beepers, or no beepers at all. Karel has a bag of beepers (which may be empty). Cells may be separated by walls.

Karel has four actions: they can move forward, turn left, put down a beeper or pick up a beeper. In addition, Karel is able to check state of the area around themselves. Karel cannot move through walls or off the edge of the world.

Accessibility

Karel programs may export the world to CSV after each action. This may be helpful to screen-reader users.

Karel programs may prompt before each robot action. This may be helpful for users who need to control the speed of execution.

Usage

To create Karel the Robot programs in C++, include karel/karel.h.

Learn more about how to use the C++ Utils Karel the Robot functions in this interactive tutorial

For developers and instructors

Read more about developing and including C++ Utils and unittesting assignments in the wiki.

About

Utilities for CSPSC classes

Resources

Readme
MIT license
Activity
Custom properties

Stars

4 stars

Watchers

10 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.