03-29-2014
And what happens when there are something like 300+ functions, each one from 10-1000 lines long?
All in one file?
8 More Discussions You Might Find Interesting
1. Programming
in the header file orville.h, outside of the #ifdef #endif , there is the following
#define JOB_CONTROL /* support job-control */
As you can see, the JOB_CONTROL macro has no value associated with it. Here is what I go when I ran grep on the entire source code.
$ grep -iR... (6 Replies)
Discussion started by: frequency8
6 Replies
2. UNIX for Dummies Questions & Answers
Hi friends,
I am not sure if perl questions can be raised here. :rolleyes:
But I have a doubt if there is a way to do "#define" in perl, like in C.
Does anyone know if it is feasible (without CPAN modules)?
Thanks,
Srini (7 Replies)
Discussion started by: srinivasan_85
7 Replies
3. Programming
Hello,
I would like to conditionaly comment in my code source some fields from arrays. So I use the property ## from the #define definition.
my code:
...
#define slet /##*
#define etsl *##/
...
const T_SVT_ADLL_A653_DESC A_DESC =
{
{ slet qwerty etsl SLICING,... (3 Replies)
Discussion started by: cypleen
3 Replies
4. Programming
if i do this in C
#define NUM 1234512345
then how come i cant print it out using
int main(int argc, char **argv) {
printf("%d\n", NUM);
return 0;
}
well the result is -1219236538, why isnt it 1234512345 ? (7 Replies)
Discussion started by: omega666
7 Replies
5. Programming
Hi,
I had a head file, looks like
#define MIN_NUM 10
#define MAX_NUM 10
is there any way to get "MAX_NUM" from 10?
thanks.
peter (9 Replies)
Discussion started by: laopi
9 Replies
6. Shell Programming and Scripting
I have 7 functions those need to be executed as command line inputs, I tried with below code it’s not executing function. If I run the ./script 2 then fun2 should execute , how to initiate that function I tried case and if else also, how to initiate function from command line
if
then... (8 Replies)
Discussion started by: saku
8 Replies
7. Shell Programming and Scripting
HI
I have file A.txt
_1A
_2A
_3A
_4A
I want define all as different variable.
$1A=_1A
$2B=_2A
$3C=_3A
$4D=_4A
Now i can use any variable in my script. (3 Replies)
Discussion started by: pareshkp
3 Replies
8. Shell Programming and Scripting
Hi,
I just define the variable in script and use those script in another script but the variable not recognize.
test1.sh
#!/bin/bash
DB="test_db"
USR="test_user"
PWD="test_pwd"
HST="24.254.87.12"
test2.sh
#!/bin/bash
./test1.sh
mysql -u $USR -p $PWD -h $HST... (2 Replies)
Discussion started by: fspalero
2 Replies
TERM(7) Miscellaneous Information Manual TERM(7)
NAME
terminals- conventional names
DESCRIPTION
These names are used by certain commands and are maintained as part of the shell environment (see sh(1),environ(5)).
1620 DIABLO 1620 (and others using HyType II)
1620-12 same, in 12-pitch mode
300 DASI/DTC/GSI 300 (and others using HyType I)
300-12 same, in 12-pitch mode
300s DASI/DTC 300/S
300s-12 same, in 12-pitch mode
33 TELETYPE(R) Model 33
37 TELETYPE Model 37
40-2 TELETYPE Model 40/2
43 TELETYPE Model 43
450 DASI 450 (same as Diablo 1620)
450-12 same, in 12-pitch mode
450-12-8 same, in 12-pitch, 8 lines/inch mode
735 Texas Instruments TI735 (and TI725)
745 Texas Instruments TI745
dumb terminals with no special features
hp Hewlett-Packard HP264? series terminals
4014 Tektronix 4014
tn1200 General Electric TermiNet 1200
tn300 General Electric TermiNet 300
vt05 Digital Equipment Corp. VT05
Commands whose behavior may depend on the terminal accept arguments of the form -Tterm, where term is one of the names given above. If no
such argument is present, a command may consult the shell environment for the terminal type.
SEE ALSO
stty(1), tabs(1), plot(1), sh(1), environ(5)
troff(1) for nroff
BUGS
The programs that ought to adhere to this nomenclature do so only fitfully.
TERM(7)