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

Search:

Type: Posts; User: avi123

Page 1 of 33 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    2,531

    setsockopt - keep alive

    Hi,

    I would like to use setsockopt with the SO_KEEPALIVE parameter
    What I can't find is how I set the following:
    1. How often to send the keep alive message from the client to server
    2....
  2. Replies
    3
    Views
    771

    Re: what are the possible outputs

    sure, but what are the possible outputs and why?

    Thanks
    Avi123
  3. Replies
    3
    Views
    771

    what are the possible outputs

    Hi,

    Suppuse I have the following function

    static int staticIntX = 2;

    int inc()
    {
    staticIntX++;
    return staticIntX;
  4. Replies
    12
    Views
    930

    Re: do while loops with &&

    Thanks Philip,

    Are there any other operators where left to right order is not guaranteed?

    Thanks
    Avi123
  5. Replies
    12
    Views
    930

    Re: do while loops with &&

    Thank you both for your quick response
    However I still not sure,

    Krishnaa: you say that the left side will be calulated first, however then you say that in order not to depend on compiler, are...
  6. Replies
    12
    Views
    930

    do while loops with &&

    Hi,

    Can I do something like this:

    X *pX;

    do
    {
    //.....
    }while((pX != NULL) && (pX->func() >2))
  7. Replies
    2
    Views
    520

    Difference between new () and []

    Hi,

    Is there a difference between those 2 statements:

    str1 = new char[50];
    and
    str2 = new char(50);

    both str1 and str2 were defined like this:
    char* str1=null;
  8. Replies
    4
    Views
    814

    Re: 2 basic question

    Thanks

    That's exactly what I have needed
  9. Replies
    4
    Views
    814

    Re: 2 basic question

    I still do not understnad what is the different meaning of the const location:

    1. What is the difference meaning of the const location?
    a. static const char* x = "abc"
    b. const static char* y...
  10. Replies
    3
    Views
    546

    simple c++ question

    Hi,

    I have 2 C++ basic questions:

    1. I understood that using this:

    for(int i=0; i<5; ++i)
    is better than using this:
    for(int i=0; i<5; i++)
  11. Replies
    4
    Views
    814

    2 basic question

    Hi,

    I have 2 basics (or at least I think they are) C++ question

    1. What is the difference meaning of the const location?
    a. static const char* x = "abc"
    b. const static char* y =...
  12. Replies
    1
    Views
    957

    MST algorithm for Multi Graph

    Hi,

    I hope that this is the correct forum for this question, if not I ask for your forgiveness.
    I need to find the Minimal Spanning Tree, on a Multi Graph,
    I'm using Java in Eclipse enviroment....
  13. Thread: const reference

    by avi123
    Replies
    12
    Views
    1,344

    Re: const reference

    Then what is the probelm using it?
    I mean besdie efficency...

    Thanks
    avi123
  14. Thread: const reference

    by avi123
    Replies
    12
    Views
    1,344

    Re: const reference

    and if I have a copy constructor will it be called when I use:
    Baz bazObject = foo.GetBaz(); // Works, but takes a copy of the baz object


    Thanks again
    avi123
  15. Thread: const reference

    by avi123
    Replies
    12
    Views
    1,344

    Re: const reference

    what if I use this:
    Baz bazObject = foo.GetBaz(); // Works, but takes a copy of the baz object

    I understand it really copies the object, but does it have any pthere problems? for example what if...
  16. Thread: const reference

    by avi123
    Replies
    12
    Views
    1,344

    Re: const reference

    Hi,

    I'm not really returning an int but a reference to a struct I defined, it was just a simple example

    The thing is that I don't really understand the meaing of a const reference return value,...
  17. Thread: const reference

    by avi123
    Replies
    12
    Views
    1,344

    Re: const reference

    about the first answer, I don't understand if I use int num = getNum() , does it mean that I canceled the const?

    another thing abuot the first answer, what if I get out of the scope of the int num...
  18. Thread: const reference

    by avi123
    Replies
    12
    Views
    1,344

    const reference

    Hi,

    I was wondering what is the meaning of a function returning a const reference?

    for example I have a function that defined like this:

    const int& getNum() const;

    how do I call this...
  19. Thread: ultoa

    by avi123
    Replies
    5
    Views
    1,932

    ultoa

    Hi,

    I'm using ultoa to convert an unsigned long to string
    but I'm having trouble to find the opposite function that will turn my string back to unsigned long

    Can anyone help me?
    Thanks in...
  20. Replies
    5
    Views
    1,414

    Re: killing a process according to its PID

    Thank you all very much :)
  21. Replies
    5
    Views
    1,414

    Re: killing a process according to its PID

    I know about all the other ways I can kill a process
    and I would like to kill it according to the PID, is it possible?
    If not how do I kill it if all I have is the name (xxx.exe) & the pid
    ...
  22. Replies
    5
    Views
    1,414

    killing a process according to its PID

    Hi,

    I'm looking for an API which enable killing a process according to its process ID.

    Is there an API like that, I didn't find it
    If not how can I kill a process, if I have its name (xxx.exe)...
  23. Thread: Screen Snapshot

    by avi123
    Replies
    6
    Views
    1,256

    Re: Screen Snapshot

    I can't download the source! (Article not found!)

    Thanks
    Avi123
  24. Thread: Screen Snapshot

    by avi123
    Replies
    6
    Views
    1,256

    Re: Screen Snapshot

    and how do I save it to a (bmp?) file & open this bmp (programmaticly) by some other application?

    Thanks
    Avi123
  25. Thread: Screen Snapshot

    by avi123
    Replies
    6
    Views
    1,256

    Screen Snapshot

    Hello,

    How do I get the screen snapshot, is there an API for that?

    Thanks
    Avi123
Results 1 to 25 of 824
Page 1 of 33 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center