How to implement continuations? * Cinema Guy 18:18 Add Comment Edit Question I'm working on a Scheme interpreter written in C. Currently it uses the C runtime stack as its own stack, which is presenting a... Read More
What are the barriers to understanding pointers and what can be done to overcome them? * Cinema Guy 23:17 Add Comment Edit Question Why are pointers such a leading factor of confusion for many new, and even old, college level students in C or C++? Are there any ... Read More
Does anyone have experience creating a shared library in MATLAB? * Cinema Guy 11:47 Add Comment Edit Question A researcher has created a small simulation in MATLAB, and we want to make it accessible to others. My plan is to take the simulati... Read More
String.indexOf function in C * Cinema Guy 08:00 Add Comment Edit Question Is there a C library function that will return the index of a character in a string? So far, all I've found are functions ... Read More
Passing multidimensional arrays as function arguments in C * Cinema Guy 15:01 Add Comment Edit Question In C can I pass a multidimensional array to a function as a single argument when I don't know what the dimensions of the array ... Read More
C/C++ library for reading MIDI signals from a USB MIDI device * Cinema Guy 02:51 Add Comment Edit Question I want to write C/C++ programs that take input from a MIDI device. The MIDI device connects to my PC using a USB connector. ... Read More
Choosing a static code analysis tool * Cinema Guy 14:19 Add Comment Edit Question I'm working on a project where I'm coding in C in a UNIX environment. I've been using the lint tool to check my source ... Read More
Good STL-like library for C * Cinema Guy 09:30 Add Comment Edit Question What are good libraries for C with datastructures like vectors, deques, stacks, hashmaps, treemaps, sets, etc.? Plain C, please, an... Read More
Rockbox audio format * Cinema Guy 08:02 Add Comment Edit Question How do you specify a callback for rb->pcm_play_data() ? Answer I've never worked with Rockbox, but I did some snooping aro... Read More
Why am I getting a malloc: double free error with realloc()? * Cinema Guy 04:06 Add Comment Edit Question I've tried to write a string replace function in C, which works on a char * , which has been allocated using malloc() . It... Read More
GTK implementation of MessageBox * Cinema Guy 16:27 Add Comment Edit Question I have been trying to implement Win32's MessageBox using GTK. The app using SDL/OpenGL, so this isn't a GTK app. I hand... Read More
How to use the C socket API in C++ on z/OS * Cinema Guy 05:13 Add Comment Edit Question I've been having issues getting the C sockets API to work properly in C++. Specifically, although I am including sys/socket.h, ... Read More