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...
Type: Posts; User: jakemott
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...
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...
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...
This has been cross posted here.
Binary/Text file - Dev Shed
No im working like this.
#define BUFLEN 1024
char buffer[BUFLEN];
int fidSink;
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...
Awesome. That cleared it up. Thank you for the help.
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.
...
Lol, had to run this on a cluster to get it to work.
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
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...
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...
Awesome, Thanks for the help. Glad I got that straightened out. Its was really bothering me :)
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...
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...
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...
Do something like this
void functionToDoWhatever(void);
main(){
int pid;
printf("this is my main process");
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...
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.
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...
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...
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...
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...
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...
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);