Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: ahoodin

Page 1 of 80 1 2 3 4

Search: Search took 0.12 seconds.

  1. Re: Starting my C# Journey looking for some advice

    Personally, PHP is still a viable programming language, and powerful too. C# is great, don't get me wrong, but I wouldn't "move on" from PHP. Don't listen to the haters, they are always there to...
  2. Replies
    5
    Views
    281

    Re: bitshifting / buffer overrun

    Yes I could see it being an endian issue, unless you know the platform, such as in the case of embedded systems.
  3. Replies
    5
    Views
    281

    Re: bitshifting / buffer overrun

    Oh sorry I was in a hurry.

    My question is: Why is it preferable to use bit shifting to convert your data from unsigned char to unsigned
    short? Looks like I would lose the hi byte in a buffer...
  4. Replies
    9
    Views
    389

    Re: Problem with empty/null string/char...

    You should check explicitly for

    if (file_name==NULL)
    {
    //take some action
    }
  5. Thread: c to java

    by ahoodin
    Replies
    1
    Views
    157

    Re: c to java

    https://search.yahoo.com/yhs/search?p=C+TO+JAVA+CONVERTER&ei=UTF-8&hspart=mozilla&hsimp=yhs-002
  6. Replies
    5
    Views
    281

    bitshifting / buffer overrun

    Why does bitshifting work in cases where casting fails?


    unsigned short *p = static_cast<unsigned short*>(static_cast<void*>(&pBuf[1]));

    The Standard doesn't guarantee the address remains the...
  7. Re: What is the common technique of using pointers to change some value on the fly?

    You shouldn't declare a constructor of type void.
  8. Replies
    1
    Views
    254

    Re: Are unit testing frameworks worthwhile

    There is overhead in testing. That's just a fact of life.
    Test driven development insures that your development
    is validated by release as well as it can. In an age where
    project managers...
  9. Replies
    6
    Views
    369

    Re: [RESOLVED] CRLF problem in code blocks ?

    That's better. '\n' translates to crlf on windows and just lf on NIX. Apple
    products are treated like NIX afaik. Ok glad you found it.
  10. Replies
    6
    Views
    369

    Re: CRLF problem in code blocks ?

    In your output on CG, the first line appears correct.

    Why is that?
  11. Re: In Visual C#, how to refresh Form1 from inside a class?

    Well really it depends on the relationship between the object instance and the form. Perhaps
    it is a static class and has no instance. In either case if not a member of the form,
    you should use...
  12. Replies
    6
    Views
    369

    Re: CRLF problem in code blocks ?

    If it were a crlf issue, then your first line would also have a crlf issue.

    Since it does not. This means that it must be the logic In the program
    or an error in the formula that is causing...
  13. Replies
    1
    Views
    560

    Re: Time dependency on Winsock sendto

    Without seeing code or understanding more, I can only hazard a guess.

    Perhaps the BOOTP socket is expecting a keepalive and never getting it?

    A keepalive as you know is a packet that tells the...
  14. Replies
    3
    Views
    562

    Re: recv through Wan address

    Usually this is a sign that the remote host is killing the socket connection prematurely.

    IE The client opens a socket, sends to the server that recvs, and starts to send an acknowledge back of...
  15. Replies
    2
    Views
    321

    Re: Packets and tcp simulation

    Sorry this sentence is not easy to understand. If a packet hasn't arrived there would be no need to skip it. Can you make a better description for what you hope to achieve?

    I see you are writing...
  16. Replies
    12
    Views
    1,065

    Re: Help! StreamReader read one line up

    Ok now where is the input file?.
  17. Replies
    12
    Views
    1,065

    Re: Help! StreamReader read one line up

    You should handle the exeption in code, and display the Message in order to understand it.

    Exception handling is different than error handling. An exception contains descriptions
    of its self,...
  18. Replies
    12
    Views
    1,065

    Re: Help! StreamReader read one line up

    Well

    1. you don't show the code where you allocate the new stream reader.
    2. You don't show the code where you handle the exception.
    3. If the file in #1 doesn't exist....

    Please poste a...
  19. Re: TCPIP Socket Send Failure 22119

    I appreciate you David. You were my only answer. Nobody else could have found this. I found that this was actually a proprietary device fault that should not have been returned in the same way a...
  20. Re: winsock2 send() is failing, with mystery error code '22119'

    This was a custom return value. The code actually successfully completes the Client Send and Recv, and then for some odd reason, if there is a status returned from the device, it is entered in the...
  21. [RESOLVED] winsock2 send() is failing, with mystery error code '22119'

    I have a Legacy Product that I support. When you try to enter values called parameters into the ASP Classic screen, the asp calls a VB6 Active-X dll to get the parameter validation limits and...
  22. [RESOLVED] TCPIP Socket Send Failure 22119

    I have a Legacy Product that I support. When you try to enter values called parameters into the ASP Classic screen, the asp calls a VB6 Active-X dll to get the parameter validation limits and...
  23. Replies
    2
    Views
    454

    Re: Aircraft written in C # Game

    Your source download link is broken.
  24. CG doesn't have articles on C# and .net 4.0

    I notice that the CG main menu includes entries for articles on C# and .net 3.0 and .net 3.5 but not 4.0. Does this represent CG falling behind in some way? Looks that way. Could be because there...
  25. Re: These threads never execute in artbitrary order?

    Learn about synchronization objects such as mutex, semaphore, and events.
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center