- Joined
- 4/5/08
- Messages
- 267
- Points
- 38
I was trying to create a class named BlackScholes.
I created a .h file "BlackScholes.h" and started the file with
#ifndef BLACKSCHOLES_H
#define BLACKSCHOLES_H
class BlackScholes{
...
...
};
...
...
#endif
This did not create the classes as desired.
However after 2 hours long of debugging I changed my filename to BlackScholes1.h and
#ifndef BS_H
#define BS_H
#endif
This is really weird.
Does anyone know the reason for this ?
I created a .h file "BlackScholes.h" and started the file with
#ifndef BLACKSCHOLES_H
#define BLACKSCHOLES_H
class BlackScholes{
...
...
};
...
...
#endif
This did not create the classes as desired.
However after 2 hours long of debugging I changed my filename to BlackScholes1.h and
#ifndef BS_H
#define BS_H
#endif
This is really weird.
Does anyone know the reason for this ?