All the variables are already ints so using the floor() function is redundant. You also might want to look into putting some error guards in against invalid dates like February 29 in a non-leap year,...
If you are programming something especially processor intensive, you might notice a difference based on CPU Architecture (PowerPC vs. Intel vs. MIPS, 32-bit vs. 64-bit, etc) even if they are all...
If you are still using "hunt and peck" or constantly stare at the keyboard while typing, it would we a good idea to take a typing class, or get some software for the same purpose.
andrey_zh was just quoting Google's in-house coding standards, which are about good coding practices (especially in a large team / multiple-programmer setting), not about what the language does or...
After perusing that .c file, the comments especially, I get the impression that they are using a sphere-proper for generating the z-coordinate when the (x,y) is close to the center of the sphere, but...
Here's a couple quick examples to illustrate some differences between C++ and Java that might help you with your initial questions. I'll use Java classes, and C++ structs for the examples, for...
In the case of something like a web browser, you will have some common components that operate the same at the C++ level regardless of OS Platform, things like text-parsing (html, javascript, etc.)....
Set your result initially to your n. Then have an outer loop using while(result/10 > 0). The inner loop should do the brunt of the math using % and / starting with the...
I noticed that you have using namespace std; in your header files, that can cause problems as well. using namespace whatever; should only be in your implementation files.
Do your loops so you iterate by row and by die number, with an array holding the roll values. Make a function that will draw a given row (but not every row) for a given roll value.