Search:

Type: Posts; User: silverfoxtp

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    7,376

    Network Monitoring in C#?

    Hello,

    I'm new to the C# language but I'm trying to build a little app that will let me monitor to see if my computer is making HTTP/FTP/UNC requests to the outside world. I was just wondering how...
  2. Replies
    9
    Views
    19,124

    How do I loop through a string of chars?

    I have a private data member say (char *string1).

    I wrote the following code.
    for (char* temp=string1; *temp!='/0'; ++temp)

    When I try to run this code I get an access violation error!
    due to...
  3. Replies
    3
    Views
    1,064

    ok then how do you compare 'c' strings be default?

    ok then how do you compare 'c' strings be default?
  4. Replies
    3
    Views
    1,064

    How are strings compared exactly?!??!

    I know the syntax but I want to know the background work.

    If I have 2 strings. Here's what I think.

    1. the longer string is always the greater (>) one.
    2. if 2 are of same size then check...
  5. Replies
    2
    Views
    1,000

    Why can I modify my static class member?

    I wrote a class with a privated static memeber:
    i.e. static int x.

    I initialized the member outside the class.

    Now I have a function that reads like this:

    int& CLASSTYPE operator[](int);
    ...
  6. Replies
    6
    Views
    1,164

    that line is used to initialize teh static...

    that line is used to initialize teh static member.

    But i don't see why it is written there
  7. Replies
    6
    Views
    1,164

    so that initialization is never done within a...

    so that initialization is never done within a function but just independently?

    Thank you so much btw!
  8. Replies
    6
    Views
    1,164

    How to initialize static members?

    I have to write a class with a static int member but I do not wish to initialize this member until I need to use it in one of my functions.


    Let say i have for example:
    private:
    static int x;
    ...
  9. Replies
    7
    Views
    1,074

    curlious why did you use the >>operator? I...

    curlious
    why did you use the >>operator?

    I read the api for cout and thought i had to use

    <<(const & primitive_type);

    ??
  10. Replies
    7
    Views
    1,074

    I think i figured it out I can take an object...

    I think i figured it out

    I can take an object like

    obj.Print(cout).

    now my method can be


    cout<<(this.value);
  11. Replies
    7
    Views
    1,074

    nobody knows?

    nobody knows?
  12. Replies
    7
    Views
    1,074

    I don't know what this c++ method means!

    void Print(ostream&) const – this constant member function will display data of the objects through the ostream object in the argument.

    This is something I have to program.
    I guess I am suppose...
  13. Replies
    3
    Views
    2,334

    Virtual Machines and VMware

    Anyone here use Virtual Machines ??
    Which do you think it's best.
    I'm currently using ESX server 2.0 from vmware
  14. Replies
    9
    Views
    2,787

    how do i find out more about vectors and the cin...

    how do i find out more about vectors and the cin function?
  15. Replies
    9
    Views
    2,787

    In a nutshell forloop ...

    In a nutshell


    forloop

    cin>>array[variable];


    Is there an API describing C++ functions?
  16. Replies
    9
    Views
    2,787

    C++ Cin Help!

    Hello, I have a problem while CIN into an array of Chars.
    Say If I declare an array of Chars of length 10 and prompt
    the user for a CIN. How to I get the language to pick up only
    say 5 letters?!?...
Results 1 to 16 of 16