| |
thread by: Neil Zanella |
last post Jul 22 '05 by: Neil Zanella
Hello,
AFAIK the only way to initialize a reference variable defined inside a class
is to initialize it in an initializer list. However, when there are multiple
constructors, this means that the initializer lists have to be cut and pasted
from one constructor to another. This does not seem to lend itself particularly
well to...
|
thread by: Phlip |
last post Jul 22 '05 by: Phlip
My prof set me this six months ago, but I couldn't be arsed. It's due in in
ten minutes, so I expect a reply real sharpish via E-Mail as I never read
the newsgroups.
The UK National Lottery consists of a random drawing of 6 unique numbers
from a possible 64. Using the results from the twice-weekly draws over the
last year, Neural Networks,...
|
thread by: Milk |
last post Jul 22 '05 by: Milk
Hi, all
i have to input one HEX file into my C++ program and change it in to binary
in my C++ program, so what commond i should use nei?
~ Let us linux ~
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
|
thread by: Eric |
last post Jul 22 '05 by: Eric
HELLO !
I'm looking for a class manipulating big unsigned intergers. I have to
calculate, modulo and multuplications.
Google hasn't been my friend for this question...
Regards,
Eric VIALLE
|
thread by: Kevin Goodsell |
last post Jul 22 '05 by: Kevin Goodsell
I was unable to locate the answer to this question in the (draft)
Standard or in The C++ Standard Library (Josuttis). What should occur
when one attempts to increase the size of a container beyond its max_size()?
The closest thing I found to an answer was that the reserve() member of
std::basic_string and std::vector and the resize() member...
|
thread by: Pierre Phaneuf |
last post Jul 22 '05 by: Pierre Phaneuf
At my workplace, we are in the process of migrating to a component
system similar to COM (but not COM itself, as we have some space and
portability requirements) that uses refcounting for resource management.
My problem is that I would like to find a way of finding out attempts to
use "delete obj" when obj is a pointer to IUnknown or a...
|
thread by: Mark A. Gibbs |
last post Jul 22 '05 by: Mark A. Gibbs
I'm having yet another headache with making a standard allocator. What
behaviour should be expected from the assigment operator? When would it
be called? Why is it there at all, when you can't change allocators in
containers?
To give a little more depth, I have a class like this:
class HeapAllocator
{
// All requirements of the...
|
| |
thread by: Dennis |
last post Jul 22 '05 by: Dennis
Hi
I have a little problem as stated above (haven't found any solution on
the www). I have a list of objects (particles) where I have a member
of a template vector (array1d from TNT). I initialise these members in
the constructor, but when I write different vector values to different
particles the values becomes the same.
I have found...
|
thread by: Peter Nolan |
last post Jul 22 '05 by: Peter Nolan
Hi All,
I have written some software that performs ETL processing to load data
warehouses. Each program accepts a set of parameters and returns 0 or
1 to the win/unix shell to indicate success or failure. Currently it
is run as a set of commands that calls each program and then returns
the return code and stops if the program has failed.
...
|
thread by: sumit |
last post Jul 22 '05 by: sumit
i am trying to restrict deletion on local hard drives i have expertise
in c, c++, and delphi if the solution can be found on any of the above
languages plz inform me.
|
thread by: Allen |
last post Jul 22 '05 by: Allen
Hi all,
I have a tree object I'm writing that searches itself using a recursive
search. Thing is, I'm wanting to also include the ability to simply
transfer execution if I want ("one-way recursion"). _One problem_ with
doing it this way is stack overflow.
What I'm thinking of doing is using "naked" function calls for the
recursive search...
|
thread by: pctv06 |
last post Jul 22 '05 by: pctv06
|
thread by: pctv06 |
last post Jul 22 '05 by: pctv06
|
thread by: j |
last post Jul 22 '05 by: j
|
thread by: pctv06 |
last post Jul 22 '05 by: pctv06
|
| |
thread by: pctv06 |
last post Jul 22 '05 by: pctv06
|
thread by: j |
last post Jul 22 '05 by: j
|
thread by: pctv06 |
last post Jul 22 '05 by: pctv06
|
thread by: source |
last post Jul 22 '05 by: source
function that would: return the 5th element from the end in a singly
linked list of integers, in one pass, and then provide a set of test
cases
against that function.
And please dont think this is my homework.
Can anybody simple tell me how this can be done. I am preparing for an
interview and wanted to know how to go about implementing...
|
thread by: Steven T. Hatton |
last post Jul 22 '05 by: Steven T. Hatton
This may seem like such a simple question, I should be embarrassed to ask
it. The FAQ says an object is "A region of storage with associated
semantics." OK, what exactly is meant by "associated semantics"? What, if
any, associated semantics are shared by all objects? That part seems to go
beyond the FAQ.
Does anybody know of a resource...
|
thread by: ikl |
last post Jul 22 '05 by: ikl
Given three classes:
class A
{
};
class B
{
};
|
thread by: Alex Vinokur |
last post Jul 22 '05 by: Alex Vinokur
===========
Windows 2000
Intel C++ 8.0
===========
------ foo.cpp ------
int main ()
{
for (int i = 0; i < 10; i++);
for (int i = 0; i < 10; i++);
|
thread by: TheFerryman |
last post Jul 22 '05 by: TheFerryman
Why doesn't compile? I would have thought the dtor of Base would call
Derived::f()
struct Base
{
virtual void f() = 0;
virtual ~Base(){f();}
};
|
| |
thread by: christopher diggins |
last post Jul 22 '05 by: christopher diggins
I have written and posted a C++ language extension (HeronFront) which
demonstrates how interfaces can significantly outperform designs that use
multiple inheritance of abstract base classes.
For example the NaiveInt class in the following example in C++ :
http://www.heron-language.com/abc-example.html when rewritten using
interfaces in...
|
thread by: Jörg Striegnitz |
last post Jul 22 '05 by: Jörg Striegnitz
We apologize if you have received this CfP multiple times.
--------------------------------------------------------------------
SECOND CALL FOR CONTRIBUTIONS AND PARTICIPATION
Workshop on
MULTIPARADIGM PROGRAMMING WITH OO LANGUAGES (MPOOL 2004)
(June 14 or 15, TBD)
at the
EUROPEAN CONFERENCE ON OBJECT-ORIENTED PROGRAMMING (ECOOP 2004)
|