User Profile

Collapse

Profile Sidebar

Collapse
JeanCrack
JeanCrack
Last Activity: Feb 29 '12, 01:43 PM
Joined: Sep 17 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • JeanCrack
    started a topic Advice for a client/server application
    in Java

    Advice for a client/server application

    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...
    See more | Go to post

  • JeanCrack
    replied to Problem with "time.h" library
    in C
    Thank you ,it works perfectly.
    See more | Go to post

    Leave a comment:


  • JeanCrack
    replied to Problem with "time.h" library
    in C
    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.
    See more | Go to post

    Leave a comment:


  • JeanCrack
    started a topic Problem with "time.h" library
    in C

    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;...
    See more | Go to post
No activity results to display
Show More
Working...