I'm using the directive pragma once in two header files. Both headers use vector, iterator, iostream, and string (and using namespace std). Some things may seem redundant and inefficient but it's the way our instructor wants us to write it. Anyways, in my file register.cpp, I want to include both header files. Would I attach pragma once here as well?

>Would I attach pragma once here as well?
I don't see why you would need to unless you actually include register.cpp in another file. Otherwise, it'll work without the #pragma because implementation files must only have one instance in the translation unit or you'll get multiple definition errors. #pragma once is a non-portable equivalent for inclusion guards in headers, nothing more (barring compilation optimizations). If #pragma once is supported then:

#ifndef UNIQUE_NAME
#define UNIQUE_NAME

// Header shtuff

#endif

Is (probably) functionally identical to:

#pragma once

// Header shtuff
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.