User:Xzen813

From Stage One Wiki
Revision as of 18:03, 4 August 2016 by Xzen813 (talk | contribs)
Jump to navigationJump to search

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