From: Marnen Laibow-Koser Date: 2009-12-03T00:57:42+09:00 Subject: Re: Graphics mode Teodor Carstea wrote: >>C++ doesn't have a way to "initialize graphics mode" > > Well, this is the way I do it in C++: > > #include Where did you get this header? What does it contain? I don't think this is standard in C++. But we're getting off topic. > void main(){ > //initializing graphics mode > int gdriver=DETECT, gmode, errorcode; > initgraph(&gdriver, &gmode, "C:\\Progra~1\\BORLANDC\\BGI"); > errorcode = graphresult(); > if(errorcode!=grOk) { > cout<<"Graphics error!!!\n" > <<"Press any key..."; > getch(); > exit(1); > } > //... > //AND HERE IS DA MAIN PROGRAM CODE. > //... > } > > I'd like to make my ruby prog like this. Any Ideas? Yes. Please read my earlier posts. > P.S.: If you have an idea, please describe it in a way you would talk to > a noob, for I'm really green. Plus, I use Ubuntu, no comment. What is that supposed to mean? > > Thanks! Best, --  Marnen Laibow-Koser http://www.marnen.org marnen@marnen.org -- Posted via http://www.ruby-forum.com/.