Hi,
I have a problem with that code given below.This code is simplified version of my source code.Errors are same so I send that format.Compiler gives an error like that
: error C2533: 'AB::{ctor}' : constructors not allowed a return type
: error C2264: 'AB::AB' : error in function definition or declaration; function not called
But my constructor does not return any thing.
#include <iostream>
using std::cout;
using std::endl;
#include<math.h>