Search:

Type: Posts; User: IGAU

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    56,963

    Ooh thanks, that makes a lot more sense now :)

    Ooh thanks, that makes a lot more sense now :)
  2. Replies
    10
    Views
    56,963

    I do have , so I'm looking at...

    I do have <sys/timeb.h>, so I'm looking at ftime(), but I don't really understand it's application. I'm not an advanced programmer in any respects... Sorry to sound like a newbie or whatever, but can...
  3. Replies
    10
    Views
    56,963

    Windows XP (but preferrably, this source could be...

    Windows XP (but preferrably, this source could be distributed and compiled anywhere)...
    I'm using LCC-Win32 to develop.
  4. Replies
    10
    Views
    56,963

    Thanks for your reply, but I can't seem to find...

    Thanks for your reply, but I can't seem to find anything useful from there... Most of them are referring to timing events, which is not what I'm looking for. I'm quite happy to compile in whatever...
  5. Replies
    10
    Views
    56,963

    Current System Time (In Milliseconds)

    Please don't kill me if this is blindingly obvious, but I'm about to go crazy, after searching for absolutely ages on the Internet.

    I want to get the current system time and write it to a file as...
  6. Thread: Xmas competitions

    by IGAU
    Replies
    88
    Views
    18,122

    Thanks Salem :) Saves me a few lines of code....

    Thanks Salem :) Saves me a few lines of code. Although ironically I'll be making it horrifically odd and obscure.
  7. Thread: Xmas competitions

    by IGAU
    Replies
    88
    Views
    18,122

    Question for #2, can we output to a text file,...

    Question for #2, can we output to a text file, seeing as printing all of it to screen would result in about 4/5 of it not being visible?
  8. Replies
    8
    Views
    1,643

    Nevermind, figured it out now. Incrementing the...

    Nevermind, figured it out now. Incrementing the flag wasn't enough, it needed to reset it to number + 2... works now :D
  9. Replies
    8
    Views
    1,643

    Um...maybe I used the variable name "grid" badly,...

    Um...maybe I used the variable name "grid" badly, but I also said it's in a single row.... what I mean is........

    XXXXXXXXXXXXXXXXXXXXXXXXXX

    That's why it wont be much help :D

    Anyway..... I...
  10. Replies
    8
    Views
    1,643

    I just moved it further up the subroutine,...

    I just moved it further up the subroutine, instead of into main()... It seems to work now.

    Something is seriously wrong in my checking loop though, as occasionally I end up with "MMMM" or "MMMMM"...
  11. Replies
    8
    Views
    1,643

    I dont see why a two dimensional grid would...

    I dont see why a two dimensional grid would help............ anyway....

    Using minepos = rand() % maxpos + 1; on it's own without the srand() solves the problem, but it does give rise the new...
  12. Replies
    8
    Views
    1,643

    C Subroutine produces odd results

    This program is basically a single line minesweeper game. All I have here is the process of selecting where to put mines and displaying them.... but the subroutine to do that is messed up...
Results 1 to 12 of 12