This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
@AUTHOR Chell Li | |
@DATE 2018.01.15 | |
Recursive Tree | |
http://www.sfu.ca/~shaw/iat265/Spring19/assignment1.html | |
1. Requirements: | |
Your DrawMyTree() method should have at least the following paramaters: | |
X,Y -- the X and Y coordinates of the base of the trunk/branch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Curve</title> | |
<script defer> | |
var r, c, a = 0; | |
//圆心角a | |
//弦长l 拱高h - 半径r 弧长c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <string.h> | |
#include "main.h" | |
#include "ensureCap.h" | |
int size; | |
char* end; | |
char* init(int argc, char *argv[]) { | |
if(argc == 2) { |