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...
Type: Posts; User: silverfoxtp
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...
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...
ok then how do you compare 'c' strings be default?
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...
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);
...
that line is used to initialize teh static member.
But i don't see why it is written there
so that initialization is never done within a function but just independently?
Thank you so much btw!
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;
...
curlious
why did you use the >>operator?
I read the api for cout and thought i had to use
<<(const & primitive_type);
??
I think i figured it out
I can take an object like
obj.Print(cout).
now my method can be
cout<<(this.value);
nobody knows?
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...
Anyone here use Virtual Machines ??
Which do you think it's best.
I'm currently using ESX server 2.0 from vmware
how do i find out more about vectors and the cin function?
In a nutshell
forloop
cin>>array[variable];
Is there an API describing C++ functions?
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?!?...