Linguistics and such1931 (3/24/2005 8:03:34 PM) comp.lang.c Hi, I'm currently writing up a report and had a couple of question I want to clarify: Is it 'c' or 'C'? In C++ an instance of a class is an 'Object'. Is an instance of a struct also an 'Object' in c/C? Is th... slick_mick_00(105)
initializer element is not constant1552 (1/17/2005 5:10:35 AM) comp.lang.c Hi All, I have the following C code in a header file, outside of any functions: const float X = 50; const float Y = 100 * X; But, when compiling, I get an error: initializer element is not constant Why is ... scott4239(37)
Environment Variables4129 (8/4/2004 4:59:40 AM) comp.lang.c Hi, What is the difference between accessing environment variables through int main(int argc,char *argv[],char *envp[]) and extern char **environ; Is there any advantage in any of the above two? ... v_nithya_v(2)
<CR> into string1339 (8/2/2004 9:16:48 AM) comp.lang.c Hi, I would like to insert which is 0x0D into a string at certain position, any string function that I can use ? Thanks. ... magix(76)
quick help for weird problem.427 (7/30/2004 10:50:32 PM) comp.lang.c Can someone tell me why I'm having this problem: When I select drink 5 and deposit too little money, there's a problem with the 'difference' variable. Try to deposit $.80 instead of the full $.85 and see what ... one2beatyou(7)
Remove a file over the network on a Sun631 (6/22/2004 1:42:15 PM) comp.lang.c Hi I have a C application on a Windows PC who shoul delete files on a Sun which is in the same network. I try this with the 'remove' command, e.g. remove(\\Sun\Temp\File.jpg). But this doesn't work. The return... hstoessel.list(17)
Is it possible sentence?1429 (6/22/2004 11:48:38 AM) comp.lang.c Hi, I have a question regarding to string variable. Please look at below example. ------------------------------ #define STR "ABC" char *testStr testStr = STR; ------------------------------ I think above e... dreamydh(1)
What is the purpose of such a function ?1847 (6/22/2004 9:04:41 AM) comp.lang.c Hi! What is the purpose of such a function ? int function(void) { return 1; } It seems to be completely equivalent with int function() { return 1; } Is its behaviour different on a C versus a C++ ... mihai11(140)
Structure padding.1324 (6/21/2004 2:19:46 PM) comp.lang.c Folks, This structure padding issue is bothering me now, could not locate a satisfactory answer on clc, so here it goes... I have a structure, given below: typedef struct { int flag; char ... coderaptor(7)