Re: [c-prog] ICMP

2007-07-07 Thread Pedro Izecksohn
I want to understand why someone in my ISP configured the firewall to block ICMP. ISPs will block incoming ICMP packets to help hide the existence of their customers. It is a user-friendly feature! Every time I send an e-mail, the receiver knows my IP. Every time I visit some webpage,

Re: [c-prog] Re: clear screen c++

2007-07-07 Thread mail . mastermind
hey please tell how to clear a stream once data is written on it i am using gcc 3.0 in xp2 on a amd pc. On 7/5/07, Thomas Hruska [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] mail.mastermind%40gmail.com wrote: please suggest something other then system(cls); ;-) The POSIX alternative

Re: [c-prog] ICMP

2007-07-07 Thread Thomas Hruska
Pedro Izecksohn wrote: I want to understand why someone in my ISP configured the firewall to block ICMP. ISPs will block incoming ICMP packets to help hide the existence of their customers. It is a user-friendly feature! Every time I send an e-mail, the receiver knows my IP. Every

Re: [c-prog] Re: wipe data stream (was: clear screen c++)

2007-07-07 Thread Thomas Hruska
[EMAIL PROTECTED] wrote: hey please tell how to clear a stream once data is written on it i am using gcc 3.0 in xp2 on a amd pc. Change the subject when starting a new subject. Anyway, solution: Don't write to the stream in the first place. If you think you will need to wipe the data you

Re: [c-prog] Re: wipe data stream (was: clear screen c++)

2007-07-07 Thread mail . mastermind
i did not started new topic and i asked to clear it please tell how to clear it On 7/7/07, Thomas Hruska [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] mail.mastermind%40gmail.com wrote: hey please tell how to clear a stream once data is written on it i am using gcc 3.0 in xp2 on a amd pc.

Re: [c-prog] Re: wipe data stream

2007-07-07 Thread Thomas Hruska
[EMAIL PROTECTED] wrote: i did not started new topic and i asked to clear it please tell how to clear it On 7/7/07, Thomas Hruska [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] mail.mastermind%40gmail.com wrote: hey please tell how to clear a stream once data is written on it i am using gcc

Re: [c-prog] oop voilation

2007-07-07 Thread Brett W. McCoy
On 7/7/07, Pedro Izecksohn [EMAIL PROTECTED] wrote: I don't see how this is a violation of OOP. You are asking a public member of the base class to execute a virtualized function - virtual base class functions call the most derived function of same name and parameters. Most

Re: [c-prog] dynamic array

2007-07-07 Thread Victor A. Wagner Jr.
Thomas Hruska wrote: praveen kumar wrote: 1) how can you increase the size of a dynamically allocated arrary and statically allocated array For dynamic allocation using malloc(), use realloc(). For dynamic allocation using new, there is no equivalent but you can use 'new' and