library

Redirecting printf?

How do you redirect the output of printf to, for example, a stream or something? I have a gui app that links with a console library. The library makes repeated calls to printf. I need a way to intercept those and have them processed by a function. Also, creating a console is not an option. Im using Windows, btw. Edit - Also I was hoping...

No need to extend class/library in codeigniter

I would like to check if my assumption about codeigniter is right ? We would normally extend a class when we are trying to include more functionality to the core, such as MY_Controller extends Controller, MY_Model extends Model etc... But for example, if we are in the checkout library retrieving some checkout info(eg, product_id), we c...

how to overcome this exception

i am using a third part SDK with my java application.The providers of sdk provided me exe file that i installed and one java project.I installed the exefile. Now when i run the code i get a dialog box showing error Excepting a absulut path for library AKSSDK.dll No AKSSDK in java.library.path could not load load library AKSSDK how do ...

How to get the linker in gcc to recognize OpenCL library functions?

I'm getting my feet wet with OpenCL. I'm sure this problem is not specific to OpenCL, however. the top of my main file looks like: #include <stdio.h> #include <stdlib.h> #include <math.h> #include <OpenCL/opencl.h> // some code cl_device_id device_id; //declaring a device id gives no errors int err = clGetDeviceIDs(NULL, CL_DEVICE_T...

open source language translation libraries and dictionarys

Which open source language translation libraries and dictionaries do you know? What is your experience with this libs/dictionaries? ...

How to script a google search without google license key?

Hello all, I'm looking at 'pygoogle' python library for google search, call from my python script. But google doesn't give out license key anymore, and looks like pygoogle needs license key to work. Does anyone have suggestions of libraries to use for scripting web searches? Languages doesn't matter. It can be in python, perl, lisp, fo...

library or algorithm to compute viewable GPS satellites

Does anyone know of a library or algorithm (whether freely or commercially available) to compute viewable GPS satellites for a particular location? Even better, does anyone know of a library or algorithm to compute the footprints of GPS satellites given almanac or ephemeris data? Thanks, Jacob ...

Using additional C++ libraries in Xcode

There is a possibility in MS Visual Studio to go to Tools->Options->Projects and solutions->VC++ Directories and to add header and binary files of additional C++ libraries, and compiler uses them for every project if they are needed. How to achieve such result in Xcode 3.2? Thank you! ...

C++ Graphic Drawing Library

Hi, Does anyone know what's the best graphic drawing library for C++, I want a lib that can draw basic shapes and can make image editing, gradients and vector or 3D would be great to. The windows drawing functions are complicated and are not very advanced. Thank's. ...

GraphViz and ASP.NET

I woud like to generate graphs using GraphViz and display them on an ASP.NET webpage. What is the best library to use for this? ...

How to do a Makefile using a specific libraries in different paths?

Hi, The issue I'm having is that I need to compile my code using specific libraries that are in different path locations. I need to use -lncurses library from ./ramdisk/libs path, the problem is that this directory also cointains a version of lthr library that I don't want to be linked. The makefile is pulling both libraries from the s...

C++ Linker Question -- Dynamic and Static library dependency.

I have a Library X that depends on Library Y. I have an App A that calls functions from X. Assume that Library Y is only available as a static library. If both X and Y are statically linked to App A, everything works fine. However, I want X to be a dynamic (shared) library. Currently, having A link Y statically doesn't work as the...

how to avoid writing main() too many times in C ?

Let say I have 5 small piece of codes in C. Every time I want to test each piece of code, I have to repeat this process: #include <stdio.h> int main() { // code piece go into here return 0; } Is there way that I don't have to do this 5 times? I'm using Code::Blocks, that means I have to create 5 different projects, which I beli...

XStream-like XML serialization for Jython objects?

Jython is great for creating custom data structures on need basis, but how to store their instances? Apparently it's possible to do it via java.io.Serializable, but ObjectStreams are not human readable; I would prefer XML. I naïvely tried XStream to serialize a simple object created in Jython and translated to Java with PyObject's __toj...

integrating java with C#.net

Is following thing possible?if yes how? I have some core functionily already implemented in java.Now i want to create a GUI for it. I am finding it difficult to make a GUI in java using swing.I can build a GUI easily in C#.net. So i was thinking if it was possible to create a library in java that i can access frm my C# code. Shorty: my...

Send and receive messages via (libpurple) messenger protocols

I had an idea that would require me be able to send and receive messages via the standard messenger protocols such as msn, icq, aim, skype, etc... I am currently only familiar with PHP and Python and would thus enjoy a library which I can access from said languages. I have found phurple (http://sourceforge.net/projects/phurple/) for php...

C++ library for making GUIs

Hi, I am looking for a simple C++ library for making GUIs. I tried wxWidgets and GTK, but I think both are complex. I want your opinion on what to use. Should I learn wxWidgets or you know a better one? Thanks. ...

library interposition with dlsym

I'm writing an interposition library to track the usage of some library functions in libc, such as open(), close(), connect(), etc. It works generally well on most of the applications. However, when I try it with PHP, using PHP's MySQL module in particular, none of the function calls to libc inside this module is been tracked (so no conn...

Want to show Thumbnail Images on client client

Hi, In the below picture there are some thunmnail and large picture, when user click on the thumbnail, I want to show large picture like in the in picture there is big image. I am looking for some javascript library/solution to accomplish this. Thanks ...

Is there a regular expression dll or library that I can use for a language that does not have one?

Hi, I program in Visual DataFlex. Are there any libraries that I can use to give my programs regular expression matching? It could be ActiveX, or COM, or maybe even just a DLL. ...