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

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.