Sign in to follow this  
derek7

redundant info?

Recommended Posts

derek7    100
#if !defined(AFX_CAR_H__508BCBED_9A24_4023_A08C_D2C336BDB343__INCLUDED_)
#define AFX_CAR_H__508BCBED_9A24_4023_A08C_D2C336BDB343__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

......

#if !defined is the same as #pragma once. if MSC_VER > 1000 it also work, is #pragma once redundant?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this