ya.... that's a point thanks.
smartnose
Posts
-
which job I should take? -
which job I should take?Two offers for me, a postgraduate student, with much, but mostly part-time project experience. One is a big international telecom company and the other is a very small Computer Vision company. I studied Computer Vision during my postgraduate program and I did fairly well on this subject. I can't figure out the pros and cons. Computer Vision is what I love, but telecom sounds not bad, too. And the experience in a big company means more good-looking CV, but a small company may offer a better chance for promotion... What do you guys think about this?
-
a question about StringI defined a string: dim str as string and I assigned it a long string with more than 300 bytes: str="kfa;sdlkjfakdjflakjsdfkd... when the program runs, I found that str contains only 253 bytes and no more, as if the string is truncated. And I try to use str=str + "asldkk" to increase the length of this string graduately, but it still cannot be longer than 253 bytes. But MSDN tells me that strings can be much longer than that. So how could this happen? Thank you.
-
UDP broadcast problemSystem.Net.IPEndPoint broadCastEndpoint=new IPEndPoint(System.Net.IPAddress.Broadcast,BGAME_PORT); while(broadCastFlag) { try{ bsocket.SendTo(buffer,buffer.Length,SocketFlags.None,broadCastEndpoint); Thread.Sleep(BGAME_INTERVAL); } catch(System.Net.Sockets.SocketException e) { System.Console.Out.WriteLine(e.ToString()); } } I just wanna broadcast a UDP packet to the LAN, as u see above. but when the code runs to 'Send to' method, an exception is throwed and tell me that 'attempt to access the socket in a unauthorized way' Why? Thanks.
-
Is there any control for hyper-text besides IE?I wanna display hyper-text in my program. like this is an example. IE control is quite slow. Is there a text control for that?:confused:
-
WebBrowser ControlI use a webbrowser contorl to navigate a page in my program. But when the page has frameset, only the first frame will be displayed in this control. So, how can I display pages with frames? Thank you.
-
how can I create a top most form?Which attribute should I set? Thanks
-
help, a question about atlthanks, buddie
-
help, a question about atlHow can I decide whether the control is in design mode or not. I mean whether it's in an IDE such as VB and is being dragged and dropped, but not running as part of an application.
-
A question of a newbieI set the background picture of my main window. But I just can't get rid of it from the attribute window latter. How can I remove it? Thanks
-
atl full controlI can't recieve the WM_CREATE message in my control. How could this happen? And what are the possible reasons? thanks
-
Deque's questionyeeeeeeep. It works! Thank u guys! Thank u very much.
-
Deque's questionThis is my program: #include "deque" class CMsg { int MsgID; } main() { deque que; CMsg * pMsg=new(CMsg); que.pushfront(pMsg); } and I compile it with gcc. The error is:deque::pushfront(CMsg *&) no matching function. So can anybody tell me why?