Type: Posts; User: gulHK
Search took 0.02 seconds.
September 21st, 2013, 02:12 PM
That's excellent 2Kaud .... THANK YOU SOOOO MUCH
September 21st, 2013, 10:30 AM
Thank you all very much
I know that the ## (double number sign) operator concatenates two tokens in a macro invocation e-g
#define ArgArg(xyz, abc)
xyz ## abc
September 21st, 2013, 08:32 AM
2kaud Thank You Very Very much again for explaining it with an example and in detail.
September 21st, 2013, 07:18 AM
Could anyone please help me with this online interview question?
Object1 and Object2 are the names of two different classes.
The Class Object2 has one Object and the Class...
September 20th, 2013, 10:05 AM
That's great. Thank you very much for explaining it with a practical example.
September 20th, 2013, 03:15 AM
Thank You Very Much Paul.
September 20th, 2013, 03:15 AM
Thank You Very Much 2Kaud.
September 19th, 2013, 04:59 PM
Thank You Very Much Paul. Please have a look at the questions/answers below
Obj1 and Obj2 are the Objects of the same class (type)
e-g if Object is the class name:
Object obj1 = new...
September 19th, 2013, 12:22 PM
Hello Paul. Below are my answers.
Thanks and Regards
1) Can we call virtual function from non-virtual function? YES
2) Can we call pure virtual function from constructor? NO (Read this...
September 19th, 2013, 11:16 AM
Hello Everyone, I recently gave an online C++ test. Below are few of the questions I need help with. Could anyone please explain to me the correct answers?
1) Can we call virtual function from...
December 28th, 2012, 02:53 AM
I have just tried the program without the .class files and copying only the .java ones and it worked. You were right and thanks a ton for that :)
December 28th, 2012, 02:39 AM
I have copied the .java classes into my project and it works fine. I do not need to import them any more. But I still cannot use the .class files and it gives me the same error. This...
December 28th, 2012, 12:18 AM
Thank you Phillip
The package "pack" is just a folder containing files with .java and .class extensions. We are asked to create a program that contains four classes which should use the files...
December 27th, 2012, 11:15 AM
Yes but are these not two different websites?
December 27th, 2012, 09:25 AM
I am a student and I am new to Java. I have created a simple Java program. We have been given a package to import into the program we have developed. The classes of the package are...
August 5th, 2012, 02:33 PM
Thanks D_Drmmr for this useful example :)
August 5th, 2012, 01:36 PM
I am sorry for being silly Paul and Laserlight.
I think I need detailed study to fully understand the concepts. Any way thanks a lot.
August 5th, 2012, 01:12 PM
The value of "cNancy" in both of the above cases is eventually equal to that of "cMark". Is this correct?
August 5th, 2012, 08:35 AM
That's what's written in one of the websites
Cents cMark(5); // calls Cents constructor
Cents cNancy; // calls Cents default constructor
cNancy = cMark; // calls Cents assignment operator
August 5th, 2012, 08:00 AM
Paul I know which one uses copy constructor and which one uses assignment but what are the uses of each of these two ways? why not we just always use a copy constructor or why not always an...
August 5th, 2012, 07:17 AM
I have now gone through few of the websites to clear my concepts about copy constructor and assignment and have found out that these are just two different ways that serve the same purpose, one...
August 4th, 2012, 03:56 PM
Thanks laserlight :). Virtual destructor concept is now clear to me
August 4th, 2012, 10:04 AM
Thank you all
I still have few confusions.
1) If any of the functions of the base class is virtual then destructor should also be virtual. What will happen if destructor is not virtual?
August 2nd, 2012, 10:19 AM
Below are the few questions that were asked in an interview. Can anyone please explain to me the answers in an easiest way with examples.
1) Volatile object
Yes I can read and write a file, I can parse it and I also can make use of STL containers, I just dont know how to go about it.
Click Here to Expand Forum to Full Width