Search:

Type: Posts; User: Keybone

Search: Search took 0.00 seconds.

  1. Replies
    14
    Views
    2,688

    Oh, I see now. :rolleyes: Anyway, I've changed...

    Oh, I see now. :rolleyes:
    Anyway, I've changed it now, just have to test with the changes.
    I'll see if I can get hold of those books, then. Thanks!
  2. Replies
    14
    Views
    2,688

    Well, its just me being used to using...

    Well, its just me being used to using post-increment operators. I'll keep that in mind though if i need help with something from here.


    Do you mean like declaring a "const int uBound=5"? As that...
  3. Replies
    14
    Views
    2,688

    Genetic Random Number Guessing Agent (GRNGA)

    No, its not as fancy as the title suggested. It doesn't even work yet, which is why I posted here. :rolleyes:

    What it does: It is an introduction to programming Genetic AI for myself. It is...
  4. Replies
    3
    Views
    1,500

    You can use the exit(0) function in cstdlib. Not...

    You can use the exit(0) function in cstdlib.
    Not exactly sure where you wanted it but just put it there.
  5. Replies
    9
    Views
    1,119

    cout is used like this: cout

    cout is used like this:

    cout << "text you want out";

    It's base things.Might wanna look up a tutorial.
  6. Well, I've just bundled up all my includes into...

    Well, I've just bundled up all my includes into one file. I usually use the same set.

    The while...DOH! *Slaps myself* I knew that...at least I thought I did.. :rolleyes:

    The struct prob.....
  7. Damn it! cant attach anything when editing...

    Damn it! cant attach anything when editing...
  8. killgore: Ok,so it wasn't in Equal()... It's out...

    killgore:
    Ok,so it wasn't in Equal()... It's out now anyway..

    Salem:
    Better?

    DougDbug:
    In any case, i is increased to 0 (in the for statement) before it is used in any array operations. But...
  9. hk_mp5kpdw: Those variables are declared and...

    hk_mp5kpdw:
    Those variables are declared and initiated within bool Equal(), I just forgot to enter them. :rolleyes:

    As for the for loop (ach!); as I understand it, i is in this case increased...
  10. Segmentation fault with structs and char pointers

    Hello!
    I've (quite) recently begun learning C++ and would appreciate some help with this following problem:
    The code compiles fine but when run it gives me a "Segmentation fault".I hav'nt the...
Results 1 to 10 of 10