473,882 Members | 1,695 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 4440
In article <Pi************ *************** ****@scorpio.go ld.ac.uk>,
Tak-Shing Chan <t.****@gold.ac .ukwrote:
You did not ``point out'' that it was humour. Rather, you
asked three loaded questions, one of which is ``have you come
across the concept named "humour"'', insinuating that I am
humour-impaired.
Either you didn't know it was humour, in which case you *are*
humour-impaired, or you did know it was humour, in which case your
comments were stupid.

-- Richard

Oct 12 '06 #91
On Thu, 12 Oct 2006, Chris Dollin wrote:
Tak-Shing Chan wrote:
>On Thu, 12 Oct 2006, Chris Dollin wrote:
>>Frederick Gotham wrote:

I'm the _inventor_ of Usenet, of course I'm in such a position!

Hell's teeth, what kind of egomaniac are you to claim that you invented
Usenet? Three minutes with Google is enough to refute it. Bah.

I think Frederick is trying to demonstrate his point that
without smiley or the like it is very easy to misinterpret the
``I'm the __inventor__ of Usenet'' joke.

In that case he failed: it was obvious that he was joking, which is
why I responded as I did - using the same signalling technique to
show that it was humour.
I failed to catch your signal---it was somehow lost in
translation. But I did catch Frederick's, because he used
underscores to mark the false bits.

Tak-Shing
Oct 12 '06 #92
On Thu, 12 Oct 2006, Richard Tobin wrote:
In article <Pi************ *************** ****@scorpio.go ld.ac.uk>,
Tak-Shing Chan <t.****@gold.ac .ukwrote:
> You did not ``point out'' that it was humour. Rather, you
asked three loaded questions, one of which is ``have you come
across the concept named "humour"'', insinuating that I am
humour-impaired.

Either you didn't know it was humour, in which case you *are*
humour-impaired, or you did know it was humour, in which case your
comments were stupid.
You have to take into account that English is not my first
language. If I tell you a Chinese joke, and you failed to get
it, would you be insulted if I call you a humour-impaired person?

Tak-Shing
Oct 12 '06 #93
In article <Pi************ *************** ****@scorpio.go ld.ac.uk>,
Tak-Shing Chan <t.****@gold.ac .ukwrote:
You have to take into account that English is not my first
language. If I tell you a Chinese joke, and you failed to get
it, would you be insulted if I call you a humour-impaired person?
If I spoke excellent Chinese, and I said I was "fully aware" of the
meaning of the relevant word, then you would probably be right to call
me humour-impaired.

But if this is just a misunderstandin g, I apologise for criticising
you.

-- Richard
Oct 12 '06 #94
On Thu, 12 Oct 2006, Richard Tobin wrote:
In article <Pi************ *************** ****@scorpio.go ld.ac.uk>,
Tak-Shing Chan <t.****@gold.ac .ukwrote:
> You have to take into account that English is not my first
language. If I tell you a Chinese joke, and you failed to get
it, would you be insulted if I call you a humour-impaired person?

If I spoke excellent Chinese, and I said I was "fully aware" of the
meaning of the relevant word, then you would probably be right to call
me humour-impaired.
It is entirely possible that one could speak ``excellent
Chinese'' and become ``fully aware of the meaning of the relevant
word'' but still managed to miss the joke. It does not
necessarily imply humour-impairment---it could mean that his/her
Chinese enculturation is incomplete, which makes it difficult to
grasp the subtle nuances of some signifiers (of jokes).

In fact, even within the domain of Chinese jokes, some jokes
works in mainland China but not in Taiwan (and vice versa),
regardless of the fact that they speak the *same* language
natively. I think culture is more than just language.
But if this is just a misunderstandin g, I apologise for criticising
you.
Apologies accepted. I should also apologise for taking this
subthread far too seriously, to the point where it becomes
offensive to some of you.

Tak-Shing
Oct 12 '06 #95
On Thu, 12 Oct 2006, Frederick Gotham wrote:
Tak-Shing Chan posted:
>>Hell's teeth, what kind of egomaniac are you to claim that you invented
Usenet? Three minutes with Google is enough to refute it. Bah.

I think Frederick is trying to demonstrate his point that
without smiley or the like it is very easy to misinterpret the
``I'm the __inventor__ of Usenet'' joke.


The other reason was to invite the question: What difference does it make if
I _didn't_ invent Usenet -- that is, who should nominate those who _are_ in a
position to give lessons on proper Usenet usage?
I guess you just need to stick around. I envisage that 10-20
years from now you could well be the respected regular
prescribing netiquette lessons to newcomers.
This newsgroup has seen its fair share of bullshit from newcomers, regulars
and trolls alike.
Is this a joke? :-) <-- a smiley here

Tak-Shing
Oct 12 '06 #96
Tak-Shing Chan <t.****@gold.ac .ukwrites:
On Thu, 12 Oct 2006, Richard Tobin wrote:
>In article <Pi************ *************** ***@scorpio.gol d.ac.uk>,
Tak-Shing Chan <t.****@gold.ac .ukwrote:
>> Humour is OT here. Please try rec.humor.

So I was right, you are a troll.

If netiquette reminders are seen as trolls then I think I
am in the wrong group.
It was a joke, ok? It was no more or less topical than the portion of
the thread leading up to it.

--
Keith Thompson (The_Other_Keit h) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Oct 12 '06 #97
On Thu, 12 Oct 2006 12:15:21 +0100, in comp.lang.c , Tak-Shing Chan
<t.****@gold.ac .ukwrote:
>On Thu, 12 Oct 2006, Richard Heathfield wrote:
>>
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.
You really do have no sense of humour do you? Richard was making a
joke.
>Suggesting otherwise, like you did, is an implied incitement to
violate netiquette,
Bollocks. Thats the sort of nonsensical idea that makes people afraid
to send birthday cards in case they're accused of ageism.
I was talking about netiquette, which is always on-topic.
No you weren't, you were being pompous.
--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
Oct 12 '06 #98
On Thu, 12 Oct 2006 14:52:53 +0100, in comp.lang.c , Tak-Shing Chan
<t.****@gold.ac .ukwrote:
>On Thu, 12 Oct 2006, Richard Tobin wrote:
>In article <Pi************ *************** ***@scorpio.gol d.ac.uk>,
Tak-Shing Chan <t.****@gold.ac .ukwrote:
>> Humour is OT here. Please try rec.humor.

So I was right, you are a troll.

If netiquette reminders are seen as trolls then I think I
am in the wrong group.
It was a joke. If you choose to interpret it otherwise then you're
either a fool or a knave. I have a small bet placed on which.
--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
Oct 12 '06 #99
On Thu, 12 Oct 2006 17:41:30 +0100, in comp.lang.c , Tak-Shing Chan
<t.****@gold.ac .ukwrote:
You have to take into account that English is not my first
language.
This defebce would only work if you had a poor grasp of english, or
were posting from China. You don't and you aren't - not unless SE
London has mysteriously moved continents.
If I tell you a Chinese joke, and you failed to get
it, would you be insulted if I call you a humour-impaired person?
Nope, but then I speak zero words of Chinese, whereas you have better
a grasp of english than my daughter, and she would have got that joke.

You're on a hiding to nothing and should cut your losses. And don't
try to pretend you don't know what that means :-)
--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
Oct 12 '06 #100

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

Similar topics

1
4422
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
2277
by: Heather | last post by:
Is it possible to automatically purge records after a six month period in Microsoft Access 97?
5
2310
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
5408
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
5966
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
2165
by: Neil | last post by:
Anyone have a recommendation for a good inexpensive or free utility for developing table schemas.
3
2059
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
1477
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
2037
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
9932
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
11109
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...
0
10726
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10833
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,...
1
7957
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
5979
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4602
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4198
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3226
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.