Yes! How did you know? Is it a typical example? or is there some other reason?
What will be the situation then?
Type: Posts; User: pritin
Yes! How did you know? Is it a typical example? or is there some other reason?
What will be the situation then?
Is it called exporting?
Anyway, i have moade a console application with Dev C++ and i wan to tgive it to someone (different computer, without compiler), but giving only the .exe dosnt seem to work....
class Base
{
public :
int a;
};
class D1 : virtual public Base
{
public:
int b;
#1 : SUPPOSE sum() returned a value, is it right to do
-------------
#2 How to print values of L3 in the original case, where sum() returns a reference to L3 case?
Thanks guys . That helped a lot.
What i meant was, that since the member function creates an object of the class, i cant define the function within the class definition because the class hasnt been defined yet. Is this correct.?
...
But a default constructor, provided by the compiler gives some value to the variables, but with my own constructor i can give any particular value to the variables.. say 10?
So my constructor is...
Book : "A constructor with default arguments is equivalent to a default constructor"
Is it always?
Just verifying, ...
A non-member function cannot create an object of a class that has either it's constructor or destructor or both in private section?Not even in main()?
Also then, it is...
What about the quoted line. Please explain that too.
Please explain.
"Friend Function does not have the class scope, rather it depends on the original declaration and definition"
Does declaring frinds in public/private/protected make any...
Can a function that dosnt return values, have a return statement.? What is it's effect?
Someone please tell me the difference between this.something and this->something
Your help is appreciated
Plugin teached me english too! (LOL)
Those really helped
typedef char * PSTR;
void Print (char *szToPrint);
void Print (PSTR szToPrint);
"The preceding two fxns have identical arguments. PSTR is an acronym for type "char*". In Member scope, this code...
Overloaded fxns.
void afunc(int);
void afunc(double);
afunc(0);
My book says the mathching (to check which fxn to use), is not ambiguous.
Is it really not?
Can functions be used in structure definitions? If yes, what are the restrictions on such usage as compared to it's usage in a class.
I just want to know, how to use the function "sum" effectively, returned in the following code.
distance is a structure.
distance &sum(distance L1, distanceL2);
distance L3; // global...
I accidentally changed some network settings from domain to workgroup, but now at logon, the domain option is absent..
And the original password is not accepte
d..
I am using Windows 2000...
I couldnt think of any good title...
Not sure if this thread belongs here, but if i know console c++ fairly well, then what do i do next? Where would i find good tutorials on the net?
:)
Thanks buddy. That oughta do the job!
:D
The problem now, is that
system ("SHUTDOWN -s -t 30 -c"Shutting down" ");
Gives me 3 errors..
Using dev cpp
What am i doing wrong?
Ohhh...
:D :confused:
: really confused too:
Anyway, I wanted to ask, is there a way to make the user's comp hibernate too...? i dont really need this, but just for knowledge...
Could u please be more specefic?
Thanx.