daily pastebin goal
42%
SHARE
TWEET

Untitled

a guest Jan 18th, 2018 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "turtle.hh"
  2.  
  3. #include <iostream>
  4. using namespace std;
  5.  
  6. int main() {
  7.     PSTurtle t(500,500);
  8.     t.setup();
  9.  
  10.     t.pendown().forward(100)
  11.     .left(90).forward(100)
  12.     .left(90).forward(100)
  13.     .left(90).forward(100).pencolor(Color(0.5, 0.3, 1));
  14.     //.left(90).forward(100);
  15.    
  16.  
  17.     return 0;
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top