As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am learning C and wish to create 2D static objects, line graphs etc for GUI graphics and printing. SDL seems too much and there is no clear source available to teach SDL in C. what are my easier choices? I have windows 7 & Fedora 16 (dual OS) on my computer?
You could try Allegro. It is somehow similar to SDL, but seems simpler to use. There shouldn't be a problem to find some tutorials.
Some learning resources are listed here ->
http://www.deitel.com/ResourceCenters/Programming/C/AllegroCGameProgramming/tabid/223/Default.aspx
Win32 and GDI are pretty easy once you have the basic boiler plate code in.
There of course is OpenGL
Perhaps Cairo graphics & GTK could be useful to you. If you are interested in C++, the Qt Graphics View should interest you.
They all claim to be multi-platform (running on Windows and on Linux).
Have you looked at SDL_draw? This is a library that runs on top of SDL that provides very simple to use functions for drawing lines, circles, rectangles, etc.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
What would be the best language if I want to develop a range of Linux related things. I want to make kernel patches, Linux programs, contribute with other projects, etc. Where and with which language do I start?
The best way to decide which language is going to be useful to you is to look at the source for the projects to which you wish to contribute. Take a look around popular code repositories, such as github, google-code and sourceforge.
Diving into a language like python may be useful for some scientific projects, but not at all useful for something low-level like linux-kernel development.
I want to make kernel patches
The Linux kernel source tree is currently:
96.5 % c
2.2% assembly
1.3% "other" (documentation and makefiles, presumably).
So start with The C Programming Language and go from there!
Good luck!
You should know C (for kernel patches) and Bash (so you can actually use Linux). Maybe also Python (for general scripting).
If you want to do kernel work and a variety of other Linux core things, then C (followed by C++) would be your starting point. You also need to throw in a healthy does of bash shell programming. And gcc is the compilation tool of choice. The kernel is nearly all C and a lot of apps use C++
Learning Python is a good start, if you are familiar with Object Oriented programming. Shell scripting can help you a lot too.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Can any one suggest me how to become a linux device driver programmer.
I have many doubts as I am working as software engineer in a company (1+ yr experience ).Our project is done using C,c++ in linux and windows both,I am working in C,C++ and using Visual studio and Linux GCC for my project.Our project is mainly on remote management of servers and systems.
I am very interested linux kernel-device driver programming .
can any one tell me what is good for me,and how to start I got some books (LDD 3ed ,etc ) but only reading book is sufficient or I have to get some training.
what about this driver programming future and scope.
Kindly tell some suggestion.
Thanks
The LDD O'Reilly book is really good (Rubini et all), Also take a look at the LXR project:
http://lxr.linux.no/
It is a great cross-linked reference of the kernel source. Reading over current driver code is probably the best way to become acquainted.
The best way to learn any language or coding style is to read as much code as you can. Compile it, modify it, crash the kernel, and just play around. Kernel drivers are my personal favorite thing to write, you have a lot of exciting stuff to see!
Good luck!
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I apologize if this is off topic. Please close if it is.
I want to get in to a bit of Linux application development. What programming language are the majority of GUI apps made in?
It usually largely depends on the DE (desktop environment) you are focusing on; each usually has one GUI toolkit that it's using the most.
For instance, GNOME mostly uses GTK+; and since GTK+ is written in C, many Linux GTK+ GUI apps use that, but there are also bindings to other languages, like Python, which I've also seen used often. And there are bindings for other languages too.
On the other hand you have KDE, which is mostly based on Qt; and, since Qt is written in C++, most apps using Qt are also written in C++.
However, honestly the choice of language doesn't matter much; it's more the toolkit that matters. I'd pick the one your DE uses, and then choose one of the languages it supports.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Apart from C, C++, Delphi, VB, can you put an example of a relatively "modern" COMPILED* programming language* supporting things like OO, collections, GUI libraries?
Please do not mention experimental or academic only languages, I'm looking for something used in the real world, for PCs 80x86, and I don't mind about the OS.
Thanks!
*UPDATED: Compiled to native code.
*DISCLAIMER:
For language understand language implementation.
For compiled to native code understand not interpreted.
Haskell.
Source: http://www.realworldhaskell.org/
Cython. Compiles to native code, is used in high performance computing, both academic and commercial, and is used to implement LXML. GUI libraries include all those available for Python.
Also, Objective-C. That's now one of the most popular programming languages.
Wikipedia has a lot: http://en.wikipedia.org/wiki/Comparison_of_programming_languages
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Urgently want to know best UML designing tool in Linux?
Which Also Support ERD
Is it Possible to use in NetBEANs IDE 6.9.1
Almost all UML tools are Linux compliant.
Try Papurus with Eclipse or BOUML which are free and open source. RSA is pretty good as well as Omondo but not free.
I use and prefer Umbrello.
ArgoUML is also quite good but its GUI bugs will drive you mad...
I never had any problems with dia. It's part of gnome, almost all distributions package it. Also has a Windows version but I didn't use that one for a long time. Of course, "best" is relative to what you are expecting from it.