Timeline for Draw a regular polygon
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 16, 2014 at 17:35 | history | edited | cybcaoyibo | CC BY-SA 3.0 |
added 441 characters in body
|
Apr 16, 2014 at 15:09 | history | edited | user12205 | CC BY-SA 3.0 |
Syntax highlighting
|
Apr 16, 2014 at 15:07 | comment | added | user12205 |
When you use gcc you can actually omit the #include s. Also, you can declare v as global outside main , and declare u as a parameter of main , then you don't need int (i.e. v;main(u){//... ). Finally, you can change the last for loop into for(j=0;j<s;)/*...*/x=j++-s/2.,//...
|
|
Apr 16, 2014 at 12:10 | review | First posts | |||
Apr 16, 2014 at 12:28 | |||||
Apr 16, 2014 at 11:52 | history | answered | cybcaoyibo | CC BY-SA 3.0 |