Search:

Type: Posts; User: Tman

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,502

    A tokenizer would be best for something like...

    A tokenizer would be best for something like this; substr() works but you would have to assume that the 'actual' data starts at a specific location in the string, which may be the case, although a...
  2. Replies
    1
    Views
    970

    You would typically want to do this with a modem...

    You would typically want to do this with a modem for actual phone line calls. In fact, there isn't any other way to do it (and I'm not entirely sure it can be done with a modem, but I think so)....
  3. Replies
    6
    Views
    7,987

    is the standard C I/O header. You're...

    <stdio.h> is the standard C I/O header. You're using C++. So go ahead and replace the <stdio.h> with <iostream>. Keep the using namespace std;, otherwise you'll have to use std::cout and the like...
  4. Thread: MMOG Host

    by Tman
    Replies
    1
    Views
    1,203

    MMOG Host

    I remember reading on Slashdot, quite awhile ago, about an organization of some sort that would host non-profit (maybe just FOSS) massively multiplayer online games for free. I've googled...
  5. Replies
    2
    Views
    1,363

    Good idea, I'll try it later.

    Good idea, I'll try it later.
  6. Replies
    2
    Views
    1,363

    Debugging Help - I'm Desperate

    I'm having some major issues with the game I'm developing, called Adage. It will eventually be a hacker-type RTS, but it's still in the early stages and I'm having a big problem with the widget set....
  7. Replies
    1
    Views
    1,354

    Yeah, I witnessed the event through IRC. Someone...

    Yeah, I witnessed the event through IRC. Someone decided to countdown until the exact moment. Cool, but... not that cool :p
  8. Replies
    11
    Views
    991

    You have no idea what you're talking about. A...

    You have no idea what you're talking about. A single test program, with default options, does not give any useful statistics. A compiler is so multifaceted that good statistics are very hard to come...
  9. Replies
    10
    Views
    1,651

    ober: Okay, that explains it. Partly. I'll join...

    ober: Okay, that explains it. Partly. I'll join the new community and maybe the current one.

    sand_man: Because, compared to vBulletin, phpBB sucks. As far as free goes, phpBB is great, but vB is...
  10. Replies
    10
    Views
    55,834

    Sticky: Here are some good AI Websites that have lots of...

    Here are some good AI Websites that have lots of tutorials and resources.

    www.ai-depot.com
    www.generation5.org
    www.ai-junkie.com

    Reccomended reading:

    ANN's and GA's: AI Techniques for Game...
  11. Replies
    10
    Views
    1,651

    I see... Well apparently the Register option on...

    I see... Well apparently the Register option on the forums isn't working right now. So I'll check back later.
  12. Replies
    10
    Views
    1,651

    What happened to Flashdaddee?!

    So I was bored and decided to check back on Flashdadde Forums. I went to flashdaddee.com, clicked the 'Forums' link and.. EEEEK! The first thing I notice is that a new style is up, then that the...
  13. Thread: SDL with g++

    by Tman
    Replies
    6
    Views
    1,869

    It's already merged, I even emerged it again just...

    It's already merged, I even emerged it again just in case (was the latest version) and it didn't work :(.
  14. Thread: SDL or Allegro

    by Tman
    Replies
    29
    Views
    2,813

    www.libsdl.org - There are links to some...

    www.libsdl.org - There are links to some tutorials there.
  15. Thread: SDL or Allegro

    by Tman
    Replies
    29
    Views
    2,813

    You don't need to learn WAPI for OpenGL, SDL is...

    You don't need to learn WAPI for OpenGL, SDL is cross-platform and you can use it with that.
  16. Thread: SDL with g++

    by Tman
    Replies
    6
    Views
    1,869

    It still gives the same error.

    It still gives the same error.
  17. Thread: SDL with g++

    by Tman
    Replies
    6
    Views
    1,869

    I have it - it's in /usr/lib. Apparently it's not...

    I have it - it's in /usr/lib. Apparently it's not the right version or something?
  18. Replies
    19
    Views
    2,222

    Gentoo is sweet dude :D I'm using it right...

    Gentoo is sweet dude :D

    I'm using it right now. But, people 'just starting off' in linux will find it hard to install. I started with slackware, but soon decided that I didn't like it at all and...
  19. Thread: SDL with g++

    by Tman
    Replies
    6
    Views
    1,869

    SDL with g++

    How can I get SDL to work with g++? In gcc it works fine, but when I try to compile something with g++.. well the compile is fine, but at runtime I get the following error message and it exits:

    ...
  20. Replies
    5
    Views
    1,330

    Just to add to that: when you attempt to compare...

    Just to add to that: when you attempt to compare strings with the == operator, you're comparing their pointers. So basically, you were comparing the memory address of unit_type with the memory...
  21. Replies
    5
    Views
    1,330

    Okay, basically your problem is that in C, you...

    Okay, basically your problem is that in C, you can't compare strings that easily. Instead, you have to use strcmp():


    if ( strcmp (unit_type, "q") == 0 )
    break;

    if ( strcmp (unit_type,...
  22. You'd be using hash tables. Personally I would...

    You'd be using hash tables. Personally I would implement it with a struct:


    struct hash {
    char name[10];
    int value;
    } hashtable[3];


    Then you can set the name and value of each...
  23. Replies
    36
    Views
    4,356

    Professional looking? I say messy.

    Professional looking? I say messy.
  24. Thread: Setting strings

    by Tman
    Replies
    15
    Views
    1,591

    strings are nice, but if you don't want to use...

    strings are nice, but if you don't want to use them, strcpy() is the way to go.


    strcpy (cardNAME, "Two of Hearts");
    Should do it, assuming you have the array big enough to hold all the...
  25. Thread: Returning Strings

    by Tman
    Replies
    14
    Views
    1,670

    Oh okay, thanks for the clarification. I...

    Oh okay, thanks for the clarification.

    I realise how it's "adjusting" to my post, but it's really ugly and would be nicer if it just stayed the same :rolleyes:
Results 1 to 25 of 67
Page 1 of 3 1 2 3