Hi guys,
I was wondering how to run shell scripts using the tcl exec function and wait for them to finish until I can start the next command...
Long story short:
foreach i $various_Shell_Scripts {
# the commands in each $i are rather complex and long and
# I want to execute them in the...
I've tried everything, but I can output a string with a specific color assigned to it.
Is any one familiar with that?
Note that this is a tcl only script, I'm not using tk at all.
Cheers mate
Hi guys, it's been a long time...
Anyway, I'm trying to create a scrollable frame using only tk.
I tried with text widgets containing other widgets but the scrollbar associated with the text widget won't scroll if the widgets are displayed outside the text widgets.
here is my dirty code:
<code>...
Hello guys,
trying to compute the regexp for this problem, but I can't get it right.
Here is the string
the string is only composed of at maximum one of each of the following letter A, F, P, and G.
and it can include all the them (so max size is 4)
so a valid result could be
A
AG
APG
AGF
GFAP...
I'm trying to force my program to run using a different character set, will this works (I wanna use ISO-8859-1 instead of the UTF-8 by default) :
javaw -Dclient.encoding.override=ISO-8859-1
Thank you guys :)
I need a tktable.2.9.so for a SunSolaris 5.8 (Sparc)
I can't get my hand on it nor can I compile it.
I've found Tktable.so.2.6 which works but is only tktable 2.6 and some stuff are not implemented properly...
please help :)
Hello,
I'm trying to use freewrap in order to produce a standalone application.
However, I'm using Iwidgets, tktable and the math package.
I can't succeed to include them in the wrapper.
What am I missing?
Anyone familiar with that procedure?
Cheers
Hi everyone,
I know jack sh*t in fortran and I need to provide to a lib written in fortran a char * that with the fortran end of string character instead of the \0
that will only take a memset but I need to know the code of such a character.
Anyone to fill me up on this one?
ok...
In order to please my clients, I have to use the -Wall option with gcc.
But... :(
It generates sh*t loads of warnings that I do not even know what they mean...
here is a piece of my code (the type definition):
#define TYPELENGTH(TYPE,N) ((N*(sizeof(TYPE)))+sizeof(char))
/*
* Structures...
Another quick question:
I want to reverse the byte(not the bit) I already read in one buffer.
I pretty confident there is an existing C function that does that already right?
I can write one but I do not think there is any need reinvinting the wheel, innit?
say for instance I have read four...
Hello,
I usually have quite a clear view of that kind of thing but today I'm just messed up... :)
I want to make an on the fly tridimensionnal array.
so what about that
double *** stuff;
stuff=malloc(3*2*5*sizeof(double)); // for a double stuff[3][2][5]
is it gonna work?
of do I also need...
Ok...
I've a quick performance question:
how many clock cycle are required on a P4 to run a strcmp
between to char * 0xFF caracters long.
also
how many clock cycle are required to compute an (int == int) comparison.
Cheers
Ok guys,
I've been wasting 30min on that piece of code, ridiculously easy yet it does not gives me the same address....
yet it should...
I just want to understand why...
Here goes the code
void * target=NULL;
void * temporary=NULL;
// that is a pointer to a buffer (some might say array)
// of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.