Since 4/25/2012 10:50:36 PM, tom.viza2 has written 3 articles and participated in 48 conversations. tom.viza2 signature: tom.viza2
tom.viza2's articles:
Items(3) /1
dereferencing function pointer types1228 (7/1/2008 6:11:03 PM) comp.lang.c Hi I have program1.c: typedef int (*fn_t)(int); int fn( int f ){ return f; } int main( void ){ fn_t f= fn; return f( 0 ); } and program2.c typedef int (*fn_t)(int); int fn( int f ){ return f; }... viza
Mailer flag 'o'1037 (6/25/2008 4:54:54 PM) comp.mail.sendmail Hi all, I'm trying to get sendmail to deliver to Dovecot LDA ('deliver'). It works like this: FEATURE(`local_procmail',`/usr/local/libexec/dovecot/deliver', `deliver -d $u')dnl But I would like to use th... viza
configuration file location1130 (6/23/2008 2:29:39 PM) comp.mail.sendmail Hi In the configuration readme it says to do: m4 ${CFDIR}/m4/cf.m4 config.mc > config.cf but (unless I'm being stupid) it seems to have been deemed too obvious to say where to put the resulting file. sendm... viza
How to fwrite plain text file?1248 (6/27/2008 4:41:16 AM) comp.unix.programmer Hi, all, I want to use fwrite() to just write plain text file. Can I do this with fwrite? My code such like the following: int main(int argc, const char* argv[]) { FILE *f; const char c[] = "h... cholyjoe(6)
can u help me writing a program????527 (6/27/2008 6:27:24 PM) comp.lang.c hi...everybody....can u plz give me any idea on how to write a program which cud give me the total possible combinations of a number or word. ... munitech4u(1)
DMA in C536 (6/27/2008 7:47:01 PM) comp.lang.c Hi all, I'm wondering if it's possible to request a data transfer from one device (given its device name and its offset and the transfer length) to another file w/o reading in the data. I could do a fread() f... spamtrap7(71)
(OT) Battery question2742 (6/28/2008 9:59:47 AM) comp.lang.c Hi all, Sorry this is a bit off-topic... but I do write a good amount of C code on my laptop so there is a link... Basically, it's a question about laptop batteries. About ten days ago, I switched off my lapt... spamtrap7(71)
Lies of Billy Gates of Microcrap1823 (6/28/2008 5:40:28 PM) comp.lang.c Can someone please translate this MS lie language into ordinary logical English language. I need a "long double" data type that is capable to hold bigger numbers than the normal "double" type can hold. Has MS... long-double(1)
Global variables.225 (6/28/2008 7:38:18 PM) comp.lang.c Let's say I've a header file foo.h containing a global variable a. /* foo.h */ #ifndef foo_h #define foo_h #include extern int a; #endif Now, suppose I want to access this variable in main.c, then I need t... Broli00(348)
Order of execution question4815 (7/1/2008 2:08:31 AM) comp.lang.c Let's say I'm freeing a linked list like the following.. while( current != NULL ) { name* temp = current; current = current->next; free( temp ); } When current = current->next; executes and upda... cdalten(976)
what's the meaning of 64 in fopen64842 (7/2/2008 12:35:56 AM) comp.lang.c what's the meaning of the number 64 in the function fopen64?!!! i know fopen64 used to open big files but what 64 refer to and how much the usual fopen can open - pls explain ... 3D.v.World(26)
what 64 mean in fopen64?1237 (7/2/2008 12:57:36 AM) comp.unix.programmer pls explain someone told me that it can manipulate files size 2^64 bytes does that mean that i can open a file size (2^64)/ 1024 / 1024 / 1024 GB = 1.7179e10 GB !!!!!! ... 3D.v.World(26)
initializing a local variable using a function538 (7/2/2008 8:52:49 AM) comp.lang.c Hi all, This code compiles: int func1() { return 3; } void func2() { int a = func1(); } In func2 the initialization of 'a' is done by calling to func1(). Is this ok accroding to ANSI C? (I thougt this i... israelu(152)