473,890 Members | 1,354 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

purge like utility in c

hi .. can we design a program in c which will point out the possible
memory leaks in any given c file and fix them.... i am trying to come
with something like this but do not know where to start...

any help on where to begin would be highly appriciated
kind regards
rahul

Oct 10 '06
118 4457
Chris Dollin said:

<snip>
I don't think generic slurs like this should have a place in this
(or any other, really) newsgroup.
Generic slurs certainly have a place in, say, rec.music.class ical

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Oct 12 '06 #61
Richard Bos wrote:
jacob navia <ja***@jacob.re mcomp.frwrote:

>>tedu wrote:
>>>jacob navia wrote:
Besides, all other languages do not provide with the efficiency
of C. Coupled with a good GC, the need for destructors, and
all the associated machinery disappears. You obtain a simpler,
easier to use language, without the problems of other "OO"
stuff.

does your garbage collection close files for me too?

No, but it makes the coffee...


Well, of course it would... silly Froggie program, knows nothing about
beverages. Come back when it makes tea, as well. No, _real_ tea, not
that dishwater you serve in your country.

Richard
Froggie program?

According to a poll realized in England, 20% of the subjects of Her
Majesty the Queen would like to be French. (!!!)

In the South of France, there are so many Britons that you can
speak english in the streets...

BUT... Well, yes. They know how to make the tea better :-)

jacob
Oct 12 '06 #62
On Thu, 12 Oct 2006, Richard Heathfield wrote:
Chris Dollin said:

<snip>
>I don't think generic slurs like this should have a place in this
(or any other, really) newsgroup.

Generic slurs certainly have a place in, say, rec.music.class ical
Wrong. ``Slurs'' does have a different meaning in a musical
context, but not ``generic slurs''.

Tak-Shing
Oct 12 '06 #63
jacob navia <ja***@jacob.re mcomp.frwrote:
Richard Bos wrote:
jacob navia <ja***@jacob.re mcomp.frwrote:
>tedu wrote:

jacob navia wrote:

Besides, all other languages do not provide with the efficiency
of C. Coupled with a good GC, the need for destructors, and
all the associated machinery disappears. You obtain a simpler,
easier to use language, without the problems of other "OO"
stuff.

does your garbage collection close files for me too?

No, but it makes the coffee...
Well, of course it would... silly Froggie program, knows nothing about
beverages. Come back when it makes tea, as well. No, _real_ tea, not
that dishwater you serve in your country.

Froggie program?
Yeah, you're a frog-eater, aren't you?
According to a poll realized in England, 20% of the subjects of Her
Majesty the Queen would like to be French. (!!!)
Nowt to do with me, though. I'm not a Limey, I'm a cheese-head.
In the South of France, there are so many Britons that you can
speak english in the streets...
Works in Paris as well. Though you guys do have a funny accent. Mind
you, I've heard a Limey speak French, and that was even more hilarious.
BUT... Well, yes. They know how to make the tea better :-)
Better than most of my compatriots, too.

Richard
Oct 12 '06 #64
Tak-Shing Chan said:
On Thu, 12 Oct 2006, Richard Heathfield wrote:
>Chris Dollin said:

<snip>
>>I don't think generic slurs like this should have a place in this
(or any other, really) newsgroup.

Generic slurs certainly have a place in, say, rec.music.class ical

Wrong.
Nope.
``Slurs'' does have a different meaning in a musical
context, but not ``generic slurs''.
I was talking about generic slurs, not "generic slurs".

Can we talk about C now please?

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Oct 12 '06 #65
Hi,

<ot>

jacob navia wrote:
According to a poll realized in England, 20% of the subjects of Her
^^^^^^^
In the South of France, there are so many Britons that you can
^^^^^^^

Do make up your mind which country you are refering too. These two are not
the same. England is a constituent kingdom in the United Kingom, and
Britain is an Island (and the UK is larger than that, eg Nothern Ireland).

So, you could have the South of France filled with Scots, Welsh and so on
while 100% of those in England would never go there.

Noticable mainly due to the fact that folks in Scotland don't have quite the
same attitudes towards the 'Auld Ally' (France) as our neighbours to the
south. See:

http://www.theauldallianceparis.com/hist_auld.asp

</ot>

John McCallum
Edinburgh
Oct 12 '06 #66
John McCallum said:
[...] folks in Scotland don't have quite
the same attitudes towards the 'Auld Ally' (France) as our neighbours to
the south.
The English attitude to France is summed up nicely in Shakespeare's "Henry
V", Act V sc. ii, in which King Henry says: "I love France so well that I
will not part with a village of it".

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Oct 12 '06 #67
On Thu, 12 Oct 2006, Richard Heathfield wrote:
Tak-Shing Chan said:
>On Thu, 12 Oct 2006, Richard Heathfield wrote:
>>Chris Dollin said:

<snip>

I don't think generic slurs like this should have a place in this
(or any other, really) newsgroup.

Generic slurs certainly have a place in, say, rec.music.class ical

Wrong.

Nope.
> ``Slurs'' does have a different meaning in a musical
context, but not ``generic slurs''.

I was talking about generic slurs, not "generic slurs".
With or without the quotes, Chris Dollin is absolutely right
in saying that generic slurs have no place in any newsgroups.
Suggesting otherwise, like you did, is an implied incitement to
violate netiquette, and worse yet, you were doing this to
rec.music.class ical, which you were not a regular of and indeed
I have doubts as to whether you have read their FAQ before
typing ``rec.music.cla ssical'' above. IMHO, your action was
absolutely unjustifiable.
Can we talk about C now please?
I was talking about netiquette, which is always on-topic.

Tak-Shing
Oct 12 '06 #68
Tak-Shing Chan <t.****@gold.ac .ukwrote:
On Thu, 12 Oct 2006, Richard Heathfield wrote:
Tak-Shing Chan said:
On Thu, 12 Oct 2006, Richard Heathfield wrote:

Chris Dollin said:

I don't think generic slurs like this should have a place in this
(or any other, really) newsgroup.

Generic slurs certainly have a place in, say, rec.music.class ical

Wrong.
Nope.
``Slurs'' does have a different meaning in a musical
context, but not ``generic slurs''.
I was talking about generic slurs, not "generic slurs".

With or without the quotes, Chris Dollin is absolutely right
in saying that generic slurs have no place in any newsgroups.
Suggesting otherwise, like you did, is an implied incitement to
violate netiquette, and worse yet, you were doing this to
rec.music.class ical, which you were not a regular of and indeed
I have doubts as to whether you have read their FAQ before
typing ``rec.music.cla ssical'' above. IMHO, your action was
absolutely unjustifiable.
Look up the _other_ meaning of the word "slur".

Richard
Oct 12 '06 #69
On Thu, 12 Oct 2006, Richard Bos wrote:
Tak-Shing Chan <t.****@gold.ac .ukwrote:
>On Thu, 12 Oct 2006, Richard Heathfield wrote:
>>Tak-Shing Chan said:

On Thu, 12 Oct 2006, Richard Heathfield wrote:

Chris Dollin said:
>
>I don't think generic slurs like this should have a place in this
>(or any other, really) newsgroup.
>
Generic slurs certainly have a place in, say, rec.music.class ical

Wrong.

Nope.

``Slurs'' does have a different meaning in a musical
context, but not ``generic slurs''.

I was talking about generic slurs, not "generic slurs".

With or without the quotes, Chris Dollin is absolutely right
in saying that generic slurs have no place in any newsgroups.
Suggesting otherwise, like you did, is an implied incitement to
violate netiquette, and worse yet, you were doing this to
rec.music.clas sical, which you were not a regular of and indeed
I have doubts as to whether you have read their FAQ before
typing ``rec.music.cla ssical'' above. IMHO, your action was
absolutely unjustifiable.

Look up the _other_ meaning of the word "slur".
I am fully aware of the musical meaning (in fact I wrote to
Richard Heathfield above: ```slurs' does have a different meaning
in a musical context''); however, when ``slur'' is preceded by
``generic'', the musical meaning ceases to apply. Try searching
for +"generic slur" +music on Google. Ask your musical friends
for independent verification(s) , preferably, both music theorists
and performers.

Even if you remain unconvinced, it should be clear to you
that Chris Dollin's use of ``generic slur'' is unambiguous (in
the disparaging sense) and since Richard Heathfield is replying
to Chris Dollin's post, his usage of the term should follow that
of Chris' (otherwise it is a fallacy of equivocation).

Tak-Shing
Oct 12 '06 #70

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4433
by: Dan Caron | last post by:
I have to create a stored procedure to purge "x" # of records from a table. I have two tables (script below): Schedule ScheduleHistory I need to purge records out of ScheduleHistory. The problem is that the # of records that needs to be "kept" is dynamic, and stored in the Schedule table. So all records in ScheduleHistory should be purged, except for the most recent "x" number of records.
1
2279
by: Heather | last post by:
Is it possible to automatically purge records after a six month period in Microsoft Access 97?
5
2311
by: Diffident | last post by:
Hello All, I have written a webform which is by default derived from "Page" class. I have coded another utility class with few methods and an object of this class is instantiated from the webfom class. Methods inside the utility class set few global variables which act as mediums of persistence to hold data. Now my question is all works fine during my initial request and all the global variables are set correctly, but during later...
5
5409
by: Jeff | last post by:
We are using .Net and the wsdl Utility to generate proxies to consume web services built using the BEA toolset. The data architects on the BEA side create XML schemas with various entities in separate files for ease of maintainability. These schemas are all part of the same namespace. When defining a web service that access more than one of these entities, the wsdl file generated by BEA contains multiple schema elements with the same...
1
5968
by: huyuhui | last post by:
The following is a question of LOAD utility. Question: How does the DB2 enforce table check constraints for data added to table with the LOAD utility? A. With the BUILD phase of LOAD B. With the SET INTEGRITY statement C. With the DELETE phase of the LOAD D. With the UPDATE CONSTRAINTS statement Answer is A
27
2166
by: Neil | last post by:
Anyone have a recommendation for a good inexpensive or free utility for developing table schemas.
3
2060
by: kababoom | last post by:
Hi All, I am new to PLSQL. I am posting this query. Wat i need : to purge and export oracle table data which is more than 1 month old onto a csv file Thks for any advice :)
1
1478
by: kenderkin17 | last post by:
I have an older Database of personel records that I need to completely purge, but keep all of the current macros data and relationships. Is there a command line or code that will simply remove all of the stored data in the input fields for the DB while maintaining the integrity of the previous commands and macros? I understand that you may need to know all of the previous macros and things of that nature. If there is a simple command that...
0
2040
by: hsheboul | last post by:
Thanks to Markus for pointing me to all the Apache stuff http://bytes.com/topic/html-css/answers/876342-automating-web-site-template My Web site is hosted on a shared Linux hosting, that runs the Apache 2.2 I got multiple static "utility" files: CSS, JavaScripts, Impages, etc. In order to maintain a coherent and consistent structure, I put all these kind of utility files in one directory hierarchy. However, this directory structure might...
0
9980
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11236
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10926
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10468
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9643
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8018
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5856
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6064
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4278
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.