Programming :: Finding A Open-source Unicode String Library For C++ (or C)?
Jan 3, 2011Is there a good open-source Unicode string library for C++ (or C)?
View 4 RepliesIs there a good open-source Unicode string library for C++ (or C)?
View 4 RepliesI get an error when typing perl build.pl: Code: Cannot locate Unicode/String.pm in @INC
View 11 Replies View RelatedI am making a program to reverse a string
Code:
#include<stdio.h>
int main ()
{
int i,j;
[Code].....
I have a file in which I have string called "already there" in some line of it. I want that if the string is present enter some loop..
like
if(( grep "already there" $file is true ))
then
--
--
fi
But the thing is when I make grep it gives the whole line in which this string is present and gives some error: if[ grep "already there" file ]: command not found. I am very new to shell scripting.
Is there any equivalent of WaitFOrMultipleObjects on Linux?
I was finding a cross Platform library that allow you to run another program from your C++ application. I found POCO but it does not support functionality like WaitFOrMultipleObjects for both (linux and windows). I tried boost Process but its not official till now.
is there a way to debug my library files from DDD? Basically a way to pass the paths to DDD so I can view the source etc. I'm having a segmentation nightmare, which only crops up about every 10 or so starts, I know it's in one file in a library. I could move the source file into my general code to debug, but am sure there's a way in DDD.
View 1 Replies View Relatedanybody used or configured KOHA (an open source Integrated Library System) on windows Xp or vista
View 1 Replies View RelatedWhat is the most well know Open Source Bussiness Intelligence application?
View 1 Replies View RelatedWhere do i found source code of c library files in ubuntu.
View 2 Replies View RelatedLooking for a Open Source music composition editor similar to Sibelius. I found and settled on Rosegarden. Sound card is Creative Audigy 2 Platinum EX. I also have a midi keyboard which I would like to use with rosegarden. After downloading rosegarden, I found out in order to use the MIDI sequencer, I have to compile and install a real time kernel.
I finally got my kernel configured and installed, recompiled all the video/Ethernet drivers etc (after about a dozen tries ) Now on to the issue... As root, I can run the JACK audio server with realtime priority (as it is needed by Rosegarden) with the command
jackd -R -dalsa &
it starts up and seems to run. Then as a regular user, I try to connect to the JACK audio server using the qjackctl application. Qjackctl loads, but cannot seem to connect to the jack server, giving me the message "UNABLE TO CONNECT TO SERVER AS CLIENT"
HOWEVER, using the same procedure above as root, I can connect to the jack audio server with qjackctl. Rosegarden will start as a regular user but will also not connect to the JACK audio server (therefore: no sound or midi sequencer) Ive tried running Rosegarden as root (I didnt like having to do that), but get a similar error.
Through some googling, I�ve found that JACK clients (qjackctl, rosegarden etc.) must be executed by the same user who launched the JACK server. -- no problem...Except I cannot run a realtime application as a regular user. I read online that regular users can start realtime applications using the LSM module (whatever that is, I couldn�t find all that much).
how do I start the jack audio server in realtime mode as a regular user? if that is not possible...Is there a way to configure JACK so that it is started by root, but allows clients launched by regular users to connect?
I keep finding myself needing to type Unicode characters from the Latin alphabet such as � or �. is there any other way to do it other then using the character map application or cut and paste. It would be nice to use the alt - number pad technique from windows.
View 1 Replies View RelatedI'm getting the following error Kpackagekit when I'm trying to refresh the packages, so I can manually check if there are any new updates. I have totally uninstalled the software, and reinstalled, but this has no effect. The following is what I see in a seperate popup.
Error Type:
Error Value: coercing to Unicode: need string or buffer, exceptions.SystemError found
File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 2216, in
main()
File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 2213, in main
run(args, options.single)
[Code]...
I am running the 64bit version of 10.04 on a dual core 2GB acer laptop.
copy string a to string b and change string b with toupper() and count the chars
View 3 Replies View RelatedI wish to start development for the open source projects. And going to start working on some project in C/C++ and shell/python scripts. I wish to know the best suitable development environment for this purpose? What about eclipse? I will be interacting with git, make and other open source utilities.
View 2 Replies View RelatedI refuse to use .net for any of my apps since I hate using proprietary code that wont work on other platforms without using emulation.
However, I do like how all the hard work is done for you and you can spend more time implementing, then actually coding stuff like socket classes, date/time classes and other wrappers to make the complex C/C++ code easier to use and tie with each other I have a custom library that I've been adding to as I need stuff, but then I got thinking, there must be something out there with everything I need to code applications, that is easy to use and more reliable and efficient then anything I'd ever make.
Does such framework exist?
I'm starting a open source project which involves web based Java, JBoss application server and JBoss Seam framework. I'm a student and I work on the project in my free time for training. Every one who want to take a part in this hobby project in his free time is invited.
Send me e-mail.
[URL]
I will send you development information
Just a heads up. I just found out about a free online book called Producing Open Source Software. It's great.
I just used a trunk checkout and the directions here to make myself an epub version:
[url]
EDIT AGAIN: don't download the epub version from here:
[url]
If you get it there, then the table of contents doesn't work. Make the epub version yourself, and you have a table of contents.
I would like to ask you something about open-source and linux. Is it possible to make a commercial application for linux and sell it compiling it with linking to open-source libraries without altering them and consequently without allowing download of the source code and without making the application itself free?
View 3 Replies View RelatedI'm a .net programmer, and I'm looking to get more into open source software. I'd be happy to join a project, and hopefully learn something new. Where can I start?
View 1 Replies View RelatedGoogle directed me to the ones written in .Net/C# etc. Any ideas on the ones written in C/C++?
View 14 Replies View RelatedI was wondering what would be a good, no-cost way to distribute software that I wrote? And what would be a good way to make it free/open source?
View 3 Replies View RelatedI was wondering, what would be a good, open-source file format for a beginner in the field, like me, to start editing sound files? This file format would have to be well documented, preferibly open-source, lossless and, most of all, convertible to more popular file formats, such as mp3 or wav maybe. I would like to design my own sound effects through directly editing the binary sequence of a sound file. I imagine this editing would have the purpose of adjusting the voltage variations of the sound device's output in time. It would be perhaps something like a PC-controlled signal generator. I'm thinking I might be able to do this in linux with something like
Code:
$ dd if=mysound.raw of=/dev/audio
But then, which book or resource woule be a good and through explenation of the relationship between the bit sequence in mysound.raw and the signal function generated in the output of, say, my computer's sound card.
Looking for an open source solution to convert pdf file to excel document.
View 1 Replies View RelatedBut what is the easiest way to figure out the Unicode number of a character when you already have the character?
For instance, I pasted this character here from a PDF:
I've been trying to understand pthread in C a little better. So I made a simple program that takes in a string from the command line and creates a thread to print the string. I've looked online and copied the basic concepts but there are something things I'm confused about. The programs works just fine, but I have questions. Here's what I have so far.
[Code]....
One thing I'd like to know is why the 3rd argument in the pthread_create function which is my SendMessage function needs to be typecasted to a void pointer and then send the address of the function. Also as for the 4th argument, I would see typecasting to void pointer in some of the pthread examples I saw online, but in my case I'm passing a char pointer, would this be correct? In which case would I ever want to pass a void pointer?
Do I need a pthread_exit(NULL) in my main and in the SendMessage function? If so, why? I added the sleep() function so that I could let the pthread_exit function in my SendMessage function execute first. I simply saw that the online examples on pthread had pthread_exit() in both locations.
I wrote a java program that writes strings to a file. The strings contain foreign language characters. When I run the program in Windows, the output file shows the foreign characters. However, when I attempt the same operation in Linux, the output file shows a white question mark in a black background instead of the foreign characters. The same Linux system could display the foreign characters if I copy the output file from Windows to Linux. I tried to create the output file using gedit that my program would then add additional strings to and chose Unicode-32 for encoding but still the same problem.
What could I do to get the program to display the foreign language characters from output text file?
I am working on an application that will convert English text into equivalent Indian language text. Since Unicode is the standard, I will be using it. In most of the western languages each code-value directly refers to the glyph index and placing the code-values side by side will give the required display. This one to one mapping is not possible in Indian languages where rendering syllables is required rather than rendering just consonants and vowels. Many of the complex characters are made up by combining several unicode values.
My question here is: How Linux renders this Unicode text correctly? More specifically, what package is used? I believe in Windows they use Uniscribe for rendering.I believe there will be an operating system library for handling the text rendering. Or do I need to write my own rendering engine? How programs like Firefox, GEdit shows unicode text? Do they also have proprietary engines for correct rendering?
Say I want to write some of the more exotic Unicode characters to a file, what's the proper way to do it? when decimal integers are involved, we use %d for floating point we use %f and for hex we use %p.What's the equivalent marker for Unicode values that C understands?
View 3 Replies View RelatedI'm reading about shared, static, and dynamic libraries. What is SDL? Is it static, shared, or dynamic?
I always thought a library would be a lot of .h and .cpp files compiled separately into .o files and then if you compiled your own program you could use the -l parameter to link the library and it was all compiled together. Now I'm not so sure.
I don't even see any SDL .cpp files in my system anywhere. All I have are lots of SDL .h files in /usr/include/SDL and I don't really understand the code in them.
I'm making a wild guess here: SDL is a shared library. SDL itself is NOT compiled into my program, therefore SDL must be on any system my program tries to run on. When I compile and link SDL all it needs is the header files to know what SDL function and objects it can use. And then on every system it uses an already compiled SDL shared library thingy somewhere.
So... where is that part of SDL? All I can find are header files.
I'm thinking the advantage of shared libraries is that someone could say update SDL on their own system and take advantage of the new features without having to download new executables with the new version of SDL compiled into them for every program that uses SDL.
So if I'm making an editor and a game engine and they both use a lot of the same .cpp and .h files that I wrote and I'm tired of updating one and then the other and I need to turn them into a library, then a shared library might be kind of a silly solution. I could just make a static library. Right? Because it's not SDL. Nobody else is ever going to use this library.
I have a set of lines as ahown below:
Leon went to school
Leon came back from school..
Leon had dinner...
I have to replace the line containing "dinner" by a single string LUNCH...