Thankyou that link has been very helpful :)
Type: Posts; User: Kinasz
Thankyou that link has been very helpful :)
Solved problem, it was binary mode. Something I had never heard of until now nor read in the man page.
Thankyou for you help salem, but I am still interested if you could elaborate on padding...
The files I am reading in are quake 2 models. They come from windows machines.
I am not sure what you guys mean by structure padding and alignment, a google search hasn't helped me to understand...
I am trying to get a game I've been working on for linux to run on windows. It is all compiling ok but when I try and read in the quake to models, fseek is failing to read all the data on the windows...
linux programming unleashed is good
Ahh, that is essentially what i was suggesting. My bad .;)
awesome, thanks guys.
I think I will go for the multithreaded method. I have to get this app working for linux and windows so after a bit of searching I am thinking POSIX threads.
Cheers :)
Are pthreads in glibc2 kernel level?
If not what is the a good klt library i can use?
I have been searching google for hours but no answers found, all the klt projects seem to be...
I have been doing a rts myself. I havent done much towards the networking yet but I have thought a bit about how I would do it.
My game keeps a program counter that loops constantly. I was...
Is it possible to pass an open connection to another process. eg:
Process 1 receives connection. Adds connection to que. Notifies process 2. Resumes listening for connections.
Process...
really? I didnt know that, I hadn't even considered it but I will now. It would certainly add the advantage of portablility to fat.
Will argv[0] show up the name of the program or the name of the...
The New Testament of the Bible was written in ancient greek, I know a few people learning it for that. As well as ancient greek and latin being the two primary root languages that english is derived...
excellent! Thankyou sang drax that is exactly what I was after.
Yes, i have heard of shortcuts, but if that was what I was asking I would have said symlinks in windows. I would like a program to...
I am pretty sure TerminateProcess() kills with extreme prejudice, no shutdown time for dir.
Is there such a thing as a hard link with windows?
If so how can one be made?
ok, sorry new to windows dont know the terminology
how do i monitor to see if a program is run?
Is there a way for a program with root priviliges to monitor what is being executed and kill it if it wants to?
okay baffled! Based on the man page i figured this should work...
#define MAX_TK1 10
void test_scanf( void )
{
int i;
char format[BUFSIZ];
char buffer[] = "s3328,24";
will do, thankyou
ok before you jump to give me a link to the faq's, check this out...
Reading a string from a file, have to stop when i get to a certain delimiter, can contain white space in string. What I...
sweet, thanks I actually put that +1 in whilst trying to fix the first problem to make sure my bounds checking wasnt breaking the code. I had totally forgotton about it so thankyou for pointing that...
brilliant, thanks heaps guys! Been staring at that code for a long time!
great suggestion will do
:D I am very happy now!
This is a function that is supposed to copy a token from a string into another string. When the second token in a string ie: "cd .." is requested, the start and end pointers point to some gibberish...
cool, all i needed to know
Is there an ansi/posix way to print a string but with a maximum number of characters, say if I only wanted to print the first 10 chars of a 20 char string.
I have implemented my own function...