Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for siggivara

I'm no assembly wizard, but I'm writing a bootloader and I get a few compile/assembler errors I haven't been able to find a solution to: Heres the error messages and the code that it applies to: [CODE] os_size: .word 0 .word 0 lea %ax,os_size # Error: suffix or operands invalid …

0
52
Member Avatar for siggivara

I'm actually trying to do this in objective c, but I belive the theory probarbly are the same for C++. Heres an example of what I want to do with a simple, working, example using an integer: [CODE=c]void func2(int *i) { *i = 2; } void func1() { int i …

Member Avatar for siggivara
0
187
Member Avatar for siggivara

I'm trying to create a simple server that starts a new thread for each new client that connects. I know I can use fork(), but I've heard that threads are more efficient. Also I have some global queues, so if I used fork(), each process would get their own version …

Member Avatar for flipjoebanana
0
87
Member Avatar for siggivara

I've written a method that takes a variable number of arguments. My problem is that the method is supposed to do one thing if there is only one argument, and something different if it recieves multiple arguments. If it's one argument I'm supposed to get info from a global variable, …

Member Avatar for siggivara
0
182
Member Avatar for siggivara

Hi. I have this codeline: [CODE=c]fprintf(file, "The\necake\nis\na\nlie");[/CODE] When I compile and run in Linux it outputs nicely like so: The cake is a lie but when I compile and run in Windows (Vista), using cygwin, the newline doesn't work and output is like this: Thecakeisalie Anybody have an idea why?

Member Avatar for Tom Gunn
0
665
Member Avatar for siggivara

I've made this rather messy method that is supposed to split the message parameter (max 160 byte) into 60-byte strings if it is larger than 60 bytes. The message is always between quotes so I also want to ignore them and just get whats between the quotes. Example: "Hi there …

Member Avatar for siggivara
0
193
Member Avatar for siggivara

I want to write an x86 AT&T assembly function that compare a char-array one caracter at a time. If two characters at the same index are unequal it's suposed to return -1, else return 1. I'm going to call this function in a C code. So the function-call would look …

Member Avatar for siggivara
0
1K