Fichier condefs.h

Fermé
Lolo38Lolo Messages postés 215 Date d'inscription mardi 15 avril 2003 Statut Membre Dernière intervention 20 novembre 2007 - 20 juin 2003 à 09:28
choubaka Messages postés 39153 Date d'inscription jeudi 4 avril 2002 Statut Modérateur Dernière intervention 24 mars 2023 - 20 juin 2003 à 10:00
bonjour,
je cherche la librairie condefs.h. Si qqun sait sur quels sites je peux la trouver et la télécharger.

Merci

3 réponses

choubaka Messages postés 39153 Date d'inscription jeudi 4 avril 2002 Statut Modérateur Dernière intervention 24 mars 2023 2 099
20 juin 2003 à 09:54
salut

c'est ça que tu cherches?

//---------------------------------------------------------------------------

// condefs.h - defines needed by Borland C++ Builder console apps
//---------------------------------------------------------------------------
// $Revision: 1.4.1.0.1.0 $
// revised by Curt Hill for CS160 class to make it easier on students
// this is for C++ Builder 4

//-------------------------------------------------------------------------
// copyright (c) 1997 Borland International
//----------------------------------------------------------------------------
#ifndef CONDEFS_H
#define CONDEFS_H
// CS160 modifications

// Permanent fstream inclusion - this also guarantees iostream and iomanip

#ifndef __FSTREAM_H

#include <fstream.h>

#include <iostream.h>

#include <iomanip.h>

#endif

// Permanent AnsiString inclusion

#ifndef DSTRING_H

#include <vcl\system.hpp>

#endif

/* getline

this cannot be a member of istream without that header being modified

thus make it standalone function

*/

inline void getline(istream & inf, AnsiString & s, int len=256, char delim='\n'){

char * line;

line = new char [len+10];

inf.getline(line,len,delim);

s = line;

delete [] line;

}

// Definition of delay function so console apps do not disappear so fast

#include <stdio.h>

inline void __fastcall delay(){

char c[100];
_flushall();

printf("\nPress return to continue...\n");

gets(c);

return;

}

// end of CS160 modifications

//---------------------------------------------------------------------------
#if defined(_NO_VCL)

#define USEUNIT(ModName) \
extern DummyThatIsNeverReferenced
//-----------------------------------------------------------------------
#define USEOBJ(FileName) \
extern DummyThatIsNeverReferenced
//-----------------------------------------------------------------------
#define USERC(FileName) \
extern DummyThatIsNeverReferenced
//-----------------------------------------------------------------------
#define USEASM(FileName) \
extern DummyThatIsNeverReferenced
//-----------------------------------------------------------------------
#define USEDEF(FileName) \
extern DummyThatIsNeverReferenced
//-----------------------------------------------------------------------
#define USERES(FileName) \
extern DummyThatIsNeverReferenced
//-----------------------------------------------------------------------
#define USETLB(FileName) \
extern DummyThatIsNeverReferenced
//-----------------------------------------------------------------------
#define USELIB(FileName) \
extern DummyThatIsNeverReferenced
//-----------------------------------------------------------------------
#define USEFILE(FileName) \
extern DummyThatIsNeverReferenced
//-----------------------------------------------------------------------
#define USEIDL(FileName) \
extern DummyThatIsNeverReferenced
//-----------------------------------------------------------------------
#define USE(FileName, ContainerID) \
extern DummyThatIsNeverReferenced
//-----------------------------------------------------------------------
#else // _NO_VCL
# include <vcl.h>
#endif // _NO_VCL

#endif // CONDEFS_H



Chouba
Casque Bleu forumique
0
teebo Messages postés 33478 Date d'inscription jeudi 14 octobre 2004 Statut Modérateur Dernière intervention 24 février 2011 1 795
20 juin 2003 à 09:57
8-)
Tu es un as Chouwee :o)

.  .
\_/
0
choubaka Messages postés 39153 Date d'inscription jeudi 4 avril 2002 Statut Modérateur Dernière intervention 24 mars 2023 2 099
20 juin 2003 à 10:00
bah!

Chouba
Casque Bleu forumique
0