ctor as protected434 (8/1/2005 5:53:47 AM) comp.lang.c++ Hi can I define constructor as protected?? if yes than what are the implications and what is the diff bet defining the ctor as protected and public Mayur ... MJ
EOF in C335 (7/4/2005 11:39:38 AM) comp.lang.c Hi I m using getchar() fun. I want to give the EOF from the console and then check it inside the prog wether its a EOF or not how can I check it .... what input shall i give Mayur ... MJ
Linked list in C436 (7/1/2005 8:57:47 AM) comp.lang.c Hi I have written a prog for reversing a linked list I have used globle pointer Can any one tell me how I can modify this prog so that I dont have to use extra pointer Head1. When I reverse a LL using the recur... MJ
memory delete problem330 (6/28/2005 10:57:35 AM) comp.lang.c Hi I have created a prog for link list I am addig a node, displaying the LL contents, reversing the LL and deleting the LL In the delete() if I use free I am getting memory exception I have used malloc in the a... MJ
Regardng algo book137 (6/22/2005 6:08:15 AM) comp.lang.c++ Hi I am searching for the algo book "The Algorithm Design Manual" by Steve S. Skiena If any one can tell me where can I get the free soft copy of this book It will be rally useful for me Regards MJ ... MJ
Regardng algo book1037 (6/22/2005 5:56:06 AM) comp.lang.c Hi I am searching for the algo book "The Algorithm Design Manual" by Steve S. Skiena If any one can tell me where can I get the free soft copy of this book It will be rally useful for me Regards MJ ... MJ
pointer229 (5/3/2005 3:16:07 PM) comp.lang.c++ hi what is the difference between the following const char * p ; // data is constant // Line 1 char * const p ; // pointer is constant // Line 2 but I have doubt in the following statement char ... MJ
What is the alternative to switch statement238 (5/1/2005 8:22:57 AM) comp.lang.c Hi We can use the switch statement, or if else statement instead of switch One more method is there which can replace the switch using the function pointer or the array of function pointer. If any one has any ... MJ
Returning "stack" variables from a function621 (4/27/2005 8:17:18 AM) comp.programming Is it okay to return a local datastructure (something of type struct) from a function, as long as it does not have any pointer fields? I think it is a bad idea, but one of my colleagues does not seem to think ... usenet23(151)
static member function1318 (4/29/2005 2:04:52 PM) comp.lang.c++ Hi I have a basic doubt about structure. I have a class in which a I have declared a static funtion class A { public: static a; static f(); }; Can I access the the static function without creating a inst... mayurdjain(29)
whats wrong with this pointer?519 (5/2/2005 3:06:42 AM) comp.lang.c Hi, I am getting a SEG V at line 12 and just can't figure out why? Can you help please? This is a simple program to replace spaces with '_' in string 1 #include 2 3 int main() 4 { ... dmedhora(60)
Error with the following code322 (5/2/2005 11:20:50 AM) comp.lang.c++ I am having some issues with the following code, basically what I am trying to do, is familierise myself with compiler warnings, when I try to access a private or protected class function. Here is the errors ... Materialised(63)
signature929 (5/24/2005 11:02:13 AM) comp.lang.c++ Hello !! I do know that the name and the parameter are includet in a methode signature but what abot the return type are then also includet in the signature. //Tony ... johansson.andersson(272)
1/2 =?1826 (6/24/2005 1:39:20 AM) comp.lang.c Hi there, i'm a newbie in c. I'm using Turbo C 2.0 compiler. Here is my question: main(){ int a=1, b=2; float c; c=a/b; printf("%f", c); /* why i get "0.0000"? */ c = (float)(a/b); printf("%f", c); /* why i... hyu163(2)
memory delete problem330 (6/28/2005 10:57:35 AM) comp.lang.c Hi I have created a prog for link list I am addig a node, displaying the LL contents, reversing the LL and deleting the LL In the delete() if I use free I am getting memory exception I have used malloc in the a... mayurdjain(29)
Complexity of Finding the longest simple path in a graph524 (7/30/2005 4:59:12 PM) comp.theory Hello, I'm a French researcher in the field of Petri Nets. For short, PNs are a tool to model discrete event systems. The behavior of a PN can be formulated into a reachability graph : a directed, connex graph... tomnab(2)