i already searched my hard drive for these files and found them, but when I use them the compiler gives out alot(!) of errors concerning these files.
The MinGW include folder does not contain most of the standard libraries(it does have stdio.h though)
as far as i know c++0x isnt even finished yet and this would be a work around and not a solution to my problem.
Here is a part of the code im working on:
#ifndef PALETTE_H
#define PALETTE_H
#include <fstream>
#include <vector>
#include "D:\Programmieren\CodeBlocks\Projekte\Sffdatei\Sff2allegro\sff2_structs.h"
class palette
{
public:
palette(ifstream& filepointer,sff2header head);
palheader palhead;
bool error;
bool loaded;
private:
vector<RGB> data;
void load(ifstream&,palheader,unsigned int);
};
#endif // PALETTE_H
here the build log:
D:\Programmieren\CodeBlocks\Projekte\Sff_test\include\palette.h:20: error: 'ifstream' has not been declared
D:\Programmieren\CodeBlocks\Projekte\Sff_test\src\palette.cpp:3: error: expected ')' before '&' token
D:\Programmieren\CodeBlocks\Projekte\Sff_test\src\palette.cpp:16: error: variable or field 'load' declared void
D:\Programmieren\CodeBlocks\Projekte\Sff_test\src\palette.cpp:16: error: 'ifstream' was not declared in this scope
D:\Programmieren\CodeBlocks\Projekte\Sff_test\src\palette.cpp:16: error: 'filepointer' was not declared in this scope
D:\Programmieren\CodeBlocks\Projekte\Sff_test\src\palette.cpp:16: error: expected primary-expression before 'palhead'
D:\Programmieren\CodeBlocks\Projekte\Sff_test\src\palette.cpp:16: error: expected primary-expression before 'unsigned'
I checked the include folder and it DOES NOT contain fstream.h or vector.h.
I tried using a different one but then i get even more errors.