Search:

Type: Posts; User: Agent89

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    2,651

    Thank You!!! that was it. I probably should have...

    Thank You!!! that was it. I probably should have been able to fix the syntax, but I figured you had it right, so I didn't bother, but thanks for the followups
  2. Replies
    4
    Views
    2,651

    error C2143: syntax error : missing ';' before...

    error C2143: syntax error : missing ';' before '*'

    error C2501: 'm_pGameEngine' : missing storage-class or type
    specifiers

    error C2761: '__ctor' : member function redeclaration not allowed
    ...
  3. Replies
    4
    Views
    2,651

    Linking problem

    I am getting a linking error:

    FirstGame error LNK2001: unresolved external symbol "protected: static class GameEngine * GameEngine::m_pGameEngine" (?m_pGameEngine@GameEngine@@1PAV1@A)

    Here is...
  4. Thread: Class Question

    by Agent89
    Replies
    1
    Views
    1,040

    Class Question

    is there ANY way to access an all private class??

    Homework question :P
  5. Replies
    28
    Views
    2,558

    #include //Original Idea for...

    #include <iostream.h> //Original Idea for question code By Jeremy Jones
    #include "apstring.h"
    #include <fstream.h>
    #include <string.h>

    int main()
    {
    char x;
    char answer[20];
    ifstream...
  6. Replies
    28
    Views
    2,558

    yeah, I'll post my code that works on thursday

    yeah, I'll post my code that works on thursday
  7. Replies
    28
    Views
    2,558

    I'm not really sure. What I did was did a...

    I'm not really sure.

    What I did was did a seperate infile.get and then I was able to strcmp them. I don't know exactly, it's at school, I'll let you know more tomorrow
  8. Replies
    28
    Views
    2,558

    thanks for all your guys' help, I got to work ...

    thanks for all your guys' help, I got to work

    YAY for me :D
  9. Replies
    28
    Views
    2,558

    sure did

    sure did
  10. Replies
    28
    Views
    2,558

    when I did that, this is the errors I got: ...

    when I did that, this is the errors I got:


    "\readtxt.cpp(10) : error C2065: 'string' : undeclared identifier"
    "\readtxt.cpp(10) : error C2146: syntax error : missing ';' before identifier...
  11. Replies
    28
    Views
    2,558

    I've tried strcat, but it wouldn't let me do it...

    I've tried strcat, but it wouldn't let me do it cause the 2nd peramiter needed to be a const char
  12. Replies
    28
    Views
    2,558

    I'm new to programming, can you give me an...

    I'm new to programming, can you give me an example on how to use strlen in my situation?

    Thanks
  13. Replies
    28
    Views
    2,558

    //readtext.cpp #include #include...

    //readtext.cpp

    #include <iostream.h>
    #include <fstream.h>
    #include <string.h>




    main()
  14. Replies
    28
    Views
    2,558

    Visual C++ 6.0

    Visual C++ 6.0
  15. Replies
    28
    Views
    2,558

    ok, I can include string.h, but not the others,...

    ok, I can include string.h, but not the others, but I still can't use +=, do you guys want to see my code?
  16. Replies
    28
    Views
    2,558

    I can't get the += to work my compiler only...

    I can't get the += to work

    my compiler only wants =+, and that doesn't work with chars.

    plus it won't let me declare a variable with string.

    please help
  17. Replies
    28
    Views
    2,558

    thank you! that's exactly what I was looking...

    thank you!

    that's exactly what I was looking for :D
  18. Replies
    28
    Views
    2,558

    fstream question

    how do I take characters from a file and put them into a string so I can compare them??

    your help is greatly appreciated
  19. Replies
    5
    Views
    1,812

    what do I need to include?

    what do I need to include?
  20. Replies
    5
    Views
    1,812

    console text colors??

    is there a way to change the text colors in the console
  21. Replies
    4
    Views
    1,291

    could somebody give me an example on how to do it...

    could somebody give me an example on how to do it with strcpy()
  22. Replies
    4
    Views
    1,291

    Reading text files form a certain line???

    how do you read a text file from justa certain line???

    Ex.

    Question:
    [question here]

    Answer:
    [answer here]
  23. Thread: Help me please

    by Agent89
    Replies
    8
    Views
    1,055

    I got it going, thanks for the help :D

    I got it going, thanks for the help :D
  24. Thread: Help me please

    by Agent89
    Replies
    8
    Views
    1,055

    dice.h #ifndef _DICE_H #define _DICE_H ...

    dice.h


    #ifndef _DICE_H
    #define _DICE_H


    class dice{
    public:
    dice(int sides);
  25. Thread: Help me please

    by Agent89
    Replies
    8
    Views
    1,055

    yeah, I did that :(

    yeah, I did that :(
Results 1 to 25 of 35
Page 1 of 2 1 2