Thread: VS 6.0 problem v2.0

  1. #1
    Registered User trekker's Avatar
    Join Date
    Mar 2002
    Posts
    46

    VS 6.0 problem v2.0

    my odyssey with VS continues...

    i've written a simple string class of my own but i get a
    compiler fatal error when it tries to compile the first
    'friend' function i declare in the class header file.
    it says something about 'compiler file msc1.cpp'

    Code:
    class myString {
    ... // in class header
    friend myString operator+( const char c[], const myString &s );
    ...
    }
    thanks
    to boldy code where...

  2. #2
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    What exactly does it say, and does it compile other source files/programs without crashing?
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  3. #3
    Registered User trekker's Avatar
    Join Date
    Mar 2002
    Posts
    46
    it's just says 'COMPILER FATAL ERROR' and that I should contact
    Tech Support. Well, I may do so in order to inform them about their
    'wonderful' compiler.

    Note, that MW Codewarrior compiles it without any problem...
    to boldy code where...

  4. #4

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem executing C program in Visual C++ 6.0
    By ladyscarlet99 in forum C++ Programming
    Replies: 2
    Last Post: 10-10-2005, 05:48 AM
  2. searching problem
    By DaMenge in forum C Programming
    Replies: 9
    Last Post: 09-12-2005, 01:04 AM
  3. Bin packing problem....
    By 81N4RY_DR460N in forum C++ Programming
    Replies: 0
    Last Post: 08-01-2005, 05:20 AM
  4. Words and lines count problem
    By emo in forum C Programming
    Replies: 1
    Last Post: 07-12-2005, 03:36 PM
  5. half ADT (nested struct) problem...
    By CyC|OpS in forum C Programming
    Replies: 1
    Last Post: 10-26-2002, 08:37 AM