hello,
i have a header file (intl.h)which contains the declaration of members of class intl
and the members functions are defined in 5 different headers
and i have one more header (floatl.h) which contains the total declaration of class floatl
and it's member functions
the over view is something like this
//this is intl.h
# ifndef _header_i
#define _header_i
#include "floatl.h"
#include <iostream>
using namespace std;
class intl
{
..
..
};
#endif
//this is float_l.h
#ifndef _header_f
#define _header_f
#include "intl.h"
#include <cstring>
using namespace std;
class float
{
..
..
};
//all methods defined here
and methods of intl class are declared in separate headers
as i said and include no header files
now i write a header allheaders.h which include
all the header files i wrote
and in a program i included this allheaders.h file
and want to use the class floatl which inturn uses class intl
(floatl and intl have no relation at all in terms of oop concept)
when i compiled my final program compilation error was
intl doen not name a type
was there any mistake in including files?
thanks in advance