Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I took a lot of time to learn about C, and pointers and arrays and strings. But now I want to know how to apply all this. The title says Applications, but I also want to know how to write firmware, and device drivers and kernels. If you could point me to books,on line resources, and things of this nature.
The best way to learn write C program is to actually find a project to work on. However, you need to get enough knowledge in order to achieve this. According to my understanding, most of the C language beginners learned C and just have some numbers printed in the console(black box). C is a low-level language, sometimes very annoying. I think the way a programming language need to cultivate interest, black box is clearly not a good way. So, I suggest that in the process of learning C language, also combine with API. Teaching people to write a program with the interface is better than people all day long face the black box. Here are some books I recommend:
1. The C programming Language
2. C Primer Plus
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
Any one can give some tips or ways to learn more than 2 programing languages, without getting confused?
im still learning python, bash and php.
thank you so much.
Learning more than one language is not too hard (it is called language polyglot).
You need to focus on the common ideas that are shared by languages. And they are:
paradigms (very important, since many paradigms are shared)
syntax (C type or not)
use cases (web, desktop, mobile...)
The hard part is learning the language ecosystem and environment, good and bad parts, criticism, frameworks, tools... For this you need years to master.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I program mostly in C while studying at university. I was wondering if there is some simple open-source library that would let me make a GUI for a program in C.
Things to concider by priority:
Simple
Nice-looking
Features
I don't know how to program in C++ and would prefer to stay in pure C.
i would highly recommend Glade + GTK.
i use it in combination with python, and it works quite well.
it's also very simple to use.
here is an example:
http://people.gnome.org/~newren/tutorials/developing-with-gnome/html/apc.html#libglade-example-1
hope that helps!
EDIT:
here is a more extensive tutorial:
http://www.micahcarrick.com/gtk-glade-tutorial-part-1.html
However, notice that it might be difficult to write GUI code in C which runs on many different systems (e.g. on Linux, MacOSX, Android, and Windows). Gtk claim to have such a goal, but I don't know if it fully reached.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have done some searching around the internet trying to find some form of example code that will allow me to simplify trigonometric equations. In my mathematics course-work this year I am required to simplify trigonometric equations, and I intend on adapting the code to work with my TI-89 Titanium CAS, to use in replacement of the tCollect and tExpand functions (that can't seem to get the job done quite as nicely as I'd like it to).
As I can't really find all too much information on the matter I'd like to know if there is any code (preferably C-based) that will help me to simplify these kinds of equations. If not, what kind of algorithm would be best looking into to code myself?
Thanks.
A very powerful system that seems to have the functionality you need is Maxima, an open source computer algebra system. The following manpage describes trigexapand and trigreduce, which would seem to be roughly what you're looking for.
http://maxima.sourceforge.net/docs/manual/en/maxima_15.html
It's in Lisp rather than C, but consider that an adventure :)
Eigenmath is a handy little computer algebra system.
You might find something relevant in Eigenmath's source code.
The HP49/50 series calculators have a variety of trig manipulation functions that may do a better job than the TI-89. The CAS for the HP calculators is open source, but written in an obscure language. You'd be better off checking out the next CAS written by that guy: Giac/Xcas, written in C++.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Im an experienced actionscript developer, and relatively new to Objective C.
I decided a good investment of my time would be to master the C language (not C# or C++).
Can anyone recommend the 'best' online tutorials for learning C?
You won't have difficulties understanding the C syntax given your past experience, and unfortunately, most tutorials and introductory books will focus on it much more than they should.
C is full of traps, but it is a simple language which gives you full control on what is going on with your programs. However, it is difficult to master. You will need something more elaborated than a simple tutorial which will be half full of things you probably already know.
I definitely recommand K&R's book if you want to learn the language correctly. Be sure to grab the second edition.
I agree with James' comment, though I would recommend looking over the first paragraphs of a web based tutorial.
Though they're not the best for learning the language itself, you can get a feel for some trivial programs and see if they fit your brain.
The worst thing that can happen here is if you buy a book and can't use the language (for whatever reason).
As far as specific selections... I can't give you any.
As you've asked for online resources only, so here is one
http://www.cprogramming.com/tutorial/c/lesson1.html
Like Alexandre , I would also recommend K & R's book
You should check this out too:
http://www.phy.duke.edu/~rgb/General/c_book/c_book/index.html
I've looked through it, it's got some good examples and it's a good read.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Anyone know of a good statistics library for C? I'm looking for something that is commonly used and not a small project. EDIT: must be free!
gsl (http://www.gnu.org/software/gsl/) is widely available, portable, and has a lot of nice functionality.
Statistics are frequently done in other languages, but some of those languages will be callable from C. I'd recommend looking at R and Octave; the latter is an open source Matlab work-alike. Both are programming languages in their own right, but many other languages can be called from C.
In my opinion, MATLAB is a very good choice you can use for that. Here is an article on how to call MATLAB from C.
It ain't cheap. But you did not specify anything about the library being cheap or free. Plus, you are mentioning it's a big project.... :-)