Search:

Type: Posts; User: derrick

Search: Search took 0.01 seconds.

  1. Replies
    15
    Views
    3,491

    Hmm, well thank you for your help on this. I...

    Hmm, well thank you for your help on this. I honestly don't know why I am getting this error.. Windows XP SP2, perhaps?
  2. Replies
    15
    Views
    3,491

    Here it is

    Here it is
  3. Replies
    15
    Views
    3,491

    I had just removed some commented lines required...

    I had just removed some commented lines required by my instructor.

    I will attach the files.
  4. Replies
    15
    Views
    3,491

    I don't see how that's possible. I do have SP6,...

    I don't see how that's possible. I do have SP6, and just for giggles I reinstalled it. I am getting the same error.
  5. Replies
    15
    Views
    3,491

    str.h file: #ifndef STR_H #define STR_H...

    str.h file:


    #ifndef STR_H
    #define STR_H
    #include <iostream.h>
    #include <string.h>
  6. Replies
    15
    Views
    3,491

    Student.h file #ifndef STUDENT_H #define...

    Student.h file



    #ifndef STUDENT_H
    #define STUDENT_H
    #include <iostream.h>
    #include "str.h"
  7. Replies
    15
    Views
    3,491

    fatal error C1001

    I am getting an error:

    cpp1.cpp(18) : fatal error C1001: INTERNAL COMPILER ERROR
    (compiler file 'msc1.cpp', line 1794)

    I think this may have something to do with my header files, but...
  8. Thread: Class Concept

    by derrick
    Replies
    5
    Views
    981

    If I am not creating an array, how do I compare...

    If I am not creating an array, how do I compare two values of the same type in the class?
  9. Thread: Class Concept

    by derrick
    Replies
    5
    Views
    981

    Class Concept

    OK, we are being introduced to classes in my C++ class.

    Here are my .h files:




    // "str.h" file

    class Str { //create class 'str'
  10. Thread: Newbie Help

    by derrick
    Replies
    19
    Views
    2,065

    What book is this from? I only ask so I can...

    What book is this from?

    I only ask so I can avoid any works from that publisher. ;)

    'Main' must return a value of 0 to the operating sytem, so "void main ()" is wrong. It must return a zero...
  11. Replies
    12
    Views
    2,705

    Thanks. I found that part of my problem was an...

    Thanks.

    I found that part of my problem was an incorrect use of a struct type in my operations:



    void Sortbyname(/*in*/ int count)
    str n[count];
    if (strcmp(s[j+1].name, s[j].grade) < 0)...
  12. Replies
    12
    Views
    2,705

    I am using MS Visual C++ Here are the errors I...

    I am using MS Visual C++

    Here are the errors I am receiving:

    Cpp1.cpp
    c:\documents and settings\user\cpp1.cpp(49) : error C2664: 'strcmp' : cannot convert parameter 2 from 'char' to 'const...
  13. Replies
    12
    Views
    2,705

    Where am I going wrong?

    I am writing a program for my C++ class but I am getting a lot of errors. We are dealing with the new concept of arrays and structures.

    I get errors in my functions regarding undeclared...
Results 1 to 13 of 13