Search:

Type: Posts; User: waltr

Search: Search took 0.01 seconds.

  1. Thread: need help

    by waltr
    Replies
    10
    Views
    1,310

    /* * lolGame * * lolGame--a game of skill...

    /*
    * lolGame
    *
    * lolGame--a game of skill and daring.
    *
    * Full Credit to waltr for start maKING lolGame
    */
  2. Replies
    10
    Views
    2,202

    says you...

    says you
  3. Replies
    3
    Views
    1,951

    hi mk, stick around and you will. what...

    hi mk,



    stick around and you will. what you'll get sick of are the repetitive questions that can be answered by a simple search or reading of the FAQ's.

    and don't take it personally--it's...
  4. Replies
    23
    Views
    2,307

    why should that stop you from posting the code? ...

    why should that stop you from posting the code? i mean, you came here looking for help, right?
  5. Replies
    13
    Views
    2,355

    total = quat + halfdol + dime + nick + pen; ...

    total = quat + halfdol + dime + nick + pen;

    where exactly is 'total' coming from? you haven't declared it!
  6. Replies
    12
    Views
    5,805

    no! they should be 'undefinded'--which it looks...

    no! they should be 'undefinded'--which it looks like they are.....

    in other words, if you don't initialize them, they equal whatever is stored in that memory location. in other other words,...
  7. Replies
    7
    Views
    1,122

    i disagree. thread titles like, "Not...

    i disagree. thread titles like, "Not Working!!!", and "HELP!!!" are usually a really good indication of the type of poster to expect. they are also a good indication of where the problem lies.....
  8. Replies
    4
    Views
    1,144

    hi sly, i think i just got confused between...

    hi sly,

    i think i just got confused between declaring an array and declaring an array of pointers. i wanted to make sure to get the array of pointers correct, so i think i was paying less...
  9. Replies
    4
    Views
    1,144

    thank you itsme, i knew it was something silly...

    thank you itsme,

    i knew it was something silly i was doing.
  10. Replies
    4
    Views
    1,144

    question about declaration precedence

    hello,

    can anyone explain to me why when i declare this array:


    int myArray[] = {0-9};

    before this array of pointers to strings:
  11. Thread: GCC Warnings

    by waltr
    Replies
    12
    Views
    5,155

    googled: If you're on Windows, include...

    googled:


    If you're on Windows, include 'windows.h' and use void Sleep(DWORD milliseconds)
    or DWORD SleepEx(DWORD dwMilliseconds, BOOL bAlertable)
    I think microsoft also included 'sleep(time_t...
  12. Thread: clearing array

    by waltr
    Replies
    14
    Views
    54,672

    quick question: is it wrong to do something...

    quick question: is it wrong to do something like:


    data[0] = '/0';

    i know it doesn't _clear_ the elements, but if you are just going to overwrite them anyway would this be bad form?

    thanks.
  13. or possibly: if (!autofile) auto_file =...

    or possibly:


    if (!autofile)
    auto_file = fopen(path, "w+");
    else
    auto_file = fopen(path, "r+");

    how's that?
  14. Thread: Noob Question

    by waltr
    Replies
    27
    Views
    3,813

    hi yt, you've deleted your default path, and...

    hi yt,

    you've deleted your default path, and borland won't help with that.

    go back in and add:

    '%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\wbem'

    without the quotes. each...
  15. Thread: Noob Question

    by waltr
    Replies
    27
    Views
    3,813

    hey yt, i found the compiler a bit confusing...

    hey yt,

    i found the compiler a bit confusing when i originally started programming too, so don't worry you'll get it.

    i'm surprised no one has pointed you to this page:
    ...
  16. Replies
    160
    Views
    1,221,381

    Sticky: C Programming, A Modern Approach...

    C Programming, A Modern Approach
    by K.N. King

    it's a big book (660 pgs) but really good for the beginner. i reference this book all the time because i find the explainations easy to understand. ...
  17. Replies
    12
    Views
    3,162

    hi all, thanks for the replies. i'm...

    hi all,

    thanks for the replies. <itsme> i'm not sure why i had <iostream> in there. it's not necessary so i've removed it.

    <time.h> has solved my
    srand( (unsigned)time( (time_t *) 0 ));...
  18. Replies
    12
    Views
    3,162

    converting a program from unix to windows

    hello,

    i'm wondering if anybody out there could point me to a tutorial or FAQ on porting a unix C program to windows?

    specifically, i'm getting an error when i compile with the following...
Results 1 to 18 of 18