Re: [Dev-C++] Thanks and Another question (windows/linux)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Pukara R. <puk...@ya...> - 2003-08-05 10:20:21
|
Hello Thank you again for answering my question even the strangest ones :) Anyway, I am almost giving up in this compilation thing and thinking of going back to my old linux machine with the nice g++. It seems that the system (ARIA) works only for visual C++ 6.0 if in windows. So I tried to cheat the compiler into making it think we were in linux to see what happens. Then it said that several files are missing. Is Multithread supported by Dev C++?? Where are the multithread libraries?? If anyone has experience here with Visual C++ I would like to read its opijnion By the way what "import function of dev"? Thanks a lot! OROSZI_Bal#30169;s <or...@vp...> wrote: Pukara Rob wrote: > By the way, about the stdio.h file. I think it is pretty neccessary so I > am wondering why these guys chose to leave it out? Has any one of you > worked with Visual C++? Is there a replacemente for the standard stdio.h > there? I asked because the Aria guys provided some project files for VC > but since I work with DevC++... > > About the .. > > #ifdef SOMETHING > ....... > #endif > > how do I define and undefine something from the compiling environment. I > am trying to force it compile because I have lost too much time already. > > By the way ARIA is the name of a control system for Pioneer robots. VC++ project files have nothing to do with includes, as they don't contain any. They may only contain defines, but they are imported by dev anyway (I assume, that you used the import function of dev, no?). I think, that the stdio.h file is the same in Dev-C++ (well, actually in MinGW) and both in VC++. So I really don't know what and why have they done. To define something globally, through the environment, you need to pass a flag to the compiler. It has the form: -DSOMETHING This will define SOMETHING for the currently compiled file. Add -DWHAT_YOU_WANT to the compiler flags in the Project options -> Parameters -> Compiler or C++ compiler. I hope this helps. Good luck! -- Greetings, Bal#30169;s ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software |