ndsChaury/source/files/file_io.cpp
Bacioiu Ciprian e8e09edbd5 Initial Commit
First commit of my attempt to make a Nintendo DS <> Lua 2D game engine!
2015-06-21 13:39:47 +03:00

27 lines
385 B
C++

#include <iostream>
using namespace std;
/*class Rectangle {
int width, height;
public:
void set_values (int,int);
int area() {return width*height;}
};
void Rectangle::set_values (int x, int y) {
width = x;
height = y;
}*/
class FileIO {
public:
std::string openFile( );
};
std::string openFile(std::string fileName)
{
std::ifstream file(fileName);
}