0

I received this message while compiling a program w/ multiple header/.cpp files :

c:\Documents and Settings\Fiona Chandra\My Documents\CS32\Project1\CombinationLock.h(0) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701) 
 Please choose the Technical Support command on the Visual C++ 
 Help menu, or open the Technical Support help file for more information

Does this mean there's something wrong with my code or something else entirely?

This is my CombinationLock.h

#ifndef COMBINATIONLOCK_H
#define COMBINATIONLOCK_H

#include <iostream>
using namespace std;

class CombinationLock
{
  public:
    CombinationLock();
    bool SetCombination(int n1, int n2, int n3);
    void TurnDial(int n);
    bool Unlock();
    bool Lock();
    bool IsLocked() const;
  private:
    int  m_combo[3];
    int  m_dialed[3];
    int  m_nDialed;
    bool m_locked;
    bool m_comboset;
};

#endif

Edited by pyTony: fixed formating

2
Contributors
1
Reply
2
Views
12 Years
Discussion Span
Last Post by Narue
0

Does the error repeat every time you try to build? If so, it's your code. If not, it's a fluke that happens occasionally.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.