hi
thanks for replies, the code is spread in two files, one .h and one .cpp. (btw, in g++ i can compile, build and make (but not run, because of some other bug), so it might be borland-related shit.)
pile_engine.h:
--------------
#include <stdio.h>
namespace confined{
static char *full_path = NULL,
}
class pile_engine
ublic pile_access{public:
pile_engine( short P_MB,
unsigned char bits_for_QualifieRs,
P_interrupt_TYPE *interrupt,
char *path
); // Class Constructor
}
pile_engine.cpp:
----------------
pile_engine:
ile_engine
( short P_MB,
unsigned char bits_for_QualifieRs,
P_interrupt_TYPE *interrupt,
char *path )
{confined::full_path = new char[ path ];
FILE *F = fopen(confined::full_path, "r" );
bool Relational_Base_exists = ( F != NULL );
fclose(F);
if( Relational_Base_exists )
{STOP(); // take from HD
}
else
{ // create new
}
}
of course there is more code, but I pasted the relevant pieces, I think.
As for the compiler-/linker-options:
=>Compiler:
Code optimization: none
Warnings: selected
Debug Information: Y
Line nb. info... : Y
Disable inline expansions: Y
Pre-compiled Headers: none
Stack-frames: Y
=>Advanced Compiler:
Instruction set: Pentium Pro
Data alignment: Double word
Calling convention: C
Register variables: None
Output: Generate underscores
Floating Point: None
Langage compliance: Borland
Source: Identifier length(z): 250
=>C++:
Member pointers: Smallest
Honor member precision: Y
Zero length empty base classes: Y
Zero length empty class members: Y
Virtual tables: Y
=>Linker:
create debug info: Y
use dynamyc TRL: N
use debug libraries: N
Generate import library: Y
Don't generate state files: Y
max erros: 0
map file: off
warning: selected
min heap: 0x1000
max heap: 0x100000
image base: 0x100000
subsystem major: 4
subsystem minor: 0
Thanks, bedoni