|
|
I thought int cannt hold negative numbers
i "sympolize" an int variable with %d
e.x
test.Format("%d",int);
|
|
|
|
|
|
hm i dont understand
when i create a fuction or variable ..etc and
write Type : int
then that function / variable can take negative numberS?
|
|
|
|
|
|
|
Michael Dunn wrote: An unsigned int can only hold positive numbers.
Actually, non-negative numbers.
/ravi
My new year's resolution: 2048 x 1536
Home | Music | Articles | Freeware | Trips
ravib(at)ravib(dot)com
|
|
|
|
|
|
For example, I send a file for A to B(use a tcp/ip stream socket), that data may send block by block using a while, and at the side of B, the "IO completion" may queue on IOCP in another order.
1. Is it possible?
2. How to receive data in the right order?
|
|
|
|
|
|
I still can't believe.
For example, I send a file which is 1MB.
I post two WSASend.
the 1st sends 0.99MB
the 2nd sends 0.01MB
It is likely that the server will deal the completion of the WSARecv with the 2nd one.
Another question:
If two sockets connected in tcp/ip stream mode, then does N recv(s) works the same way, no matter how large N is? And don't know how many sends is called.
One word, socket only knows stream without any boundary information in the stream, is it true?
I'm new to socket programming.
Thanks for your help.
-- modified at 16:40 Saturday 27th May, 2006
|
|
|
|
|
For a scalable server, multithread is needed, how to reorder?
|
|
|
|
|
Can you show me how to resize a rebar!
Thank!
|
|
|
|
|
maybe it is some helpful to you Here[^]
whitesky
|
|
|
|
|
Hi All,
Can anyone tell me how to remove the "Create Shortcut" context menu from my namespace extension icon?
Thanks and Regards,
ANil
|
|
|
|
|
How can i add a bitmap button at each node in a tree control
-- modified at 7:53 Saturday 27th May, 2006
|
|
|
|
|
maybe it is some helpful to you Here[^]
whitesky
|
|
|
|
|
I am not getting the idea. plz help me.
|
|
|
|
|
Did you saw this exmple ?i think its good for you
whitesky
|
|
|
|
|
I am creating a XML file by using IXMLDOMNode and I am setting value to the node by using the function put_nodeValue(). But whenever I pass & it gets converted to &
Similarly if I pass > it gets converted to >
How to overcome this problem
Is there any escape seqeuence that should be added before passing value to the put_nodeValue().
Pls help
|
|
|
|
|
The put_nodeValue method converts '&', '<', and '>' characters to their XML escape sequences & , < , and > , respectively. Instead of 'pre-converting' them, just pass the characters.
Software Zen: delete this;
|
|
|
|
|
No its not converting > and < its converting only &
If I pass > then only & gets converted and resultant node value is &gt;
|
|
|
|
|
If you are passing the characters & g t ; , it is converting the initial '& ' and then treating the rest of the characters literally. Instead of passing the string & for an '& ' character, just pass the '& ' character itself.
Software Zen: delete this;
|
|
|
|
|
It works fine for & but not for other special charaters like > , < etc
I need a solution to parse special characters other than &
I will get data like ><, where I have to set the exact value to that node.
|
|
|
|
|
hi,
I want to have a List Ctrl in which i can Lock the scrolling of some Columns
& want the others to move with the Movement of Scroll bar of Listctrl.
I tried to solve this Problem by using two Listctrl (placing them side by side)& a Horizontal scroll below them but i am not able to get a clean selection... there is always a white spce b/w them when i select a fullrow in both ctrls Row. ?????????????????????????????
Vinod C S
s/w engineer
|
|
|
|