Hi Justin, The conio.h is DOS/Windows only. You could probably remove the #include, then some function calls may generate errors. Just replace those functions with their Linux equivalents. Cheers, Isaac Em 04/09/2016 05:15, Justin Richards escreveu: > Hi Issac, > > thanks for sharing. > > This looked like a good candidate for me to GCC for the first time. > > So installed ubuntu (as a vm). > > Then tried gcc TicTacToes.cpp Compiler complained so installed g++ (after > googling the issue) > > then g++ TicTacToes.cpp compliler complained with conio.h > > found and dowloaded conio.h and placed in /usr/include > > compiler complains with _mingw.h missing > > Should I be trying this within cygwin under windows. > > Perhaps I can modify code to compile within ubuntu. > > I am looking for path of least resistance, so perhaps if you can recall t= he > platform that you originally compiled, then I could start from there. > > Cheers Justin > > > > > > > On 4 September 2016 at 11:55, Isaac M. Bavaresco > wrote: > >> Years ago I wrote a short program to analyze the game Tic-Tac-Toes and >> forgot about it. >> >> This week I was reviewing some old backups and stumbled upon it. >> >> The code is attached to this message, for the ones that may find it >> amusing. >> >> Compiles with GCC and outputs to stdout. The output can be redirected to >> a text file and viewed in your preferred program editor. >> >> >> Cheers, >> >> Isaac >> >> >> >> -- >> http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive >> View/change your membership options at >> http://mailman.mit.edu/mailman/listinfo/piclist >> >> --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .