Paul S
asked on
Download counter???
(This is not a homework assignment although i am taking a C class right now)
I want to do stuff i havn't learned yet and i can't find my answers in the text book. I don't know what terms to look up in the index.
1. First how do i write a C program that takes command line parameters (i.e. format c:) the "c:" part being what i call a parameter. what is it really called?
2. Could i use some of this C programming that i am using for something that would actually be useful to me instead of some assignment where i convert temperatures. I want to make a small program that can be put on one of those free space servers (like geocites) and will run when someone downloads something, but it keeps track of how many times it downloads.
example:
<a href="myprogram.exe fileToDownload">click here to download</a>
end
where each time "myprogram.exe" is run it outputs a 1 to a file or gets the number in the file and adds 1 to it.
i can do that last part already just need to know if the rest is possible?
I want to do stuff i havn't learned yet and i can't find my answers in the text book. I don't know what terms to look up in the index.
1. First how do i write a C program that takes command line parameters (i.e. format c:) the "c:" part being what i call a parameter. what is it really called?
2. Could i use some of this C programming that i am using for something that would actually be useful to me instead of some assignment where i convert temperatures. I want to make a small program that can be put on one of those free space servers (like geocites) and will run when someone downloads something, but it keeps track of how many times it downloads.
example:
<a href="myprogram.exe fileToDownload">click here to download</a>
end
where each time "myprogram.exe" is run it outputs a 1 to a file or gets the number in the file and adds 1 to it.
i can do that last part already just need to know if the rest is possible?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
geocities anyway gives you stats for which page was access how many times... I am not sure if geocities would allow you to run your programs at their servers
ASKER
which language is the best for web related tools?
>which language is the best for web related tools?
I think you can get a better answer in the web development topic area... I have no experience with web programming
As a generic rule, the choice of language depends on the functionality desired and the application.
I think you can get a better answer in the web development topic area... I have no experience with web programming
As a generic rule, the choice of language depends on the functionality desired and the application.
ASKER
is it possible to create a windows xp restore point using C code? can it be done using the system command code like from a command prompt? i'm no sure how to create a restore point except throught the start menu.
sorry ... not much idea about window$
ASKER
thanks anyways.
ASKER
site = "http://www.geocities.com/pspagnola/computer.html"