Search Results

Search: Posts Made By: dark_knight
Forum: Programming 11-19-2008
10,108
Posted By dark_knight
Yeah thanks, I could check for some errors that...
Yeah thanks, I could check for some errors that may occur.



I know know that some signals are not catchable. I only care for the catchable ones.
This is a small exercise, I know it doesn't...
Forum: Programming 11-19-2008
10,108
Posted By dark_knight
I think i got it
If i define the array of handlers that i save as


void (*hnd[32])();
and i call it as


hnd[i]();
it works!
Forum: Programming 11-19-2008
10,108
Posted By dark_knight
Signal catching
Hi!
I want to catch all signals that my program receives print their name and then execute the default handler.
Can you help me on that?

I've tried the following code:


#include <stdio.h>...
1,824
Posted By dark_knight
Number of *.txt files which have over n lines?
Can you help me please?
I know that
wc -l *.txt gives you the number of lines in each file. But how can i count the files that have over n lines?
26,378
Posted By dark_knight
thanks a lot
thanks a lot
26,378
Posted By dark_knight
integer expression expected error
I'm a beginner so I might make beginner mistakes.
I want to count the "#define" directives in every .C file
I get the following errors:

./lab1.sh: line 5: ndef: command not found
./lab1.sh:...
1,778
Posted By dark_knight
shell problem
Hello!
Can you please help me on a lab at school:
I have to to write a shell program which reads all .C files from the current directory and prints for each file how many '#define' directives it...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 02:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy