Thread: Its having a laugh now

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    21

    Its having a laugh now

    Seriously, does it make these messages up ?

    D:\Programming\syme.cpp(51) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1786)
    Please choose the Technical Support command on the Visual C++
    Help menu, or open the Technical Support help file for more information
    Error executing cl.exe.

    It reffers to the(only) constructor:

    MyQ::MyQ : sequence()
    {
    cout << "Q Created" << endl << endl;
    }

    sequence is an inhereted class in an external .h file.

    Has anyone got the foggiest as to what is going on here ?

    Ill post the program if its neccesary, seeing as it said internal error i havent bothered here.

  2. #2
    Seņor Member
    Join Date
    Jan 2002
    Posts
    560
    Please choose the Technical Support command on the Visual C++
    Have you tried that?

  3. #3
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    Some () on your constructor might help. then again that is prolly a typo
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  4. #4
    Registered User
    Join Date
    Nov 2001
    Posts
    21
    i never installed MSDN due to space constraints, which was probably a bit reckless of me, then again knowing MS help files.....

    Stoned you were right, it was my first in heritance type program and i completely overlooked it, i ended up rewriting it from scratch and it works fine now.

    I still find a bit weird that the lack of () would cause an 'internal error'

    Thanks for the help, appreciate it.

  5. #5
    Registered User
    Join Date
    Nov 2001
    Posts
    21
    quack

  6. #6
    30 Helens Agree neandrake's Avatar
    Join Date
    Jan 2002
    Posts
    640
    I'm getting the same error as you. Here's my constructor:

    Code:
    BOX::BOX {
    	xpos=0;
    	ypos=0;
    	open=false;
    }
    If I put in (), it gives me errors that it can't have return types. I think i have MSDN on this comp, let me look that thing up.
    Environment: OS X, GCC / G++
    Codes: Java, C#, C/C++
    AOL IM: neandrake, Email: neandrake (at) gmail (dot) com

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Laugh at my work day
    By cboard_member in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 06-14-2006, 12:13 PM
  2. Please don't laugh...SIMPLE loop question!
    By the_lumin8or in forum C++ Programming
    Replies: 5
    Last Post: 03-31-2006, 01:08 PM
  3. feel free to laugh at my code!
    By JimJamJovi in forum C Programming
    Replies: 4
    Last Post: 01-11-2002, 04:40 AM