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
would u like to do using function like this ?? [CODE]function displaycontent($contid) { $row=mysql_fetch_array(mysql_query("SELECT * FROM quackedup WHERE contid='".$contid."'")); echo $row['id']; } displaycontent("topsummary"); displaycontent("firstpic"); displaycontent("secondpic"); [/CODE]
:cool: hi Friends,.,. !! i want to know a perfect time consumption for a given particular program.. [B][COLOR="red"]IN MILLISECONDs[/COLOR][/B] I know the way of using following method: [CODE=c] start=clock(); /*... ... my programming logic . . . ... */ end=clock(); difference=(end-start);[/CODE] But it gives time in seconds , which is …
[CODE=c] #include<stdio.h> #include<conio.h> #define SF "E:/aaa.jpg" #define DF "D:/rrr.jpg" void main() { int *buf; FILE *pr,*pw; clrscr(); pr = fopen(SF,"rb"); pw = fopen(DF,"wb"); while(!feof(pr)){ fread(buf,1,1,pr); fwrite(buf,1,1,pw);} fclose(pr); fclose(pw); } [/CODE]
The End.
rax_19