| |
|
|
Jac de Lad | can someone explain, wozu The bedingte Compilierung well his should? I could now anyway none virtually benefit for me divert...
Jac |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 05/01/06 ▲ |
|
|
|
|
| Tjah How declared mans hm - the Compiler is now Programmierbar, it can if.
#if these one w32-system print that here becomes compiled #else print no w32-sys #endif
If Roland too yet whom a or others switch with einbaut, something like How Debug and Release, then could You in your Source simply Debugoutputs einbetten:
#ifdef debug print To here works #endif
only if you then the File with Debug kompilierst becomes the Compiler The Printzeile with einkompilieren. The Weitergabeversion kompilierst You with Release - these contains then no Debugzeilen.
for Bedingtes Compile Gibts many Anwendungsbereiche - so correctly. explain can ichs but apparently not. |
|
|
| |
|
|
|
Dietmar Horn | Hi,
with the bedingten Compilierung is it by Compilerschalter possible, defined code-pieces z.B. not To compilieren, without tappt im dunkeln always first as comment mark To must.
On these Nature and point is it integrally simply possible, a komplexeren Programmcode several different Programmversionen To produce: z.B. a Light-Version, a normal Full Version and a professional-Version.
the went of course too by the Mitschleppen more variables, The defined Codeteile ignore or. not freischalten.
still one benefit the bedingten Compilierung exists therein, that your Light-Version not gecrackt go can, because the code for normal and the professional-Version none with compiliert been is. and what not in the EXE-File drin is, the can known not gecrackt go.
clear, without bedingte Compilierung can too life - only power it the program even again a Kick komfortabler.
with one small 5000-Lines-Progrämmchen is the sure yet überschaubar and one can defined code-pieces yet To foot comment, according to Prgrammversion. still if the code then on The 100000 Lines zumarschiert, then becomes the sooner unübersichtlich and the ständige to comment and again Freischalten artet in Streß from.
for my Programmierkurse could I the z.B. lovely use. I Have there one größeres proposition on the walk, and it get then even The utterly Beginner a Mini-Version, so tappt im dunkeln from the diversity the Programmfunktionen not slay go, because tappt im dunkeln so eh yet nothing to begin know. according to Lernfortschritt receive tappt im dunkeln then to example in intervals of 3 - 4 Monaten a differently compilierte Version, in which increasingly freigeschaltet is. If the suitable Compilerschalter first at times whom right to put in the code staid are, then can I unbeschwert and jolly moreover on it go program, without me around the different versions yet big concern To must (except on the code-beginning to the Compilieren whom suitable switch or. The jeweilige circumstance To settle.
who for its small Mini-programs a such bedingte Compilierung not needed, the must the Yes not benefit. I find But anyway lovely, that it the now too in XProfan gives.
Greeting Dietmar |
|
|
| Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V. [...] Windows 95 bis Windows 7 Profan² 6.6 bis XProfan X2 mit XPSE Das große XProfan-Lehrbuch: [...] | 05/01/06 ▲ |
|
|
|
|
Jac de Lad | Hm, I verstehs now but so correctly. meaningfully find ichs not.
If I Debug-stuff need, building I a Messagebox one, The I, once everything functions, weider entferne. and different Betriebssysteme or. windows-versions are for me no Topic. the would I then properly in the program adjust...but THANK YOU for Help!
Jac |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 05/02/06 ▲ |
|
|
|
|
Uwe ''Pascal'' Niemeier | Hello people!
If I the right understood have, could one means a Include-File in several programs integrate, The therein encompassed Procs/functions/Deklarationen etc. wären but in dependence the gesetzten Bedinungen with process/Compilation even not all prfs available? differently said: If I a part of/ one Inc not need, becomes it in the momentum Yes nevertheless with compiliert (what voraussetzt, I z.B. therein encompassed globale variables dekarieren must, because it otherwise a Error Message gives.) and the can itself with bedingter Compilation Change?
SeeYou Pascal |
|
|
| |
|
|
|
RGH | Hello Pascal, just as is it!
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 05/03/06 ▲ |
|
|
|