Search:

Type: Posts; User: thatdude

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    2,100

    I am down to 24 errors. ...

    I am down to 24 errors.



    i:\game\button.h(32) : error C2447: missing function header (old-style formal list?)
    i:\game\concent.cpp(40) : error C2612: trailing '<Unknown>' illegal in base/member...
  2. Replies
    10
    Views
    2,100

    I still can't get this thing to compile. I have...

    I still can't get this thing to compile. I have tried making som changes but it just seems to get worse. Can anyone help me out?

    TIA
  3. Replies
    10
    Views
    2,100

    Here are some of the errors. ...

    Here are some of the errors.



    i:\game\button.h(14) : error C2144: syntax error : missing ',' before type 'int'
    i:\game\button.h(25) : error C2065: 'MtText' : undeclared identifier...
  4. Replies
    10
    Views
    2,100

    It won't compile. I am getting a ton a errors.

    It won't compile. I am getting a ton a errors.
  5. Replies
    10
    Views
    2,100

    I am stuck. I don't even know if I am headiing...

    I am stuck. I don't even know if I am headiing in the right direction. Does any of this even look like it will work.
  6. Replies
    10
    Views
    2,100

    help with making a game

    Ok ... so I am writing this little program to play a game. Basically what I want to do is draw a 6 x 6 grid on the screen. Initially I want all the squares to be blank. Behind each square I would...
  7. Thread: 4 digit year

    by thatdude
    Replies
    7
    Views
    1,646

    I have been playing arounf with this and I think...

    I have been playing arounf with this and I think I need to make a change somewhere in this piece of code.


    bool DateClass::Read(istream & InFile)
    /* Reads a date from InFile. Input is assumed to...
  8. Thread: 4 digit year

    by thatdude
    Replies
    7
    Views
    1,646

    How would I go about doing that?

    How would I go about doing that?
  9. Thread: 4 digit year

    by thatdude
    Replies
    7
    Views
    1,646

    It takes a two digit year. I am trying to get it...

    It takes a two digit year. I am trying to get it to use a four digit year so it knows 12/10/03 is 2003 and not 1903
  10. Thread: 4 digit year

    by thatdude
    Replies
    7
    Views
    1,646

    4 digit year

    I am trying to make this accept a 4 digit year. Here is the code I have so far.



    using namespace std;

    DateClass::DateClass()
    : Month(0), Day(0), Year(0)
    {
    }
  11. Replies
    5
    Views
    1,029

    I made some changes to correct some of the errors...

    I made some changes to correct some of the errors I was getting during the compile. I read the code that was posted but I still can't figure out what I am doing wrong. Here is the new code

    ...
  12. Replies
    5
    Views
    1,029

    Here is the code I was trying to use to copy the...

    Here is the code I was trying to use to copy the file.



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


    int main()
    {
  13. Replies
    5
    Views
    1,029

    Copying a File

    Does anyone know if there is a function in the fstream.h library that will allow me to copy the contents of one file to another one with just a different file name?
  14. Replies
    4
    Views
    1,375

    Thanks for the help. Those options are a much...

    Thanks for the help. Those options are a much better way I think. Mine was kind of the extra long way.
  15. Replies
    4
    Views
    1,375

    Help with writing a function

    I am trying to write a function that will take input from the user and compare it to a list of valid entries.



    #include <iostream.h>

    char GetChoice(const String, &LegalChoices);

    /*Forces...
  16. Replies
    25
    Views
    3,290

    Am I doing something wrong with the random...

    Am I doing something wrong with the random function? It keeps generating the same bumbers all the time.
  17. Replies
    25
    Views
    3,290

    I put that in but I am still getting errors. If...

    I put that in but I am still getting errors. If I use it as #include <iostream.h> it works ok. I have no Idea what I am doing wrong. I still can't get it to actually give out random numbers, it...
  18. Replies
    25
    Views
    3,290

    No I didn't remember that part. I will try that....

    No I didn't remember that part. I will try that. I am sure it is obvious that I am new to this. Thanks for pointing it out
  19. Replies
    25
    Views
    3,290

    I tried removing the ".h" from the iostream but...

    I tried removing the ".h" from the iostream but then I get a whole bunch of errors. I didn't realize I left the random.h in there. thank you for pointing it out.
  20. Replies
    25
    Views
    3,290

    Here is my new code. The problem is the break...

    Here is my new code. The problem is the break statement. Am I using it improperly?



    #include <iostream.h>
    #include "random.h"

    int main()
    {
    int die1, die2, dietotal, pointstaken,...
  21. Replies
    25
    Views
    3,290

    I made more changes and now I am down to just 2...

    I made more changes and now I am down to just 2 errors. An error still in the break line somewhere and one in the second else line. It says illegal else without if so I am guessing it has something...
  22. Replies
    25
    Views
    3,290

    Well I am down to 5 errors now. I seem to have a...

    Well I am down to 5 errors now. I seem to have a problem with the break statement. And something with the first if statement.



    #include <iostream.h>
    #include "random.h"

    int main()
    {...
  23. Replies
    25
    Views
    3,290

    random number program

    Can someone tell me what I am doing wrong. I have so many errors I dont know where to begin.



    #include <iostream.h>
    #include "random.h"

    int main()
    {
    int die1, die2, dietotal,...
  24. Thread: Random.h

    by thatdude
    Replies
    3
    Views
    1,240

    Random.h

    I am trying to use the randomize function but I don't seem to have the random.h library. I am using Visual Studio 6.0. Can someone tell me where I could download this library so I can utilize this...
  25. Replies
    16
    Views
    1,888

    I got it all working thanks for all your help

    I got it all working thanks for all your help
Results 1 to 25 of 31
Page 1 of 2 1 2