libraries

Java out.println() how is this possible?

I've seen some code such as: out.println("print something"); I tried import java.lang.System; but it's not working. How do you use out.println() ? ...

Importing libraries in Eclipse programmatically

Hi, Is there a way I could put a library (Jar file) into an Eclipse project programatically? Up to now I've managed to do an external reference to it programatically using IPath path = new Path("C:\\myfolder\\mylibrary.jar"); libraries.add(JavaCore.newLibraryEntry(path, null, null)); //add libs to project class path tr...

Convert C function to Objective C or alternative way to include C library?

Background: I'm new to Objective-C and I've never touched C before. I'm trying to include a C library in my iPhone/iPod Touch project and I could not successfully compile the library's source code using the included instructions, so I've resorted to including the .h and .c files in Xcode. The library is for Hebrew Dates and correspondin...

Different ways to specify libraries to gcc/g++

I'd be curious to understand if there's any substantial difference in specifying libraries (both shared and static) to gcc/g++ in the two following ways (CC can be g++ or gcc) CC -o output_executable /path/to/my/libstatic.a /path/to/my/libshared.so source1.cpp source2.cpp ... sourceN.cpp vs CC -o output_executable -L/path/to/my/libs ...

Insight into how things get printed onto the screen (cout,printf) and origin of really complex stuff that I cant seem to find on textbooks

I've always wondered this, and still haven't found the answer. Whenever we use "cout" or "printf" how exactly is that printed on the screen?. How does the text come out as it does...(probably quite a vague question here, ill work with whatever you give me.). So basically how are those functions made?..is it assembly?, if so where does th...

How to link pnglite library in c?

Hi, I installed from kubuntu's package management this handy pnglite library. It contains just one header file "pnglite.h" and one object file "pnglite.o". I have found out where those files are, but I don't know how to link them. I'm using netbeans, but don't know how to link them in there. Also I don't understand how to link them at c...

Link failure with either abnormal memory consumption or LNK1106 in Visual Studio 2005.

Hello, I am trying to build a solution for windows XP in Visual Studio 2005. This solution contains 81 projects (static libs, exe's, dlls) and is being successfully used by our partners. I copied the solution bundle from their repository and tried setting it up on 3 similar machines of people in our group. I was successful on two machin...

Android adding external libraries to project

I have a project that I would like to add external libraries to (and have them packaged with the application) but I am not sure it is happening. I read on this link: http://developer.android.com/intl/fr/guide/appendix/faq/commontasks.html how to, but they do not show up in any of the /data/data/project directories. Does anyone know h...

Advice for keeping large C++ project modular?

Our team is moving into much larger projects in size, many of which use several open source projects within them. Any advice or best practices to keep libraries and dependancies relatively modular and easily upgradable when new releases for them are out? To put it another way, lets say you make a program that is a fork of an open sourc...

Looking for a Python IDE with good support for libraries (Twisted).

I'm looking for a Python IDE that can help me easily locate and manage and use the libraries on my system (Ubuntu). Specifically Twisted. Code completion is important including the symbols I import. (I've so far had a look at PyDev as well as OpenKomodo, but while both offer code completion for default Python concepts, I wasn't able t...

Parsing CArchive (MFC classes) files in Ruby

I have a legacy app that seems to be exporting/saving files with CArchive (legacy MFC application). We're currently refactoring the tool for the web. Is there a library I can look at in Ruby for parsing and loading these legacy files? What possible libraries could I look into? Problems with the file format according to XML serializati...

How can I create an Assembly program WITHOUT using libraries?

Hello. I've literally only just started looking to learn Assembly language. I'm using the NASM assembler on Windows Vista. Usually, when I begin to learn a new language, I'll copy someone else's Hello World code and try to understand it line-by-line. However, I'm finding it suprisingy difficult to find a Hello World program that doesn...

Linux cc compilation of library in directory within project?

My directory structure looks like the following: -xmllib -libxml++-1.0.a -main.cc ..and I issue the command: cc -lstdc++ -L./xmllib -llibxml++-1.0.a main.cc But then it tells me that it can't find the binary for the library...even though I issued the command from the root directory. /usr/bin/ld: cannot find -llibxml++-1.0.a ma...

Replacement for PHP's __autoload function?

I have read about dynamically loading your class files when needed in a function like this: function __autoload($className) { include("classes/$className.class.php"); } $obj = new DB(); Which will automatically load DB.class.php when you make a new instance of that class, but I also read in a few articles that it is bad to use thi...

How do I tell mod_perl2 to find my Perl modules?

I just installed my system with Oracle 64-bit Linux5.4 running Apache Server version: Apache/2.2.3 and mod_perl 2. Now, I have my Perl libraries set in a specific path: /my/perl/libs and I have adjusted my httpd.conf to compensate for this (I added the below): SetEnv MY_LIBS /my/perl/libs and in my CGI programs I'm setting my envi...

Error closing R commander when package rgl is loaded

library(ca) # Loading required package: rgl library(Rcmdr) # R Commander starts # When trying to close R Commander window Error in unloadNamespace("rgl") : name space 'rgl' is still used by: 'ca' What is the suggested way to close R Commander in such a situation? Thank you ...

JSP Type resolve issues with Java Tag Libraries

Hello everybody, I'm trying to get the Tag Libraries Tutorial http://java.sun.com/products/jsp/tutorial/TagLibraries15.html from sun working. If deploying the .war File in Tomcat 6.0.20, I'm just getting two kind of errors on each launch: org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: ...

Using Monotouch with Google .NET APIs

I am using Mike Bluestein's article, http://mikebluestein.wordpress.com/2009/09/27/using-monotouch-with-the-net-library-for-the-google-data-api/, to build an application that communicates with the google APIs. When I try to add references to my project, the imported projects say "incompatible target framework: v2.0". I can change versi...

details on the following Natural Language Processing terms ?

Named Entity Extraction (extract ppl, cities, organizations) Content Tagging (extract topic tags by scanning doc) Structured Data Extraction Topic Categorization (taxonomy classification by scanning doc....bayesian ) Text extraction (HTML page cleaning) are there libraries that i can use to do any of the above functions of NLP ? dont ...

Location of various javax.xml.* packages within the Java 6 SDK.

Alright, so recently I was using Notepad++ for all of my programming needs, but I've started using Eclipse for larger-scale Java projects now. I decided to pick up an old project of mine which used various classes within the "javax.xml.*" namespaces. When I was compiling and running the program with Notepad++ it worked just fine, howev...