User:Xzen813: Difference between revisions

From Stage One Wiki
Jump to navigationJump to search
Xzen813 (talk | contribs)
No edit summary
 
Xzen813 (talk | contribs)
No edit summary
Line 5: Line 5:


==Useful links for Compsci111/111G==
==Useful links for Compsci111/111G==
*[https://cs.auckland.ac.nz forums.cs.auckland.ac.nz]
*[https://cs.auckland.ac.nz forums.cs.auckland.ac.nz]
*[https://cs.auckland.ac.nz/courses/compsci111s2c/ cs.auckland.ac.nz/courses/compsci111s2c/]  
*[https://cs.auckland.ac.nz/courses/compsci111s2c/ cs.auckland.ac.nz/courses/compsci111s2c/]  
*[https://canvas.auckland.ac.nz canvas.auckland.ac.nz]
*[https://canvas.auckland.ac.nz canvas.auckland.ac.nz]
*[https://cs.auckland.ac.nz cs.auckland.ac.nz]
*[https://cs.auckland.ac.nz cs.auckland.ac.nz]
*[https://piazza.com piazza.com]
*[https://piazza.com piazza.com]
*[https://forums.cs.auckland.ac.nz forums.cs.auckland.ac.nz]
*[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!==
==Thanks For Visiting!==
Have a good day!
Have a good day!
If you want to see more, '''check out my website''': [https://www.seanzeng.com www.seanzeng.com]
If you want to see more, '''check out my website''': [https://www.seanzeng.com www.seanzeng.com]

Revision as of 18:03, 4 August 2016

Userpage Sean Zeng

Welcome

Hi there! I'm surprised you clicked on this link.

Useful links for Compsci111/111G

*forums.cs.auckland.ac.nz
*cs.auckland.ac.nz/courses/compsci111s2c/ 
*canvas.auckland.ac.nz
*cs.auckland.ac.nz
*piazza.com
*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: www.seanzeng.com