Re: [Dev-C++] Does anybody use DISLIN together with DEV-C++ ?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Rohit V. B. <rv...@gm...> - 2006-03-03 01:28:40
|
Marek Mal wrote: > 1) Do you know where(in which Code::Blocks option ) I have insert the > option "-mwindows" to block console window in my graphics(winBGIm) > program ? I tried� "Settings->Compiler->Linker-> Otheher linker > options", but this had no effect. > In Dev-C++ it works without problems. When I inserted for example set of > lib. parameters "-lbgi -lgdi32 -lcomdlg32 > -luuid -loleaut32 -lole32 -lstdc++ -lsupc++ -mwindows" into the > "Project->Project properties->Parameters->Linker", > it enables to make WinBGIm programs without console window. But if I > import this Dev-C++ project into the Code::Blocks, > it does'n work and unnecessary console window appears. Go this way - Build >> Compiler options >> Linker >> Other linker options. If you are using a project, Project >> Build options >> Linker. > > 2) I would like to use WinBGIm and Dislin graphics together in one my > program - WinBGIm window for > fast animation of some physical system of objects and Dislin window > for plotting some graphs in dependence on that > simulatet system, in real time. > But this is probably impossible because of names duplicity. For > example WinBGIm has function "circle" > and Dislin too etc. Do you have any idea how to solve this problem - > something like using :: - > Dislin::circle() and WinBGIm::circle() ... There seems to be way out using namespaces; you would have to move from using C to C++. Using both libraries shouldn't be a problem if you can successfully resolve the scope. But I really haven't tried out Dislin that much. I mainly use C/C++ to complete some of the assignments in my engineering under-graduate course ;-) -- Rohit V. Bhute http://rvbhute.freelinuxhost.com/wordpress |