Re: Preprocessor: Einbinden von Header Dateien

Andre Heine <[email protected]>
Newsgroups gmane.linux.suse.programming
Organization none
Message-ID <[email protected]>
moin moin,

Am Donnerstag, 13. November 2008 23:55 schrieb Thomas Hertweck:

> Was passiert, ist schon klar. Die Frage ist, ob das so richtig ist. Wie

Die Frage(n) ist/sind vielmehr: 

Warum braucht man _zwei_ "second.h"?

Wie sehen die headerfiles überhaupt innen aus?

---
#ifndef _SECOND_H_
#define _SECOND_H_

// kram, zeugs, 

#endif

-----

Warum kann man nicht "dir1/second.h" und "dir2/second.h" verwenden?

Meines erachtens ist hier die "Organisation" Deines Prokjektes/ Codes nicht 
wirklich schön...

*SCNR*


Ciao

Andre
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.