Astronet Поиск по астрономическим сайтам English Russian
       
        Точная форма слов   О проекте   Сайты   Справка
Поиск по:jet.sao.ru   - Поискать по всем серверам
На этой странице приведены все страницы сервера jet.sao.ru ,которые мы индексируем. Показаны документы 1641 - 1660 из 5951.

В начало ] Пред. | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | След.В конец ]

Упорядочить по: URL  |  дате изменения
1641. Piping
. Next: plot.c Up: Program Listings Previous: sig_talk.c . Three modules make up a program that pipes output to a graphdrawing package, gnuplot To Run this system you must have gnupolt installed. plot.c . plotter.c . externals.h . Dave.Marshall@cm.cf.ac.uk . Wed Sep 14 10:06:31 BST 1994
[ Сохраненная копия ]  Ссылки http://jet.sao.ru/hq/sts/linux/book/c_marshall/section2_22_25.html -- 2.3 Кб -- 02.10.2012
Похожие документы

1642. sig_talk.c
Next: Piping Up: Program Listings Previous: signal.c . sig_talk.c --- Example of how 2 processes can talk */ /* to each other using kill () and signal () */ /* We will fork() 2 process and let the parent send a few */ /* signals to it`s child */ /* acc sig_talk.c -o sig_talk on SUNS */ /* c89 sig_talk.c -o sig_talk on DECS */ #include stdio.h #include signal .h void sighup (); /* routines child will call upon sigtrap */ void sigint (); void ...
[ Сохраненная копия ]  Ссылки http://jet.sao.ru/hq/sts/linux/book/c_marshall/section2_22_24.html -- 3.3 Кб -- 02.10.2012
Похожие документы

1643. signal.c
. Next: sig_talk.c Up: Program Listings Previous: fork.c . #include <signal.h> main() { signal(SIGINT, SIG_IGN); /* * pause() just suspends the process until a * signal is received. */ pause(); } . Dave.Marshall@cm.cf.ac.uk . Wed Sep 14 10:06:31 BST 1994
[ Сохраненная копия ]  Ссылки http://jet.sao.ru/hq/sts/linux/book/c_marshall/section2_22_23.html -- 2.0 Кб -- 02.10.2012
Похожие документы

1644. fork.c
Next: signal.c Up: Program Listings Previous: fork_eg.c . ... Each command and sorresponding arguments are put in a args array */ /* execvp is called to execute these commands in child process */ /* spawned by fork () */ /* c89 -o fork fork.c */ #include stdio.h main() { char buf [1024]; char * args [64]; for (;;) { /* * Prompt for and read a command . */ printf( Command : ); if (gets( buf ) == NULL) { /* * Strip whitespace. ...
[ Сохраненная копия ]  Ссылки http://jet.sao.ru/hq/sts/linux/book/c_marshall/section2_22_22.html -- 4.7 Кб -- 02.10.2012
Похожие документы

1645. fork_eg.c
. Next: fork.c Up: Program Listings Previous: list_c.c . /* fork_eg.c --- simple eg of fork in UNIX */ main() { int return_value; printf("Forking process\n"); fork(); printf("The process id is %d and return value is %d\n",getpid(),return_value); execl("/bin/ls/","ls","-l",0); printf("This line is not printed\n"); } . Dave.Marshall@cm.cf.ac.uk . Wed Sep 14 10:06:31 BST 1994
[ Сохраненная копия ]  Ссылки http://jet.sao.ru/hq/sts/linux/book/c_marshall/section2_22_21.html -- 2.2 Кб -- 02.10.2012
Похожие документы

1646. list_c.c
... list_c.c - list C realted files ie .c .o .h files */ /* c89 list_c.c -o list_c */ # include sys/types.h # include sys/dir.h # include sys/param.h # include stdio.h #define FALSE 0 #define TRUE !FALSE extern int alphasort(); char *rindex( char *s, char c); char pathname[MAXPATHLEN]; main() { int count ,i; struct direct ** files ; int file_select(); ( char *) getwd(pathname); ...
[ Сохраненная копия ]  Ссылки http://jet.sao.ru/hq/sts/linux/book/c_marshall/section2_22_20.html -- 3.2 Кб -- 02.10.2012
Похожие документы

1647. list.c
... list.c - C version of a simple UNIX ls utility */ /* c89 list.c -o list */ /* need types.h and dir.h for definitions of scandir and alphasort */ # include sys/types.h # include sys/dir.h /* definition for getwd ie MAXPATHLEN etc */ # include sys/param.h # include stdio.h #define FALSE 0 #define TRUE !FALSE /* prototype std lib functions */ extern int alphasort (); /* variable to store current path */ char ...
[ Сохраненная копия ]  Ссылки http://jet.sao.ru/hq/sts/linux/book/c_marshall/section2_22_19.html -- 3.2 Кб -- 02.10.2012
Похожие документы

1648. cdir.c
. Next: list.c Up: Program Listings Previous: print.c . /* cdir.c program to emulate unix cd command */ /* cc -o cdir cdir.c */ #include<stdio.h> /* #include<sys/dir.h> */ main(int argc,char **argv) { if (argc < 2) { printf("Usage: %s <pathname>\n",argv[0]); exit(1); } if (chdir(argv[1]) != 0) { printf("Error in \"chdir\"\n"); exit(1); } } . Dave.Marshall@cm.cf.ac.uk . Wed Sep 14 10:06:31 BST 1994
[ Сохраненная копия ]  Ссылки http://jet.sao.ru/hq/sts/linux/book/c_marshall/section2_22_18.html -- 2.2 Кб -- 02.10.2012
Похожие документы

1649. print.c
... **********************************************/ #include stdio.h #include stdlib.h /* ANSI Standard only */ int verbose = 0; /* verbose mode (default = false) */ char *out_file = print.out ; /* output filename */ char *program_ name ; /* name of the program (for errors) */ int line_max = 66; /* number of lines per page */ main(int argc , char * argv []) { void do_file ( char *); /* print a file */ ...
[ Сохраненная копия ]  Ссылки http://jet.sao.ru/hq/sts/linux/book/c_marshall/section2_22_17.html -- 5.2 Кб -- 02.10.2012
Похожие документы

1650. lowio.c
... lowio.c ********/ #include fcntl.h #include stdio.h #define PERMS 0600 /* r,w permission owner only (octal no.)*/ void inputtext ( char * buf , int fd); void display ( char * buf , int fd); main () { char buf [ BUFSIZ ]; int fd1 , fd2 , t; if (( fd1 = creat ( iotest , PERMS)) == -1) { printf ( Cannot open file with creat\n ); exit (1); } inputtext ( ...
[ Сохраненная копия ]  Ссылки http://jet.sao.ru/hq/sts/linux/book/c_marshall/section2_22_16.html -- 3.0 Кб -- 02.10.2012
Похожие документы

1651. bitcount.c
... binary counting exampple -counts bits set to 1 in an 8 bit number */ /* acc -o bitcount bitcount.c on SUNS */ /* c89 -o bitcount bitcount.c on DECS */ #include stdio.h unsigned char bitcount ( unsigned char ); /* prototype */ main() { unsigned char i8, count ; int i; printf ( Enter number (0 - 255 decimal)\n ); scanf( %d , i); if (( i 0 ) || (i ...
[ Сохраненная копия ]  Ссылки http://jet.sao.ru/hq/sts/linux/book/c_marshall/section2_22_15.html -- 2.7 Кб -- 02.10.2012
Похожие документы

1652. queue.c
... Note UNIX would clear the dynamically allocated memory */ /* when the program ends */ /* */ /* queue.c */ /* Demo of dynamic data structures in C */ #include stdio.h #define FALSE 0 #define NULL 0 typedef struct { int dataitem; struct listelement * link ; } listelement ; void Menu ( int * choice ); listelement * AddItem ( listelement * listpointer , int data ); listelement * RemoveItem ( ... NULL) { while (listpointer -> link != ...
[ Сохраненная копия ]  Ссылки http://jet.sao.ru/hq/sts/linux/book/c_marshall/section2_22_14.html -- 4.9 Кб -- 02.10.2012
Похожие документы

1653. malloc.c
. Next: queue.c Up: Program Listings Previous: static.c . #include <stdlib.h> /* using ANSI C standard libraries */ #include <malloc.h> main() { char *string_ptr; string_ptr = malloc(80); } . Dave.Marshall@cm.cf.ac.uk . Wed Sep 14 10:06:31 BST 1994
[ Сохраненная копия ]  Ссылки http://jet.sao.ru/hq/sts/linux/book/c_marshall/section2_22_13.html -- 2.0 Кб -- 02.10.2012
Похожие документы

1654. static.c
. Next: malloc.c Up: Program Listings Previous: Makefile . #include <stdio.h> void stat(); main() { int counter; /* loop counter */ for (counter = 0; counter < 5; counter++) { stat(); } } void stat() { int temporary = 1; static int permanent = 1; (void)printf("Temporary %d Permanent %d\n", temporary, permanent); temporary++; permanent++; } . Dave.Marshall@cm.cf.ac.uk . Wed Sep 14 10:06:31 BST 1994
[ Сохраненная копия ]  Ссылки http://jet.sao.ru/hq/sts/linux/book/c_marshall/section2_22_12.html -- 2.2 Кб -- 02.10.2012
Похожие документы

1655. Modular Example
. Next: main.c Up: Program Listings Previous: ptr_arr.c . We list here three C modules that comprise of the large program example. The Makefile is also included. main.c . WriteMyString.c . header.h . Makefile . Dave.Marshall@cm.cf.ac.uk . Wed Sep 14 10:06:31 BST 1994
[ Сохраненная копия ]  Ссылки http://jet.sao.ru/hq/sts/linux/book/c_marshall/section2_22_11.html -- 2.4 Кб -- 02.10.2012
Похожие документы

1656. ptr_arr.c
. Next: Modular Example Up: Program Listings Previous: power.c . #define ARRAY_SIZE 10 /* Number of characters in array */ /* Array to print */ char array[ARRAY_SIZE] = "012345678"; main() { int index; /* Index into the array */ for (index = 0; index < ARRAY_SIZE; index++) { (void)printf( "&array[index]=0x%x (array+index)=0x%x array[index]=0x%x\n", &array[index], (array+index), array[index]); } return (0); } . Dave.Marshall@cm.cf.ac.uk . Wed Sep 14 10:06:31 BST 1994
[ Сохраненная копия ]  Ссылки http://jet.sao.ru/hq/sts/linux/book/c_marshall/section2_22_10.html -- 2.3 Кб -- 02.10.2012
Похожие документы

1657. Системные вызовы и взаимодействие с UNIX. Хрестоматия по программированию на Си
... Функция match описана в главе Текстовая обработка . /* описание формата wait() */ char cmd[256]; /* буфер для считывания команды */ #define MAXARGS 256 /* макс. количество аргументов */ char * arg [MAXARGS]; /* аргументы команды */ char *fin, *fout; /* имена для перенаправления ввода/вывода */ int rout; /* флаги перенаправления вывода */ ... p = '\0'; /* временно */ code = strcmp(name, evstr); *p = '='; /* восстановили */ return code==0 ? ... Си в UNIX . ...
[ Сохраненная копия ]  Ссылки http://jet.sao.ru/hq/sts/linux/book/bogatyrev_c_unix/gl_6_10.shtml -- 23.5 Кб -- 02.10.2012
Похожие документы

1658. SCORPIO: Long-slit
SCORPIO long-slit gallery. Here some spectra obtained on the 6m telescope with SCORPIO in long-slit mode. ... The object 0204+06 (R=19.5 mag) was observed in September, 23 2001. ... Texp=2x300 sec . Setting slit on the object . ... Subtraction of night-sky lines . Spectra energy distribution in the central object . The object Z2210+06 (R=19.7 mag) was observed in September, 24 2001. ... Spectra energy distribution in the object . ...
[ Сохраненная копия ]  Ссылки http://jet.sao.ru/hq/lsfvo/devices/scorpio/galleries/gal_long.html -- 3.0 Кб -- 02.10.2012
Похожие документы

1659. Make macros
Next: Running Make Up: Writing Larger Programs Previous: Creating a makefile . We can define macros in make - they are typically used to store source file names, object file names, compiler options and library links. They are simple to define, e.g. : . where (SOURCES: .c = .o) makes .c extensions of SOURCES .o extensions. ... PROGRAM) : $(OBJECTS) - makes a list of dependencies and targets. The use of an internal macros i.e. $@ . ... full target name of current target. $< . ...
[ Сохраненная копия ]  Ссылки http://jet.sao.ru/hq/sts/linux/book/c_marshall/section2_17_6.html -- 3.0 Кб -- 02.10.2012
Похожие документы

1660. Текстовая обработка. Хрестоматия по программированию на Си в Unix
... h main(){ int c ; while( ( c = getchar ()) != ... 1 : 0; /* OK : FAIL */ } /* ЛИШНЯЯ БУКВА */ static int superfluous ( uchar * word /* слово для коррекции */ , uchar *s /* эталон */ ){ register int i,j,k; int reply; register len = strlen( word ); for(i=0 ; i len ; i++){ /* генерим слова , получающиеся удалением одной буквы */ k=0; for(j=0 ; j i ; j++) version [k++]= word [j]; for(j=i+1 ; j len ; j++) version [k++]= word [j]; version [k]='\0'; if( eqi( ... Си в UNIX . ...
[ Сохраненная копия ]  Ссылки http://jet.sao.ru/hq/sts/linux/book/bogatyrev_c_unix/gl_7_5.shtml -- 23.4 Кб -- 02.10.2012
Похожие документы

В начало ] Пред. | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | След.В конец ]

Rambler's Top100 RFBR Яндекс цитирования