Forum: C++ Jun 24th, 2008 |
| Replies: 6 Views: 459 But this is very inelegant. I dont want to have same copies of a single function. Moreover, apple and mango are just examples, my real program contains 5 copies. |
Forum: C++ Jun 24th, 2008 |
| Replies: 6 Views: 459 If I make the printAll function virtual, but then how will the base class access that the derived classes' static sumall variable.
I'm using the statics because I want to keep the track of the... |
Forum: C++ Jun 24th, 2008 |
| Replies: 6 Views: 459 Hello all,
I have a base class called reuse_pattern and two derived classes apple_reuse_pattern, mango_reuse_pattern.
Actually, the derived classes are only there to keep track of some static... |
Forum: C++ Apr 20th, 2008 |
| Replies: 8 Views: 1,052 Thank you very much for this enlightening information. I didn't know this much of detail about memory allocation.
Do you mean that every single program, however small, lets say just a cout, has a... |
Forum: C++ Apr 20th, 2008 |
| Replies: 8 Views: 1,052 Thanks for your enlightening answers.
@Ancient Dragon: You probably mean memory manager as the compiler has no control over dynamic memory.
Thank you Ancient Dragon and Salem for help!! |
Forum: C++ Apr 19th, 2008 |
| Replies: 8 Views: 1,052 Yest I got similar results though the values keep changing due to memory address randomization but the differences between addresses are all the same.
Here comes all the address listings:... |
Forum: C++ Apr 19th, 2008 |
| Replies: 8 Views: 1,052 Hello,
Attached are two codes.
Please compile them and check the output.
The question I have is that I am unable to understand why is it that the memory location allocated to tempmemcheck are... |
Forum: C++ Mar 12th, 2008 |
| Replies: 1 Views: 822 I am reposting this thread because the last time I posted it no one understood it and some people with a desire to help me posted solutions that didnt solve my problem. This actually caused the post... |
Forum: C++ Mar 7th, 2008 |
| Replies: 5 Views: 560 Let me reiterate my problem. My problem is not the infinte loop. I know that it will occur no matter what becasue the code is buggy.
My problem is only that when I keep the line 15 commented, only... |
Forum: C++ Mar 6th, 2008 |
| Replies: 5 Views: 560 Thank you very much for trying to solve my problem. Probably I was not clear in mentioning my problem. I only have the problem with strange behaviour of cout. When I comment line 15, the output is... |
Forum: C++ Mar 6th, 2008 |
| Replies: 5 Views: 560 I am having a strange problem. Please help me.
I have a code which tries to solve the queen's problem. It is wrong so please dont bother yourself with the code unless you are interested.
The... |
Forum: Assembly Mar 5th, 2008 |
| Replies: 0 Views: 1,387 I'll tell what I know and then I will ask questions. Please correct me where I am wrong
Suppose I have two cores in my CPU or 2 processors. What i know is that it is the duty of the operating system... |
Forum: Assembly Nov 27th, 2007 |
| Replies: 2 Views: 693 Hi I am coding in x86 DOS. When I write a code and assemble it and run it in debug, it works perfectly fine but if I run i as a standalone application, it works for small 3-4 line code but not for... |
Forum: Java Nov 22nd, 2007 |
| Replies: 1 Views: 1,877 Hello Friend,
Please answer my question.
I am behind a firewall and proxy server.
I enter the proxy password on firefox and when connect to any site that uses java, the java virtual machine also... |
Forum: Assembly Nov 5th, 2007 |
| Replies: 2 Views: 2,337 I am using 32 bit AT&T version of assembly on linux. Someone please tell me how to convert an integer stored into one ot the registers to a string that can be printed. e.g. 0x00066 should print as... |
Forum: Storage Oct 16th, 2007 |
| Replies: 2 Views: 713 http://en.wikipedia.org/wiki/File_Allocation_Table
I suppose this might answer my own and any similar question |
Forum: Storage Oct 16th, 2007 |
| Replies: 2 Views: 713 I have a floppy. It was storing names in 8.3 form I renamed one of the files to 20.3 on Windows xp and opened it on linux both acknoledge that name .Please tell me what is the file system. I thought... |
Forum: Assembly Oct 16th, 2007 |
| Replies: 8 Views: 1,549 How do I begin i.e. First of all I should know how to play a .wav file using C that would tell me how to play it in assembly. But I dont know anything about .wav files and how to play them. So could... |
Forum: Assembly Oct 15th, 2007 |
| Replies: 8 Views: 1,549 I will read the sectors using INT13 BIOS and the disk already has a FAT file system. |
Forum: Assembly Oct 15th, 2007 |
| Replies: 8 Views: 1,549 Hello Could someone Please give me an idea as to how should I try to play .wav file on an x86 using assembly language in Real mode at the computer startup. Basically at the time when OS has not yet... |
Forum: Windows NT / 2000 / XP Apr 29th, 2006 |
| Replies: 10 Views: 29,642 go to pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=305 |