rstanley, flp1969 Thank you!
Type: Posts; User: atztek
rstanley, flp1969 Thank you!
Could you please show Example how to use it in the C code?
Is there a way in C to get time from internet?
I haven't studied encryption yet. One of ideas was to use current time [hour:min:sec] as a key to encrypt password. The program will re-encrypt password each 'xx' minutes - the value must be...
Thank you for your reply!
Unfortunately I didn't get an email notification, so I read it just now.
I will modify the code based on your suggestions.
For Example, user (for example me) likes to play computer game and thus wastes a lot of time. But he can archive exe-file using RAR with password (+delete original exe), encrypt password using...
Let's say I have password, for example '1111111111'. Additionally I define some time period in hours, for example 20 hours. Program need to encrypt password, save encryped data to file for recovery...
Somebody helped me with this code, now saving array to file works. I added second part - read array from file - compiler complained that something is wrong. Maybe you know where is mistake?
...
I found the following example in the internet:
int main()
{
std::string array[] = { "S1", "S2", "S3" };
std::cout << "A number of elements in array is: "
<<...
There is a simple C-code, where I defined array of string type. Need to save it into ASCII-file (later I will need to read array back from this file). I know that I did something wrong in 'fwrite'....
Since this thread will not lead anywhere it can be considered as closed.
Discussion went to wrong way because of this ugly person.
He achieved what he wanted.
You are bad person, please don't reply me anymore.
Need to create time (in hours) counter. For example count 20 hours and save intermediate values to file, so will be enough to check time each hour (not each second). Is it possible?
I need to compare current time (seconds since 1970) with time in the future (again, seconds since 1970), where "future time" defined in <y.m.d h:m> format. Thanks
I needed only 'result' from your code. Works great!
Thank you!
Hello,
Let's say I have a time in format "Year.Month.Day Hour:Minute", For Example:
2017.11.23 22:00
How to convert it into time_t format (seconds from January 1970)?
Thanks
Hello,
I learn programming using C-language. I'd like to understand how to create and use dll in Dev-C++. Here is a link (in Russian), containing a small Example, which I tried to duplicate in...
Thank you, it is clear now.
Cannot modify my previous message, need to delete it.
Could you please look at the following and check if it is correct?
I need to pass to the code a single integer variable.
Thanks
int...
I modified example above and got something wrong (doesn't matter what number I use with exe-file, always receive '2'). Please, let me know how to fix it.
Thanks
#include <stdio.h>
int...
WoodSTokk and Nominal Animal, Thank you very much for your help!
How can user pass external variable(s) to exe-file, written on C-language?
Let's say, there is integer variable 'xyz'.
In one case user wants to run exe with xyz=5, and next time it can be run...
Windows O/S.
What kind of 'encoder' can be used in this case?
Would be great if it could work like a self-extracting archive, which will check the current date/time and compare it with what was set...
Hello,
Let's say I have an exe-file (for example computer game) and need to forbid to run it until certain date or time during the day. Any 'manipulations' with file are allowed. Could you,...