ďťż

Ładny brzuch

Prosze o pomoc i co jeszcze trzeba zrobic gdzies cos w opcjach projektu wpisać?



This will not work with Borland 4.5 because its windows libraries are too old. Download these two files by holding down the left-shift key and clicking on them: The header file: [url="http://www.cs.colorado.edu/~main/bgi/winbgim.h"]http://www.cs.colorado.edu/~main/bgi/winbgim. h[/url]. Put winbgim.h in the same directory as your other C++ code. The source code file: [url="http://www.cs.colorado.edu/~main/bgi/winbgim.cpp"]http://www.cs.colorado.edu/~main/bgi/ winbgim.cpp[/url]. Put winbgim.cpp in the same directory as your other C++ code. Write your program as you normally would, using the BGI graphics functions. Instead of including graphics.h, you should have this statement: #include "winbgim.h" // winbgim.h is in directory with your other code In order to actually process graphics events, the program should regularly call kbhit, getch, or delay (which are described below). Otherwise the graphics events may end up in a buffer that doesn't get processed. Before you compile the program in Borland C++, click on: File ... New ... Project.... You will get a "New Target" box. In this box, type a Project Path and Name which is the same as your program's directory and name, but use ide for the file extension rather than cpp. Make sure that you also have: Target Type: Application [.exe] Platform: Win32 Target Model: Console Frameworks: Do NOT click OWL; do click Class Library Libraries: Static ...then click the OK button. You'll get a new "Project" window, with the name of your .exe file at the top and three other files below that (.cpp, .def, and .rc). Click on the .def file, press the Delete key on the keyboard, and click "Yes" to delete the .def file. Also delete the .rc file. Then click on the .exe file and press the Insert key on the keyboard. In the file dialog box, type the complete path and name of the winbgim.cpp file that you installed earlier, and click the "Open" button. The winbgim.cpp file should then appear in your Project window, just below the .exe file. If you want to save this project window for later use, you now must carry out a strange step: (a) From the top of the menu bar, click on "Project" and "Close". (B) Then reopen the project by clicking on "Project" and "Open" and selecting the name of the project file that you just closed. When you quit Borland, you should save both your .cpp file and the .ide file on a floppy disk or elsewhere. Later, you can reopen the .ide file by clicking "Project" and "Open". Now you can compile and run your graphics program in the usual way with the compile and run buttons. When the program runs, it will open two windows--one for cin and cout text interaction, and the other for the graphics.
Uh cale 10 sekund na googlach :/ [co zrobilem? ctrl + n, g winbgim enter]

Dzieki jeszcze tylko sie Angielskiego naucze i i już wszystko będe wiedział :rolleyes:


Dzieki jeszcze tylko sie Angielskiego naucze i i już wszystko będe wiedział  :rolleyes:

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • zsf.htw.pl
  •