excellent setjmp/longjmp tutorials [closed] - c

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Hi I'd like to read good tutorials on setjmp/longjmp in C. It'd be better if there're examples which are real rather than artificial.
Thanks.

It's not really a tutorial as such, but the libpng documentation describes how the library uses setjmp/longjmp to do error handling.

The book "C interfaces and implementation" explains the concept well and implements a usable "exception" simulation in C using these constructs. The code for it (chapter 4) is freely available online here.
Edit: also see this SO thread

Then you should read Advanced Programming in the UNIX(R) Environment (2nd Edition) Here's the sample you're looking for http://my.safaribooksonline.com/0201433079/ch10lev1sec15 (just a preview)

Related

Open source ANSI C99 parser? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm interested in playing around with adding some language features on top of C and I'm trying to find a good open source parser that I could fork to play with making grammar changes, but I'm not having any lucky just yet. Does anyone know of a good "standalone" parser that would be amenable to modification in this way?
If you're writing it in Python, you can use pycparser. It's a fully compliant C99 parser licensed under the 3-clause BSD license.

Example code for blowfish encryption [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I need to encrypt a char* string in C using blowfish or twofish in Windows.
I can't find a straight forward solution for that.
I don't want to install something like OpenSSL; I need it be a standalone as possible.
Unfortunately Googling for C code results in C# and C++ code.
Can anyone give me a straightforward function for encryption/decryption?
Have you taken a look at "https://www.schneier.com/twofish-download.html" on Bruce Schneier web site? He has reference implementations, as well as optimized implementations of the algorithm. It's been a few years since I looked at it, but you might find it useful.

Where to download the open source language of C? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I want to learn how C is interpreted,
anyone knows where to download it?
http://www.thefreecountry.com/compilers/cpp.shtml
I found that in about 10 seconds using Google. You can too.
A good basic compiler suitable for getting an intro to the subject and including sources is tinyc. It is capable of being used in a similar manner as an interpreter, too (unlike GCC et al).
http://gcc.gnu.org/releases.html
Try this:
http://en.wikiversity.org/wiki/C
and this:
http://gcc.gnu.org/

Please, help to find source with examples by glib [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I've looked for a lot of sites but didn't find any examples by glib. I've seen only discription types and functions...
Perhaps do you know a good source?
PS. Thanks for your answers! =)
Here's a tutorial, a little old but still applicable: http://www.ibm.com/developerworks/linux/tutorials/l-glib/
Here's a tutorial on the GObject part of GLib: http://www.arbingersys.com/2009/07/missing-gobject-tutorial-sample.html
Also check out the excellent book 'Foundations of GTK Development' by Andrew Krause, it has a chapter on GLib: http://www.gtkbook.com/
The tests from the glib source code may be usefull!You should try those!

BASE24 tutorial or learning material [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Does someone know where I can find a tutorial or material relating to Base24? I'm referring to Base24 the product by ACI. My understanding is that they use a programming language called 'TAL' which has similarities to Cobol and C.
I've searched the net and I have only found job opportunities for Base24 developers but hardly any learning resources.
Cheers
TAL stands for "Transaction Application Language" and is supported by HP.
There's a programmer's guide here and a reference manual here.
I googled for base24 programming and the second hit was this http://2020ok.com/books/13/a-guide-to-using-aci-worldwide-s-base24-es-on-z-os-34513.htm

Resources