|
|
| Line 1: |
Line 1: |
| =Userpage Sean Zeng=
| |
| ==Welcome==
| |
| Hi there!
| |
| I'm surprised you clicked on this link.
| |
|
| |
|
| ==Useful links for Compsci111/111G==
| |
| *[https://cs.auckland.ac.nz forums.cs.auckland.ac.nz]
| |
| *[https://cs.auckland.ac.nz/courses/compsci111s2c/ cs.auckland.ac.nz/courses/compsci111s2c/]
| |
| *[https://canvas.auckland.ac.nz canvas.auckland.ac.nz]
| |
| *[https://cs.auckland.ac.nz cs.auckland.ac.nz]
| |
| *[https://piazza.com piazza.com]
| |
| *[https://forums.cs.auckland.ac.nz forums.cs.auckland.ac.nz]
| |
|
| |
| ==Coding==
| |
| Fun way to convert from Decimal to Binary in C++.
| |
| void ConvertToBinary(int n) /*Alex says: Good to use unsigned int if u can*/
| |
| {
| |
| if (n / 2 != 0) {
| |
| ConvertToBinary(n / 2);
| |
| }
| |
| printf("%d", n % 2);
| |
| }
| |
|
| |
| ==Thanks For Visiting!==
| |
| Have a good day!
| |
|
| |
| If you want to see more, '''check out my website''': [https://www.seanzeng.com www.seanzeng.com]
| |
|
| |
| ==TEST Revision==
| |
| ===Numbered Lists===
| |
| #Hello
| |
| #Hello2
| |
| #Hello3
| |
| ===Links + Numbered Bullets===
| |
| *#[https://seanzeng.com/login Login Website]
| |
| *#[https://seanzeng.com/login/loginmodules/googleauthtest.php GoogleAuth Tester]
| |
| **#Test
| |
| ***Test
| |
| ***Test
| |
| code
| |
| code
| |