I complied and linked a very simple .c file, a.c :
---
#include <stdio.h>
int main() {
char* eee[][100] = {
"aaa",
"bbb"
};
}
===
and I used these two steps to compile and link it
---
gcc -c -o b.o b.c
ld -o z b.o
===
the error was...
I am using fedora 10.
When no software was installed, I found that there are
- /usr/lib/libtcl8.5.so,
- /usr/lib/libtk8.5.so.
But I searched / , and I can not find any header file for tcl/tk (such as tcl.h).
Why? Because if there are library files for tcl/tk, it means I can use tcl...
Fedora 10 is shipped with tcl/tk 8.5.3.
But I need to use a software OMNET++, which needs tcl/tk8.4.0. So I decide to install tcl/tk8.4.0 on fedora10.
The steps I took was : ( my home is /home/julian )
for tcl
1. extract tcl8.4.0 to ~/program/tcl8.4.0
2. enter the unix subdirectory, and...
Hello,
I know that in X window programming, if I know the ID of a particular window, I can manage it. For example, I can resize that window by using
---
XResizeWindow(display, win, 200, 300);
===
So my question is, how to get the window ID?
Particularly, when I know the PID of a program, how...
For example, If I know the PID(4184) of a ``SciTE'' process, and now it is overlapped by other windows. Then how can I bring that SciTE window to the top of the desktop? (That is, ``in front of'' any other window, at the same time becoming an active window)
My system is Fedora8(x86_64), with...
If a process is started by ``system'', e.g
---
system "konsole --geometry 650x650+100+0 --workdir /home/julian &";
===
How do we get the PID of this process?
thanks in advance.
I can not find the way to edit my posted article. Is that possible, and how?
One more question : why timelocal does not have a class name going before it? If a subroutine does not has a class name going before it, then is it still a method to a particular (common) class or it is not a method at...
I think maybe terminator is the thing I am looking for, thanks.
But, please, geirendre, several more questions :
Have you used terminator before?
Seen from the snapshot of terminator, the window was deficed into several panes, each for a konsole window. Are these panes spread side by side or...
hello,
I am using Fedora8 and konsole in gnome.
I used to open four konsole windows on the gnome desktop, and drag them to four proper positions.
I wonder if it can be configured for the system to automatically put each new opened konsole window at a particular pre-defined position?
Can...
My platform is WinXP, activePerl 5.10.0. Please see the following program
---
use strict;
use Time::Local;
sub main {
my $t1=Time::Local->timelocal(0,0,12,4,9,108);
my $t2=timelocal(0,0,12,4,9,108);
print "t1 is [$t1]\n";
print "t2 is [$t2]\n";
}
&main;
===
The question is : t1 and t2 is...
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.