No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
Hi, I urgently need some help on system date and time.Here's the code [code=c] #include<stdio.h> #include<time.h> main() { time_t rawtime; struct tm *timeinfo; time(&rawtime); timeinfo=localtime(&rawtime); int hour2; int minute2; int seconds2; char end1[5]; int end=0; char diff[5]; char start[5]; int i=0; char ch[5]; char ch1[5]; FILE *fp2; FILE *fp1; FILE …
Hi, i need to read the system date and time in one file(which is already done).Then in another program i need to read the contents of the first file then check if its has already crossed 1 minute from the current time.i am unable to get how to do it …
hi can anyone tell me how to generate random number within certain limit as in between 10 to 20 etc .please help me Thanks anuj
hi can anyone tell me how to generate random number within certain limit as in between 10 to 20 etc .please help me Thanks anuj
Hi, Am anuj joined community today itsel.I have written a code which generates alpha numeric charaters and stores it in(file1).Then read the generated stuff 4 characters in file(by reading from file1)and appending "-" after 4 characters until "$" is encountered.I am getting an extra "-" in the file please tell …
The End.
anujsharma