|
|
back to boardCommon BoardHOW COMPILE PROGRAMM IN DELPHI ??? Check this out (+) In folder where delphi is installed open bin/ folder then copy your solution to that folder and call dcc32.exe YourProgram.pas Another way to do this in IDE is to: Create new project Remove Unit1 from that project. View project source. Remove any f**cing delphi things like uses forms, Application.Init; In the beginnig type {$APPTYPE CONSOLE}, to know wether you program is being executed. I did not checked, but I think you must comment that directive before sending program to Judge. Adding dot (.) after { is enogh: {.APPTYPE CONSOLE} Enjoy :) If you have Delphi 5.0 or more you can use this... 1) Run Delphi. 2) Press File and chose New. There will appiare a new windows. 3) In this list chose Colsole Application. And you will start... Some things to know (+) Ural Judge System uses Delphi 2.0 compiler, so you can write your program in any version of Delphi (I use Delphi 6.0) as Console Application. To sumbit your solution just copy all the text of program. It is possible to use {$APPTYPE CONSOLE} and // comments. But you should know, that the types equal the types in Turbo Pascal 7.0. You also cann't use dynamic arrays and other features of Delphi more than 2.0 version. |
|
|