Thank you. I finally got all working.
Type: Posts; User: pixsta
Thank you. I finally got all working.
ok. but I am not completely sure how to use it.
I want to do a sort of key-mapping. Therefore on the one hand I get the key as a const char* which I want to convert to the associated ASCII number....
Hello!
How can I convert an integer to it's associated character?
For instance the value "27" stands for the "ESC-Key", "97" stand for "a" and so on.
Thank you,
ok. at the beginning there aren't any errors but sounds do not stop (so there is just noise, because sounds are added to each other).
Hello!
I want to fade between two audio channels. First, a sound is applied to the first channel. Then, when a second sound is attached, the first channel should fade out, and the other fade in....
hello!
does someone know how to copy a subtree of an tinyxml DOM tree?
the only solution I found til now, is to iterate through all children and copy them.
thank you,
Hello!
I want to move a branch with drag&drop in a wxtreectrl.
Here is the function, that I use:
typedef struct sItemRepresentation
{
wxTreeItemId pTreeItem;
already got it working...
Hello!
I have serveral classes with static variables/methods. I want to check objects from these classes whether they are NULL or not this way:
MyClassWithStaticFunctions *x;
if (!x)...
yes, I have looked at it and forgot to mention it. Probably this one is the best choice.
Hello!
I need to make a GUI for my application and I am not sure which toolkit I should use therefor.
My requirements:
- must run under windows and should run under linux
- making widgets...
And when I compile code with "g++ -O2" on my XEON machine, is it already optimized for the processor?
hello,
how can i measure the needed resources (RAM, CPU) from a programm running under linux (something like the windows task manager, but of course as an cmd-line-tool)?
thanks,
hello,
is there something like a debug/release mode in g++ like in ms visual studio 2003?
regards,
I got the error: the parameters "Uis" are PHP specific and must be converted/parsed into PCRE options like "PCRE_CASELESS", "PCRE_UNGREEDY", ....
When I use "\s" instead of "[:space:]" I get unknown escape sequence `\s'.
here is the code I use (basically the sample code from the PCRE website):
pcre *re;
char *pattern;
const...
ok. here is a sample that works with preg_match_all but I don't get it working with pcre:
(PHP)
preg_match_all("|<A...
as I already said, I do not get my expressions working with pcre so I am search for an equivalent for preg_*.
hello,
I have many reg. expressions in a php-framework using preg_match, preg_replace und preg_match_all.
I want to port parts of the framework to c++ and therefor I also need to take over these...