Hey guys
I was wondering if there's a similar way of coding API the way you can with windows.h on Windows, but in Linux. Not to say I know much beyond things like MessageBox(), Sleep(), Beep(), FreeConsole(), and other simple windows.h functions, but it'd be nice to know ways to implement these in Linux.
I'll be greatful for any suggestions.
Linux API?
Started by shibbythestoner, Dec 26 2007 02:46 PM
5 replies to this topic
#1
Posted 26 December 2007 - 02:46 PM
|
|
|
#2
Posted 27 December 2007 - 12:27 AM
Linux has both a Linux API, and a Linux Kernel API.
To make GUI-stuff in Linux you need a GUI toolkit, though. But don't worry, there's a lot of nice GUI toolkits, like wxWidgets, Qt and GTK+.
To make GUI-stuff in Linux you need a GUI toolkit, though. But don't worry, there's a lot of nice GUI toolkits, like wxWidgets, Qt and GTK+.
#3
Posted 27 December 2007 - 03:19 AM
#4
Posted 08 January 2008 - 02:46 AM
#5
Posted 08 January 2008 - 04:12 AM
Basically I'd say you should look towards Posix (which is the Unix standard which Linux supports) and Gtk+. Qt is a fine toolkit but has licensing issues. If you want to use Qt your work must be released in a GPLv2 compatible way or you must buy a proprietary license. Gtk+ isn't as good but is LGPL so you can do your work in whatever license you want provided you dynamically link (which is likely) as opposed to statically link.
#6
Posted 17 January 2008 - 01:12 AM
you can reference GNU C book
http://www.upredsun.com
**Easily and automatically build tcp-based or udp-based network protocol source code**
**Easily and automatically build tcp-based or udp-based network protocol source code**


Sign In
Create Account



Back to top









