   allegro read/write
  Hello everybody sorry for opening a new topic but the topic on this theme was closed.Can someone tell me what is the problem? I have a problem about reading from a file i don't have any errors but in the file i have a matrice whit a lot of numbers but when i read in my program every number that i save in a matrice is turned in 0. Why?I use: Dev-C++#include <allegro.h>#include <fstream>using namespace std;{}END_OF_MAIN()One more thing when i write in a file is saving the numbers as well but i have trouble when i read from file.Ty for you're time hope you know the answer of my question   
Quote:Original post by juncraulI use: Dev-C++First of all, don't. Use this which is free and was released just over a month ago, rather than a bug ridden 5 year old IDE.Secondly, you need to post all of your source code, you provided anything but the code which actually interfaces with the file, plus nothing in your code posted suggests it is even capable of compiling (your missing a main function for starter).Post ALL your code in [ source ][ /source ] tags (without the spaces).   