| View previous topic :: View next topic |
| Author |
Message |
petroskar
Joined: 19 Oct 2009 Posts: 1
|
Posted: Mon Oct 19, 2009 4:01 pm Post subject: Canoot include other lib than the default in C (mac) |
|
|
Hello, everyone I was working on a project and wanted to include conio library. Before even using the function I wanted I tried to built and ran the app and netbeans could not recognize the library. I tried other libraries too, same thing. I uninstalled xcode re-installed it the same with netbeans but I had the same problem, so I guess there is something I'm missing here. Please help me netbeans is the best IDE and I don't want to go back to devc++.
P.S. I'm on a mac gcc is on but I cannot locate the libraries anywhere. [/code] |
|
| Back to top |
|
 |
C++R00ki3
Joined: 18 Oct 2009 Posts: 8
|
Posted: Tue Oct 20, 2009 2:20 am Post subject: |
|
|
Conio is not part of mac, its a windows library .
But there are replacements out there.
And please, do not switch to DevC++... that IDe is aweful and not further developed .
regards. |
|
| Back to top |
|
 |
katano
Joined: 30 Oct 2009 Posts: 1
|
Posted: Fri Oct 30, 2009 7:16 pm Post subject: |
|
|
Hi there,
i had the same problem yesterday, doing a simple example program, i tried to use the getch(); but Netbeans couldnt find the #include <conio.h>, so i changed the getch(); to getchar(); and worked fine, im using MAC OS btw, i couldnt find the libraries anywhere either..if somebody knows where to find them plz plz let me know..
thx in advance for your help |
|
| Back to top |
|
 |
Valeriy Soldatov Posted via mailing list.
|
|
| Back to top |
|
 |
Eric
Joined: 27 Nov 2009 Posts: 1 Location: Ontario,Canada
|
Posted: Fri Nov 27, 2009 11:02 pm Post subject: |
|
|
| C++R00ki3 wrote: | Conio is not part of mac, its a windows library .
But there are replacements out there.
And please, do not switch to DevC++... that IDe is aweful and not further developed .
regards. |
Hey wait are you sure?
I have used Dev C++ and it is a great compiler with few strings attached it was actually one of my first it uses "Mingw" you know which is used also on Euphoria also these two compilers are the most accurate you know.
I think you should give it another try if you ever plan on being successful in programming from the ground up.
The Ansi C standard to me is the only programming language all the other stuff is easier but pretty useless for being cross platform as these languages are built on the Ansi C language and use more computer resources.
Simplicity and automatic programming is not always the best in fact it is probably the worst.
Dev C++ makes you face the problems with programming and DOS commands are also included also you can add any header files anytime.
Yes the compiler gives the user a lot of issues but after mastering the Ansi C language you should be able to do anything with it and the programs you create are cross platform.
Netbeans is giving me a lot of problems with C.
I could care less about C++ as it is a dictated language and uses C in the first place!
Anyways give it another try using just Ansi C and then modify it as I am pretty sure you can legally. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|