Search:
Type: Posts; User: coletek
Search:
Search took 0.03 seconds.
-
a_name twice was a typeo - opps..
Solution to my problem:
class B : public A {
public:
B( char *x ) : A( x ) { }
-
Hi,
Why can't I do the following:
#include <stdio.h>
#include <stdlib.h>
class A {
-
January 12th, 2009, 10:24 AM
Its from a online quiz, which seems to have interesting but (sometimes) crappy/ambiguous questions.
-
January 12th, 2009, 09:58 AM
This link is broken, can you fix please.
-
January 12th, 2009, 09:55 AM
-
January 12th, 2009, 08:47 AM
Which of the following options describe the expected overhead for a class that has 5 virtual functions?
A. Every object of the class holds the address of a link list object that holds the...
-
January 12th, 2009, 08:37 AM
Read the end of my first post ie.
For more info on what version:
coletek@spamisgood:~> g++ -v
Using built-in specs.
Target: powerpc-linux-gnu
Configured with: ../src/configure -v...
-
January 12th, 2009, 08:08 AM
Which of the following are valid C++ declarations for a manipulator named MyEndl for cout?
A. ostream& MyEndl(ostream&);
B. ostream& manipulator MyEndl(ostream&);
C. ostream& manipulator...
-
January 12th, 2009, 07:36 AM
Protected, or private, inheritance, as opposed to public inheritance, models which type of relationship in C++?
A. Is-implemented-in-terms-of
B. Has-a
C. Was-a
D. Can-only-have-one-of...
-
January 12th, 2009, 06:40 AM
Well that is the way its defined, according to http://www.codersource.net/cpp_class_templates_specialization.html
-
January 12th, 2009, 06:30 AM
I see, I didn't realise there was such a thing as template specialisation. Now that I've read it the answer is C.
-
January 12th, 2009, 06:07 AM
Whats peoples thoughts on newmat vs boost for matrix manipulation.
I've used newmat before and find it very good. I've also heard boost is good but have never used it as yet. Can boost do...
-
January 12th, 2009, 06:04 AM
A C++ developer wants to explicitly specialize the template function below for the char * type:
template <class T> void fn(T a){...}
Which of the following methods can the developer use to...
-
January 12th, 2009, 05:01 AM
The questions are rather good, in terms of asking particular things one overlooks, doesn't quite know, or doesn't bother to learn. But I must say some of the wording is dumb/ambiguous - but its good...
-
January 12th, 2009, 04:24 AM
-
January 12th, 2009, 04:17 AM
They are from a online quiz I'm working through to help me understand the finer details of c++.
-
January 12th, 2009, 04:07 AM
Which of the following reasons describe why a destructor cannot throw an exception in C++?
A. The C++ language does not permit it; a throw statement in a destructor will be caught as an error by...
-
January 12th, 2009, 03:42 AM
Which of the following statements describe correct methods of handling C++ exceptions?
A. In a hierarchy of exception classes, the order of handling exceptions can be from the most specific class...
-
January 12th, 2009, 03:13 AM
Fixed, just add a default empty constructor.
-
January 12th, 2009, 02:04 AM
#include <iostream>
class TestPrint
{
public:
void Print()
{
std::cout << "TestPrint" << std::endl;
}
-
January 12th, 2009, 12:34 AM
I totally realise that. I thought my response clearly stated that. My response to the question discuses RTTI in general but also when used for a different platforms (as the question asks). Can you...
-
January 12th, 2009, 12:09 AM
Which of the following statements provide a valid reason not to use RTTI for distributed (i.e. networked between different platforms) applications in C++?
A. RTTI is too slow.
B. RTTI uses too...
-
January 10th, 2009, 02:28 AM
No worries, understood. Public posting doesn't bother me... Thx for ya help but.
-
January 10th, 2009, 02:15 AM
Sorry about that. New to both forums and felt they may have different users, at different times. So felt a dup would increase the speed of an answer... But I know see both forums are rather good and...
-
January 10th, 2009, 01:49 AM
Cool. Any reason why operator function for a class member must be nonstatic? Why can't they be static?
|
Click Here to Expand Forum to Full Width
|