Hello guys !!!
So would like to make a cient/server application in Java, it is about a software for transferring money, something like western union or money gram. Since i was thinking about how to design it, the matter is i am new in client/server programming and i'm still learning socket programming in java that's why i would like know if there is a suitable method than socket to set up communication for the application i would like...
User Profile
Collapse
-
Advice for a client/server application
-
Thank you ,it works perfectly. -
It is supposed to be (clock()-start)/CLOCKS_PER_SEC instead of (clock()-start)%CLOCKS_P ER_SEC, it has been a mistake and excuse me.
So what i want by using that expression is to get the elapsed time between the beginning of the program and the end in second.Leave a comment:
-
Problem with "time.h" library
Hello everybody i want to execute a code which gives the duration of a running program by using the library "time.h" particularly the clock() function.
The problem is that i am not getting the right result and the program looks like:
#include<stdio. h>
#include<time.h >
int main(void)
{
float end;
clock_t start=clock();
.
.
.
.
end = (clock()-start)/CLOCKS_PER_SEC;...
No activity results to display
Show More
Leave a comment: