Search:

Type: Posts; User: jakemott

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,485

    Thank you Mike. Ok, So is NOV actually an...

    Thank you Mike. Ok, So is NOV actually an abbreviation for the Nonary system? Or is it simply that relating the months to number systems that NOV would stand for 9 and hence would be the Nonary base...
  2. Replies
    6
    Views
    1,485

    Sorry I don't understand.. Is NOV some type of...

    Sorry I don't understand.. Is NOV some type of measurement other than HEX/DEC/OCT/BIN that I dont know about? Where does it fit in?
    O so, October, novermber, December. Silly me. 8,9,10 Maybe? lol Is...
  3. Replies
    6
    Views
    1,485

    Halloween/Christmas Fun

    So, Im just gonna get straight to the point im sure this is a simple answer although an hour of google searching has turned up nothing and a few conversions of my own nothing either. If you know what...
  4. Replies
    3
    Views
    2,229

    This has been cross posted here. Binary/Text...

    This has been cross posted here.
    Binary/Text file - Dev Shed
  5. Replies
    3
    Views
    2,229

    No im working like this. #define BUFLEN...

    No im working like this.



    #define BUFLEN 1024

    char buffer[BUFLEN];

    int fidSink;
  6. Replies
    3
    Views
    2,229

    Binary/Text file

    Does anyone have any idea of what may cause a .txt file linked to a file descriptor for output, to not be readable after char/strings are output to the text file? I am outputing char/strings to a...
  7. Replies
    2
    Views
    3,484

    Awesome. That cleared it up. Thank you for the...

    Awesome. That cleared it up. Thank you for the help.
  8. Replies
    2
    Views
    3,484

    (float) or (float*) wrt sizeOf()

    I keep seeing these calls when allocating memory and its confusing the **** out of me. :) Please can someone clarify for me.

    Here are the two calls that are confusing me.
    ...
  9. Thread: Arrays in C

    by jakemott
    Replies
    4
    Views
    1,064

    Lol, had to run this on a cluster to get it to...

    Lol, had to run this on a cluster to get it to work.
  10. Thread: Arrays in C

    by jakemott
    Replies
    4
    Views
    1,064

    Figured it had something to do with out of date...

    Figured it had something to do with out of date university computers. Hard to do research when the computers they give you cant run the test they want you to run. lol
  11. Thread: Arrays in C

    by jakemott
    Replies
    4
    Views
    1,064

    Arrays in C

    So why is this code throwing a access violation exception?
    Everything is set up normally to initialize an array and print off some of its contents.

    The msg im getting is
    Unhandled exception at...
  12. Replies
    17
    Views
    4,652

    My thought process for this is. Linear meaning to...

    My thought process for this is. Linear meaning to get from point A to point B you have to go to every point in between A and B. I.E. To get to a specific node(Search/random access) in a list you...
  13. Replies
    17
    Views
    4,652

    Awesome, Thanks for the help. Glad I got that...

    Awesome, Thanks for the help. Glad I got that straightened out. Its was really bothering me :)
  14. Replies
    17
    Views
    4,652

    Ahhh..... So this really applies to like an...

    Ahhh..... So this really applies to like an Arraylist say in java, that can flex. I.E its like an array without a specified size so when you delete something it shrinks and when you add something it...
  15. Replies
    17
    Views
    4,652

    Arrays insertion/deletion linear?

    So, I understand why arrays have fast random access(Searching) or constant time access for searching, because you have an index and you just say goto array[index]. Example array[5]. But im not quite...
  16. Replies
    6
    Views
    17,015

    No worries, After a lot of hacking away at the...

    No worries, After a lot of hacking away at the code it was a simple fflush(stdout); line that wasn't present that was affecting the output to each client. Its working perfectly now. Perfect...
  17. Replies
    6
    Views
    2,107

    Do something like this void...

    Do something like this


    void functionToDoWhatever(void);

    main(){

    int pid;

    printf("this is my main process");
  18. Replies
    6
    Views
    17,015

    Ok, So Ive been fooling around with pthreads for...

    Ok, So Ive been fooling around with pthreads for quite a bit. They seem fairly simple for small programs, but for what im doing its getting a bit complicated and I was hoping someone good enlighten...
  19. Replies
    6
    Views
    17,015

    Very nice. Thank you for your thoughts. Will try...

    Very nice. Thank you for your thoughts. Will try and convert to pthreads and see what I can do. Let you know how it works out.
  20. Replies
    6
    Views
    17,015

    Is it the same with pthreads? if So, what would...

    Is it the same with pthreads? if So, what would be the best way to communicate between child processes? Do you have to write functions that take the child processes as arguments and update the...
  21. Replies
    6
    Views
    17,015

    Concurrent chat, Sockets

    Hey guys,
    Im writing this client/server chat program. Its in C and runs on UNIX. Its multiproccessed using the fork() function. My problem is that I cant seem to get my child functions to...
  22. Thread: FTP program

    by jakemott
    Replies
    14
    Views
    18,400

    Here's the final code for server.c and client.c....

    Here's the final code for server.c and client.c. In case anyone needs an example of how to transfer a file. I know I could have used one. Would have saved me lots of hours of toil. I fixed some other...
  23. Thread: FTP program

    by jakemott
    Replies
    14
    Views
    18,400

    Figured it out. Lol, kinda makes sense. Ok, so I...

    Figured it out. Lol, kinda makes sense. Ok, so I just used the idea that everytime the server sends the client something the client needs to send the server something and the server recvs it.

    So...
  24. Thread: FTP program

    by jakemott
    Replies
    14
    Views
    18,400

    lol, yeah I was kinda dreading that. This is my...

    lol, yeah I was kinda dreading that. This is my first time to mess around with sockets/network code. I belive that is exactly what is happening though, even though I was kinda in denial cause now I...
  25. Thread: FTP program

    by jakemott
    Replies
    14
    Views
    18,400

    Correct. Ok so I put this in the client code...

    Correct.

    Ok so I put this in the client code right below the buf_recv that prints out File found!!!.


    buf_recv[n]='\0';

    printf("%s",buf_recv);

    fflush(stdout);
Results 1 to 25 of 30
Page 1 of 2 1 2