Search the web
Sign In
New User? Sign Up
Programmers-Town
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 2108 - 2137 of 12634   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
2108
Make the c'tor of the class private. ... -Manish- Laugh when you can; Cry when you must...
Manish Shroff
manish_shroffin
Offline Send Email
Jul 1, 2004
7:11 am
2109
You are passing the value and trying to free the memory. But where is the address of y? You should pass the address to f(void f(int *y); ) ... From:...
Krishnan Nair
Krishnan.Nair@...
Send Email
Jul 1, 2004
7:11 am
2110
Hi There The only way to stop your class being used for inherited ( I Guess ) is to have a "Private Constructor" but then you could't create an object of the...
S Navin
navinseshadri
Offline Send Email
Jul 1, 2004
7:11 am
2111
Hi Senthil, we can stop a class from being inherited by other classes by making the constructor private!!! Regards Sarfraz ... ...
sarfraz b
bsarfraz_2000
Offline Send Email
Jul 1, 2004
7:11 am
2112
Make your constructor private.Then any other class inherting it will have run time problem provided u don't hve any friend member or u r returning reference of...
arnab_kr_ganguly
arnab_kr_gan...
Offline Send Email
Jul 1, 2004
7:11 am
2113
Srinivasa, Please let me know the compiler name nad its version. With 'gcc' (version '2.95.2') I didn't find any problem with both release and debug build....
Ujjwal Konar
ukonar@...
Send Email
Jul 1, 2004
7:11 am
2114
Plz ans. my question.Plzzzzzzzzzzzzzzzzzz......... How is it possible to insert different type of elements in stack? Stack can be described as a pointer....
abhijit_c_vc
Offline Send Email
Jul 1, 2004
7:11 am
2115
hi snethil i blv by making your base class constructor private or protected , irfan Programmers-Town@yahoogroups.com wrote: hi all, can anybody tell me, how...
bin_omair
efan_in
Offline Send Email
Jul 1, 2004
7:11 am
2116
Hi There The only way to stop your class being used for inherited ( I Guess ) is to have a "Private Constructor" but then you could't create an object of the...
S Navin
navinseshadri
Offline Send Email
Jul 1, 2004
7:11 am
2117
make ur constructor private regards Balamurali C ... From: "P. Senthil Kumar" <senthilkumar@...> Date: Mon, 28 Jun 2004 12:40:18 +0530 To:...
Balamurali Chellappan
c_balamurali@...
Send Email
Jul 1, 2004
7:11 am
2118
... Hi there The only way for your problem would be to have a "Private Constructor ( no argument )" but then you would't be able to create an object too. The...
S Navin
navinseshadri
Offline Send Email
Jul 1, 2004
7:11 am
2119
Make all constructor and copy constructor as private. for creation of objects provide a static function say Create().... this way if some class tries to...
Kishor Ahuja
kishor_ahuja
Offline Send Email
Jul 1, 2004
7:11 am
2120
error is with the line "delete x;" you are passing a const "10" in other words this memory is not allocate on heap for "10" or int y. so you are not suppose to...
Kishor Ahuja
kishor_ahuja
Offline Send Email
Jul 1, 2004
7:11 am
2121
... Hi, 2 mistakes: 1. Expected o/p is abc as for loop works from 0 to 2 (i<3) 2. Should work out fine, but one more problem is that u have created a string of...
Saikat Dutta
duttasaikat
Offline Send Email
Jul 1, 2004
7:11 am
2122
Hi all #include<stdio.h> void f(int y) { /* ==> Here 'y' is local to the function and is coming from "STACK" not from Heap and value of "y" is "10" */ int *x; ...
S Navin
navinseshadri
Offline Send Email
Jul 1, 2004
7:12 am
2123
Dear friend, I suggest you to kindly enter your details in the group's database. Its available at the following link... ...
Programmers-Town@yaho...
Send Email
Jul 1, 2004
10:45 am
2124
... hi man see following code i wrote a class MyClass which cant be inherited due to virtual inheritance of a class xlock, in construction of object all the ...
Rajaram S. Gaunker
zimbabao
Online Now Send Email
Jul 2, 2004
4:43 am
2125
try this code and tell #include<stdio.h> #include<alloc.h> void fun(int y) { int *x; x = &y; free(x); } void main() { fun(10); } amit.agrawal@... ...
Agrawal, Amit
amit_aquaboy
Offline Send Email
Jul 2, 2004
4:43 am
2126
I did not face any problem. Output was 'abc'....
Debarshi Ray
debarshi2001in
Offline Send Email
Jul 2, 2004
4:43 am
2127
gud interview questions :( -Jayant ... __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! ...
jayant M
einstienindia
Offline Send Email
Jul 2, 2004
4:43 am
2128
heap and stack ? when one does "new" operator the memory is allocated from heap ? and all function calls and local variables etc are taken care by the stack ?...
suparna
suparna69
Offline Send Email
Jul 2, 2004
4:43 am
2129
Hi All, I need to check for memory leaks in my project. I would like to replace malloc in all files of my project with macro RajAllocMem(). This macro we need...
greatraja sekar
greatraja_sekar
Offline Send Email
Jul 2, 2004
4:43 am
2130
You post exactly the same stuff in other groups. Did you get any reply? Do you know why? Most groups will NOT do your homework for you. We're here to help...
Shyan Lam
sflam108
Offline Send Email
Jul 2, 2004
4:43 am
2131
hiiii in this program u r trying to delete the address which u have not created using malloc or calloc.y is created in stack and u r trying to delete the...
premkumar_shaw
Offline Send Email
Jul 2, 2004
4:43 am
2132
Home Work???? ... __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail...
Kishor Ahuja
kishor_ahuja
Offline Send Email
Jul 2, 2004
4:43 am
2133
should have tried it. before asking !! :( -jayant ... __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! ...
jayant M
einstienindia
Offline Send Email
Jul 2, 2004
4:43 am
2134
Where does global, static, local, register variables, free memory and C Program instructions get stored? Regards Apurv...
apurv_agarwals
Offline
Jul 2, 2004
4:43 am
2135
Hi, Iam using VC++ 6.0. When I compile it in debug mode and run, it is giving "Debug assertion failed". No error in release build. Thanks. & Regards, Srinivasa...
srinivasa.bhoompalli@...
Send Email
Jul 2, 2004
4:43 am
2136
hi friends i required floowing program in c++ Design and implement using C++ a class stack of integers with appropriate constructors/destructors (if any) and...
rajashree kadam
kadamrajashree
Offline Send Email
Jul 2, 2004
4:43 am
2137
What is the Difference between arrays and linked list? Regards Apurv...
apurv_agarwals
Offline
Jul 2, 2004
4:43 am
Messages 2108 - 2137 of 12634   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help