witam,
mam mały problem z prekompilowanymi nagłówkami, a mianowicie :
to jest mój nagłówek :
#ifndef APPLICATION__H
#define APPLICATION__H
#include "stdafx.h"
struct dataRow{
struct tm timeinfo;
float open, low, high, close;
};
class Application{
public:
bool loadData();
private:
dataRow data;
};
#endif
a to jest mój application.cpp :
#include "application.h"
bool Application::loadData()
{
const int avg_period = 5;
//.....
//.....
}
Nie mam pojęcia dlaczego dostaję błąd (ostrzeżenie) :
warning C4627: '#include "application.h"': skipped when looking for precompiled header use
1> Add directive to 'StdAfx.h' or rebuild precompiled header