Thank you for your time and help, I understand the problems you have pointed out however because my grasp of these C functions is very limited I am unsure on the solutions for them.
Any nudge in...
Type: Posts; User: webznz
Thank you for your time and help, I understand the problems you have pointed out however because my grasp of these C functions is very limited I am unsure on the solutions for them.
Any nudge in...
Im not wanting to append a \0, from what I understand if I append a \0 it will break my while loop which is listening for incoming requests.
Thank you for your help, I'm still learning alot I...
Hi there I'm currently working on a Multi Threaded webserver.
So far I have manged to set up the webserver on an infinate loop waiting for a request at the socket.
This is where it gets abit...
Thanks guys.. the missing semicolon was the key!
God you get so caught up thinking its one this you miss something small like that!!!
thanks again.. now I got a bunch of errors to deal with! lol
Thanks for the suggestion.
I tried removing tankmain.h, as it has nothing in it yet (I removed it from the make file, main file and deleted the file itself) And I still receive the same error.
...
Hi there im currently working on a simple (simple for others not me lol) c++ object oriented game.
I have several files which im trying to build with my SciTE compiler, however im running into an...
GAA! lol now thats it!!!! it works, it makes sense now! I just didn't see that,
the first 800 times i ran through it in my head! couldn't understand why it didn't want
to work!
Thanks for the...
okay thanks for the help.. I think im almost there. However I have hit a snag.
Here is my altered code of the final function, Im pretty sure this should work!!!!
void insSortRec (int b[],...
Hello there, before you say it I know, pointless!
I have been asked to write two insertion sort functions.
One that uses Iteration and another that uses Recursion, At first I had no problems...
Right.. i think i get it.. the if statment will be true if strcmp of the opp variable is "add" then strcmp == 0 and will execute the if statment that it applies too! ...
thanks guys!
thanks VAR, i have the beginning with C book by Ron House.. If has lots of strcmp stuff but nothing refering to the (0 == .. thanks for the link will read now.
thanks very much!
Can you just tell me why you used the 0 == strcmp..
what is the 0 for, sorry i would just like to make sure i understand it completely :)
thanks again!
Hi, just having trouble with my hex adder.
It will have to do several things first of which is to add two hex numbers together.
It is read in with scanf as you will see below then I am going to...
decimal to binary.. I have left a comment in the code as to the area i am wanting to do it.
Regarding gets() sorry i didnt explain but that part was required as outlined in the brief i am using.
...
Hi there have been working on a project where I am asked to create a program that can accept input and give output.
I need to be able to reconise input as binary or decimal or error..
then out...
whicked! thanks alot!!! gonna check it out now!
that bubble up function is damn confusing.. how exactly dose that work... what is the reason for having it?
thanks jennifer!!!
Hi there im studying for exams going over previous exams and I have this question im not sure even where to start ill show you the question and if anyone can help me that would be great.
write a C...
into an iterative one, what steps would you take..
int power (int n){
int (n == 1){
return 2;
}else{
return 2*power(n-1);
}
and if you wouldnt mind showing me a recursive way of doing it that would be great! jsut so i can get it in my mind the difference between ittiative and recursive!
thanks heaps foxman! i see...
oh yea! right i get ya now.. ........ im a dillpickel! lol
so other than that the rest of the code is about right then?.
i dont know why i did that.... what is an alternative, scanf? other than that would this function work do you think?
Hi there im just trying to write my own version of a string compare function for preparation for exams and i need some advice.. i think i have the general understanding of it however im pretty sure...
how would you do that?
void foobar (struct *log);
or is it done some other way?