Counting program executions

Reply

Join Date: Nov 2008
Posts: 2
Reputation: frank* is an unknown quantity at this point 
Solved Threads: 0
frank* frank* is offline Offline
Newbie Poster

Counting program executions

 
0
  #1
Nov 8th, 2008
Do anyone have any idea to write a c progrm which counts no of times it is run
without using a updating file??
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 1,566
Reputation: BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all 
Solved Threads: 196
BestJewSinceJC BestJewSinceJC is offline Offline
Posting Virtuoso

Re: Counting program executions

 
0
  #2
Nov 8th, 2008
to do so you have to store it in memory. How do you plan to do this without use of a file?
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 2
Reputation: frank* is an unknown quantity at this point 
Solved Threads: 0
frank* frank* is offline Offline
Newbie Poster

Re: Counting program executions

 
0
  #3
Nov 8th, 2008
Originally Posted by BestJewSinceJC View Post
to do so you have to store it in memory. How do you plan to do this without use of a file?
can the program be made to edit its own exe
file?
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 3,114
Reputation: WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of 
Solved Threads: 281
Moderator
WaltP's Avatar
WaltP WaltP is offline Offline
Posting Sensei

Re: Counting program executions

 
0
  #4
Nov 8th, 2008
No
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 90
Reputation: ajay.krish123 is an unknown quantity at this point 
Solved Threads: 8
ajay.krish123 ajay.krish123 is offline Offline
Junior Poster in Training

Re: Counting program executions

 
0
  #5
Nov 9th, 2008
No, it is not possible to make such program
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 2,001
Reputation: ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of 
Solved Threads: 343
ArkM's Avatar
ArkM ArkM is offline Offline
Postaholic

Re: Counting program executions

 
0
  #6
Nov 9th, 2008
Of course, it's possible, all viruses do that .
So you will have a lots of troubles with anti-virus protection on computers of your masterpiece unhappy users...
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the C Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC