Don't know what to say...

Email: ahmed.jolani@gmail.com

May
13
accepted close() after system() weird behavior
May
13
comment close() after system() weird behavior
It worked thanks!
May
13
comment close() after system() weird behavior
Yeah I wanna close the connection, I'm trying what you've said right now.
May
13
comment close() after system() weird behavior
I can't cause I have to send a message after, system is called in a different function that returns then close is being called after writeing a message to a socket, I also tried to call close twice and still the same problem.
May
13
asked close() after system() weird behavior
May
1
comment how to convert unsigned char* to integer fast,
@MooingDuck that's exactly what I did in my solution, I used this trick.
May
1
comment how to convert unsigned char* to integer fast,
We don't use fun code, we write and use fast code.
May
1
comment how to convert unsigned char* to integer fast,
His version is even faster than this recursive version, the stack popping and pushing give an extra overhead, during programming contest it's always better to write a recursive in an iterative style.
May
1
comment how to convert unsigned char* to integer fast,
As far as I know all string to integer conversions in both C and C++ assumes that you want to convert the whole string.
Apr
28
awarded Yearling
Apr
9
awarded Notable Question
Apr
6
accepted undefined reference to (g++ compilation with static library)
Apr
6
comment undefined reference to (g++ compilation with static library)
Can you please show me how, this is the first time I use templates, or at least refer to a tutorial please.
Apr
6
asked undefined reference to (g++ compilation with static library)
Apr
3
comment The best design for a command-line tool
It's a way in differentiating between the command and the arguments, and also the arguments themselves, if I used a parser adding a new command will require me replacing an old code.
Apr
3
comment The best design for a command-line tool
@KerrekSB the idea is I'm learning and this is an obstacle I'm facing, the design stage, I guess it's a real and important step.
Apr
3
comment The best design for a command-line tool
rebuilt, there will be a source control.
Apr
3
comment The best design for a command-line tool
I know what a parser is, it's not eligible here as commands could be easily modified and it's not a good way to modify the source-code.
Apr
3
asked The best design for a command-line tool
Mar
19
awarded Tumbleweed
1 2 3 4 5