Thanks! I understand what i was doing wrong. Next problem: making a puzzle out of it ;). But I try to solve that myself.
Type: Posts; User: Feite
Thanks! I understand what i was doing wrong. Next problem: making a puzzle out of it ;). But I try to solve that myself.
I'm trying to make a program that makes sudoku fields. If you don't know what that is, i'll explain. This is the first version, and it only checks if the number is possible for the rows or the...
Thanks for the reply. I looked first at nehe, but like you've said I thought that there must be a simpler way to set up a window.
I want to learn OpenGL from a book. I don't know anything about OpenGL, but i think i know C++ OK (i've gone through The C++ Programming Language). Do you think The OpenGL Programming Guide (The...
Why should you make a special string named FileName? Just giving FindStudent works great.
Sorry that i didn't reply for a while, cause i'm in Namibia right now (i live in holland), it's the first internet cafe in a week. I love 28k internet speed :D . I use VC++, so i think i'll use the...
Ah i'm sorry.. My solution would be:
seconds - number of seconds in a year
till seconds is negative, then add the number of seconds in a year again.
Do the same for months weeks days hours and...
1. Minutes: printf seconds divided by 60
2. Hours: printf minutes divided by 60
3. Days: printf hours divided by 24
4. Weeks: printf days divided by 7
5. Months: printf weeks divided by 30/31
6....
Thanx for the awnsers, but i've downloaded the gmp software, and i don't understand how to use it. Could you maybe give a short explanation?
Quzah: I use classes and other C++ specific things in...
Can you make an int greater than 2 ^ 31 - 1 (2,147,483,647)? Or is there a class you can use for that purpose? I can't use a double or a float.