FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Canoot include other lib than the default in C (mac)

 
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users
View previous topic :: View next topic  
Author Message
petroskar



Joined: 19 Oct 2009
Posts: 1

PostPosted: Mon Oct 19, 2009 4:01 pm    Post subject: Canoot include other lib than the default in C (mac) Reply with quote

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
View user's profile Send private message
C++R00ki3



Joined: 18 Oct 2009
Posts: 8

PostPosted: Tue Oct 20, 2009 2:20 am    Post subject: Reply with quote

Conio is not part of mac, its a windows library Smile.
But there are replacements out there.
And please, do not switch to DevC++... that IDe is aweful Razz and not further developed Smile.
regards.
Back to top
View user's profile Send private message
katano



Joined: 30 Oct 2009
Posts: 1

PostPosted: Fri Oct 30, 2009 7:16 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Valeriy Soldatov
Posted via mailing list.





PostPosted: Sat Oct 31, 2009 10:37 am    Post subject: Canoot include other lib than the default in C (mac) Reply with quote

http://cboard.cprogramming.com/faq-board/27714-faq-there-getch-conio-equivalent-linux-unix.html
Back to top
Eric



Joined: 27 Nov 2009
Posts: 1
Location: Ontario,Canada

PostPosted: Fri Nov 27, 2009 11:02 pm    Post subject: Reply with quote

C++R00ki3 wrote:
Conio is not part of mac, its a windows library Smile.
But there are replacements out there.
And please, do not switch to DevC++... that IDe is aweful Razz and not further developed Smile.
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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB