Home
Forums
Programming
Web Development
Tutorials
Snippets
Blogs
Freelance
Jobs
Lounge
Login
Join for Free!
Programming Help
C and C++
Visual Basic
Java
VB.NET
C#
ASP.NET
PHP
ColdFusion
Perl and Python
Ruby
Databases
Other Languages
Game Programming
Software Development
Computer Science
Industry News
Web Development
Web Development
HTML & CSS
JavaScript
Graphic Design
Flash & ActionScript
Blogging
SEO & Advertising
Web Servers & Hosting
Site Check
What's Here?
Members:
150,053
Replies:
507,587
Topics:
80,020
Snippets:
2,668
Tutorials:
705
Total Online:
1,729
Members:
118
Guests:
1,611
[X]
My Assistant
Loading. Please Wait...
Dream.In.Code
>
Programming Help
>
C and C++
Welcome to Dream.In.Code
Become a C++ Expert!
Join 150,053 C++ Programmers for FREE!
Get instant access to thousands
of C++ experts, tutorials, code snippets, and more! There are 1,729 people online right now.
Registration is fast and FREE...
Join Now!
Chat
LIVE
With a C++ Expert
Directives of preprocessers question
Directives of preprocessers question
Options
c--
3 Feb, 2008 - 02:46 PM
Post
#1
New D.I.C Head
Joined:
26 Jan, 2008
Posts:
27
Why's it important to include #ifndef and #define before a class??
This Post Was Helpful!
Register for Free to Make These Ads Go Away!
Tom9729
RE: Directives Of Preprocessers Question
3 Feb, 2008 - 03:02 PM
Post
#2
Debian guru
Joined:
30 Dec, 2007
Posts:
1,592
Thanked:
12 times
Dream Kudos:
325
My Contributions
So you don't get "already defined" errors if that header file is included more than once.
This Post Was Helpful!
Display Mode:
Standard
·
Switch to: Linear+
·
Switch to: Outline
Track this topic
·
Email this topic
·
Print this topic
·
Subscribe to this forum
Time is now: 1/8/09 10:20PM
Invision Power Board
v2.1.7 © 2009 IPS, Inc.
Licensed to: MediaGroup1
Advertising
|
Terms of Use
|
Privacy Policy
|
About Us
|
Site Map
Forum Index:
Programming Help
|
C and C++
|
Visual Basic
|
Java
|
VB.NET
|
C#
|
ASP.NET
|
PHP
|
ColdFusion
|
Perl and Python
|
Ruby
|
Databases
|
Other Languages
|
Game Programming
|
Software Development
|
Computer Science
|
Industry News
|
Programming Tutorials
|
C++ Tutorials
|
Visual Basic Tutorials
|
Java Tutorials
|
VB.NET Tutorials
|
C# Tutorials
|
Linux Tutorials
|
PHP Tutorials
|
ColdFusion Tutorials
|
Windows Tutorials
|
HTML/JavaScript Tutorials
|
CSS Tutorials
|
Flash Tutorials
|
Web Promotion Tutorials
|
Photoshop Tutorials
|
Software Development Tutorials
|
Database Tutorials
|
Other Language Tutorials
|
ASP.NET Tutorials
|
Copyright 2001-2008
MediaGroup1 LLC
, All Rights Reserved
A
MediaGroup1 LLC
Production - Version 6.0.2.1.36
Server: secure2
Search
Updated!
w00t
Over 509,000 Pages!
Advanced Forum Search
Be Social
Live C++ Help!
C++ Tutorials
Data Structures In C++ Tutorial
C++ Quick Reference Sheet (Cheat Sheet)
Making a 2D Game Engine Using OpenGL - Part3 is up
CPP with ODBC (Open Database Connectivity)
Object Oriented Programming (oop) Tutorial
Polymorphism Tutorial
C++ Vector Tutorial
Understanding Loops in C++
Converting and Evaluating Infix, Postfix and Prefix Expressions in C
Producing Random Numbers
116 More C++ Tutorials...
Reference Sheets
C++ Snippets
Linked List Class
Convert cases of strings
Getting Current Directory
Recursive Fibonacci Sequence
Shortest Function to Reverse a String ( Uses Recursion )
Insertion Sort Example
Finding Square Root without using sqrt()
Convert characters into a ASCII value and vice versa
integer to string conversion
Complex Numbers Class
458 More C++ Snippets...
DIC Chatroom
Join our IRC Chat
Bye Bye Ads
Monthly Drawing
Top Contributors
Top 10 Kudos This Month
AdamSpeight2008
(75)
girasquid
(75)
DillonSalsman
(50)
jacobjordan
(50)
kryton46
(50)
Barnz
(50)
gothik12
(25)
mostyfriedman
(25)
NevilleDNZ
(25)
~NJ
(25)