



Why would someone go through the trouble of constructing an errorhandling function using variable-length argument lists? Why not justuse something like printf()?...
HELL !in upper case: i mean to be heard ;o)Compilers are good !Myself, i used TP6 and TP7 to work on dBASE V files, once a longtime ago.I was unaware of Internet Usenet world, fool of me !Today i use Internet and Html (hand coding HTML, quite a dumb)also XMLand XSLT and so on!Like any one of you...
Dear AllPlease go through the below data structure and pleaselet me know what it is exactly doing ? I am not able to understandas there are the fuction pointers used inside it which is takingthe structure as the agrument, is this a sort of link list ?typedef struct{char *Data;char *Parent;int Si...
I have a nested while. How do I go from the inner while to thebeginning of the outer while? Can this be done without using goto?while_1(){some codes herewhile_2(){if true go to the beginning of while_1}some codes here}...
Hello,The following useless code seems to compile and run, but I'm not surewhy. I turned on all the compiler warning flags, but it remains silent.[Start code]1 #include <stdlib.h>2 #include <stdio.h>34 int main (argc, argv)5 int argc; char *argv[];6 {7 (void) printf("%d\n", argc...
Dear all,I would like to find an instruction thatstops n level of my programmTypically, I have a gtk-graphical application (a game),the user asks for something (say function do_that)and something wrong happensso I would like the program to abort the current computation(end of do_that)and go back...
When you realloc for more size, it may be necessary to allocate a new block,copy memory and deallocate the old, for example if there is not enough freespace after the original block (maybe the only example ?). But, is it reallynecessary to _copy_ bytes ? When in a virtual memory environment (off...
I know that passing printf() too few arguments, or arguments of the wrongtype invokes UB. However, what about passing too many arguments, if theexpected arguments are of the correct type?For example:char format1[] = "foo %s bar %s baz %d";char format2[] = "foo %s bar %s no baz here";char *strvar...
Dear All,I'm having a nightmare compiling a small simple program on a LinuxFedora core 2 platformthe program goes like thisin file mathtest.c#include <math.h>#include <stdio.h>int main(void){printf("%s%d\n","The value of sin(3) is: ", sin(3));return 0;}I'm compiling the abo...
Hi All:Is there any reason for declaring functions as static in a header fileif that header file is going to be included in several other files? Thecompiler throws a warning for every such function declared but notcalled in the source file. Here is what I heard someone mention:The functions are...
Anyone have some code to help me understand how I can convert a givenhex string, say "," into a struct ofthis form:struct uniqueid {ulong32_t word1;ulong32_t word2;ulong32_t word3;ulong32_t word4;};Thanks very much.-Ross...
Hey Guys im new to this forumi m not very much perfect in Cbuti can stand overmy prob is thati m looking out for code in C ifpossible Linux Based or logic so that i can code for the following.1.Specific URL blockinglike i want URLS to se allowed uptill certaindepth only.2.Peer to Peer applicatio...
