Search:

Type: Posts; User: flaris

Search: Search took 0.01 seconds.

  1. Thread: Class errors

    by flaris
    Replies
    1
    Views
    807

    Class errors

    I am getting errors like 'copyStr' was not declared in this scope.

    To explain easier, I have what I'll call class a and class b. Both are in separate .cpp files. I am attempting to call a method...
  2. Replies
    5
    Views
    2,477

    Whoops, thanks for the corrections. You've saved...

    Whoops, thanks for the corrections. You've saved my assignment :D
  3. Replies
    5
    Views
    2,477

    atoi and const char not being very friendly

    isbn.cpp: In function 'int isValid(const char*)':
    isbn.cpp:25: error: invalid conversion from 'const char' to 'const char*'
    isbn.cpp:25: error: initializing argument 1 of 'int atoi(const char*)'...
  4. Mods delete this please

    Nvm, fixed it :)

    NTS: don't program at 4am.
  5. Replies
    6
    Views
    4,748

    Yeah, found that right before you posted haha. ...

    Yeah, found that right before you posted haha.

    Once last question :P

    I've completed the program and it compiles and runs fine in Windows with MinGW. When I try to compile it through my school's...
  6. Replies
    6
    Views
    4,748

    Thought that the ampersand was omitted for...

    Thought that the ampersand was omitted for arrays, forgot that only applies to strings.

    Thanks a bunch.
  7. Replies
    6
    Views
    4,748

    Storing data from text file into array?

    Hi, I'm having trouble storing information from a text file into an array. I have the code working fine if it stores into non-array variables, but as soon as I try to use an array the program stalls....
Results 1 to 7 of 8