... It appears that C-prog is not in-vulnerable to the latest virus going around. 2 things: 1) If you actually got a file attached to the email I'm replying...
... Then the OP should be using their OS's API or a ready-made wheel instead of reinventing one for uninstalling (http://support.microsoft.com/?id=140570 or...
... [snip] Operator::getoperator() needs to return a value. number::getnumber() needs to return a value. number::getoperator() needs to be defined. main should...
Hi....All, How can find loop in linked list? That means for example 5th node pointing to 2nd Node in linked list....but it will be in optimization process.......
hello people I had to implement a doubly linked list which inserts 10 elements initially in the ascending order n every further insertion is made at the middle...
Respected Sir I am final year student of B.eng (Hons) Electrical & electronic engineering. As part of final year program I have taken FUZZY LOGIC BASED SERVO...
... Have two pointers. Step through your linked list. On each step, one pointer should step one record. The other pointer should step two records. Keep...
Reply Embedded........ -Saurabh ... temperory local variable "nw" ... you returned pointer to nw ... "nw" destroyed after getnode is returned rather thean this...
... me ... equivilant ... Why do I have to define number::getoperator and Operator::getnumber? I defined only virtual function in token ,it doesn't have to...
... stat() asks the file system for the size of the file; it doesn't read the file to determine its size. So your approach looks correct to me. The only change...
Yups, there is another way of doing it , much simpler. fseek(fp, 0, SEEK_END); fileSize = ftell(fp); rewind(fp); I am not seeing my posts on c-prog so ccing...
... Because there is no non-pure virtual version of those functions otherwise. All member functions must be define somewhere in the hierarchy, and since number...
Thanks.But how will that help?though nw pointer is destroyed ,its contents r passed to the calling function..So i can still have access to the node through the...
Thanks.But how will that help?though nw pointer is destroyed ,its contents r passed to the calling function..So i can still have access to the node through the...
... here the next element's llink has to be set to t. i.e. first->llink = NULL first=t; //Insert at first position } ... In case the new element has...
hi, I am new in this group. I have installed Dev c++ in my PC. after writing a program if I compile it it is working. and then if I run it then the MS DOS...
... Isn't that annoying? Somebody at Microsoft didn't think that through. There are a couple of solutions. One is, instead of double-clicking the icon to run...
... You should learn that there is a difference between your development tools and the operating system you're using them on. You should learn how to use both...
... Almost. You didn't check the return value of stat, and you should use off_t for file_size; ... Yet worse. ... - fseek-ing to the end of a binary file may...
... True, the object of type pointer is destroyed, but the pointer _value_ it held, and which is passed back, is still valid. ... No. You're comment is like...
... I took your code into Visual C++ (2003) and it compiled and ran with no problems. Delete your data file and try again. Where in the running of the ...
hi vishal thanks for reply... Actually i got the solution in Borland C++ builder-6 Everything is readymade there...with readymade ADO components , No need of...
Hi I have some queries regarding gcc compilers. First :- What are gcc compilers. Second:- I am using Visual studio 6.0. Is it a gcc compiler, if yes how can I...
hi, GCC compilers are set of compilation tools developed by the GNU community for compiling c/c++ codes over different OS and processors. I dont have much idea...