Solved

include guards

Posted on 1998-07-01
1
165 Views
Last Modified: 2013-11-18
The Visual C++ wizards create header files with
#if !defined __a very long identifier___

The identifier is messy and I want to change the name so I can access it easier within my program.
Does changing the identifier have any adverse effect the program or any of the behind the scenes stuff on MFC?
0
Comment
Question by:VEngineer
1 Comment
 
LVL 2

Accepted Solution

by:
rayb earned 10 total points
ID: 1167011
No there are no adverse effects.  The purpose of these longer identifiers is to ensure uniqueness.  In fact, you'll notice that the identifier actually uses a GUID to reach this goal.  Changing the identifiers will cause no problems.  This has been my experience.

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
best sources to up-to-date in C++? 8 90
Coldfusion- Create and save form elements in Database 7 80
Create and populate iFrame onClick of a button? 1 86
API Soap Calls 4 126
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question