Search:

Type: Posts; User: Twig

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,015

    Sorry. I meant something like this. struct a...

    Sorry. I meant something like this.

    struct a
    struct b
    struct c

    then have a pointer point to either one of those. as it looks like in your example, i'm thinking this isn't possible.
  2. Replies
    4
    Views
    1,015

    Pointer to different struct based on results

    I've been reading tutorials on structure pointers. Is it possible to dynamically assign these things, or do they literally have to be assigned based on the table?

    I'm confused because all the...
  3. Replies
    7
    Views
    1,211

    Well the idea is I want to grab the number, then...

    Well the idea is I want to grab the number, then run it through the modifier, then overwrite the number I just got. I've done similar things by just clearing the entire thing. I'll use your examples...
  4. Replies
    7
    Views
    1,211

    Alrighty. So this is what I came up with. I...

    Alrighty. So this is what I came up with. I haven't tried compiling it yet, because i'm still sketchy on writing it back to the file, so I wanted to pass it by you guys for inspection before I...
  5. Replies
    7
    Views
    1,211

    Thanks guys. Not all of it makes sense,...

    Thanks guys. Not all of it makes sense, especially the scanf stuff, but i'll figure it out. Thanks again!
  6. Replies
    7
    Views
    1,211

    Searching a string

    So i'm stumped. I've got a file that looks like this.



    #include scripts/extra/loot_creatures_BHN.scp
    #include scripts/extra/loot_creatures_aq.scp
    #include...
  7. Thread: Timing programs

    by Twig
    Replies
    3
    Views
    880

    Well the time is there so every 5 minutes it...

    Well the time is there so every 5 minutes it checks the server status, and if its down, boots it. So thats why i've got the time there. Unless there is a way you can continueosly run the check so as...
  8. Thread: Timing programs

    by Twig
    Replies
    3
    Views
    880

    Timing programs

    Ok. I read the FAQ, but it was fairly vague. I'm trying to create a program that will run until the user inputs 'x'. So this is how I tried to implement it. I also used Salems suggestions on how to...
  9. Replies
    2
    Views
    881

    Salem. Thanks for the reply. So basically i'd...

    Salem. Thanks for the reply. So basically i'd have to make an array to store the data, and then process it. Thanks for the help, and if i'm not mistaken. Ya used to help me back when I posted here...
  10. Replies
    2
    Views
    881

    Returning two variables?

    Hey, Been a while since I posted here. Right now i'm designing a program that checks a socket and see's if the webpage is down or not. If its down i'm going to launch the application. However i'd...
  11. Thread: DOS Colors?

    by Twig
    Replies
    9
    Views
    2,415

    Quzah I did do the ansi.sys thing and it worked...

    Quzah I did do the ansi.sys thing and it worked fine. However I wanted the program to be self serving. In other words it functions in itself and doesn't require the people I give it to, to go in and...
  12. Thread: DOS Colors?

    by Twig
    Replies
    9
    Views
    2,415

    DOS Colors?

    I've read the ansi.sys file someone provided for me. However it didn't explain to much. I've searched the boards and found something about a textcolor(); function for displaying colors. I'm wondering...
  13. Replies
    6
    Views
    2,892

    God I feel dumb now. Heh, that was the problem. I...

    God I feel dumb now. Heh, that was the problem. I wasn't opening the stupid file. It works fine now. It just scrolls way to fast to read. I've got no idea where to start in writing a delay function....
  14. Replies
    6
    Views
    2,892

    Well that sheds some light into my problem....

    Well that sheds some light into my problem. Thanks. I'm not sure where I picked up the pause function. But i've used it for when I want to stop the program for a certain period of time. Any ideas on...
  15. Replies
    6
    Views
    2,892

    My log file player; Hit the brick wall

    Okie dokie. I've been working on my log file player. I've run into a problem. Here is the code I have. However it doesn't print off the log file. It just loads the log file, then jumps to the last...
  16. Replies
    4
    Views
    1,000

    Ah, Sarcasm. Just what I was looking for when I...

    Ah, Sarcasm. Just what I was looking for when I go to ask a serious question. However a search engine is of little use when you don't know what your looking for. I thought it'd be more efficient to...
  17. Replies
    4
    Views
    1,000

    ANSI Color in Dos Proggies

    I'm thinking of making a MUD Log viewer. For those of you familiar with MUD's. I want to make a program to recreate the actual viewing of the MUD. Taking the events from the log and scrolling them...
Results 1 to 17 of 17