|
Hi, i have
class Base { Base* next; } class Class1 : Base { } Base* pBase = new Base(); Class1* pTest = new Class1(); pBase->next = pTest; Class1* pClass1; pClass1 = (Class1*)pBase->next;
I want to be able to write
pClass1 = pBase->next;
and ...
Started by AOI Karasu on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
*() { return (Class1*)this; } }; class Class1 : public Base { };
and:
Base* pBase = new Base(); Class1* pTest = new Class1(); pBase->next = pTest; Class1* pClass1; pClass1 = *pBase->next.
|
|
Hi all,
What photo sharing service would you consider most adequate to put your photographs on display, targeting an audience that shares your interests? (In opposite to sharing pictures in large with your family/friends, for which you would probably ...
Started by Tordan58 on
, 11 posts
by 8 people.
Answer Snippets (Read the full thread at e-group):
It just takes a bit of getting used....
There are also hundreds of specialised groups.
I've used Flickr for years, but I'm increasingly using Google+
I have a "circle" with over 500 UK photographers in it and find it invaluable for help/advice and comments .
|
|
Firefox shrinks the content in all Gallery pages (not only my own) but not forum pages.
Explorer works Ok.
Mats
Started by by matsk on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at pbase):
So if I zoom out on http://www.pbase....
DaveT It looks like Firefox 10 has sticky zoom on domains .
The zoom setting affects the text size, but not the thumbnails .
Have been running Firefox 6.0.1 here on Windows 7 x64 without problems as far as I can see .
|
Ask your Facebook Friends
|
On Mon, 09 Feb 2009 16:38:08 -0600, Rich <none@nowhere.com
Notice the colour/contrast changes from PS CS3 images when uploaded to
pbase? Anyone know why this happens?
http://www.pbase.com/andersonrm/image/109055252
Started by Rich on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at omgili):
The primary use of
crossposting is to....
Your "rule"
would be counter productive.
There is no such rule for cross posting.
D-Mac" <alienjones@y7mail.com
I've never heard of anyone doing that, and frankly it
would be damned stupid of anyone does .
|
|
De temps en temps, je vais m’enivrer avec des images chez PBase photo.
Mais un conseil, pour ceux qui ne connaissent pas encore, n’y allez pas…………
Parce qu’après vous n’oserez plus faire une seule photo avec votre appareil, c’est purement époustouflant...
Started by gfm on
, 7 posts
by 5 people.
Answer Snippets (Read the full thread at forumlumix):
Comme quoi tout n....
Avec les travaux que l'on peut voir ici !
Je trouve de très belle photos sur PBase, c'est sûr, mais je PBase !! (OK, il y a beaucoup de photos test, mais chez nous aussi on essaie ! )
Je prends un bien surexposé !!
...
|
|
Class Base { public: virtual void foo() {} }; class Derived: public Base { public: virtual void foo() {} }; int main() { Base *pBase = NULL; Base objBase; Derived objDerived; pBase = &objDerived; pBase->foo(); /*Here Derived class foo will be called...
Started by coolcake on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
pBase->Base::foo()
You can do it through scope resolution operator ::
Something like this:
pBase->Base::foo()
Both responses above are correct...But be careful, if you need to do that, maybe.
|
|
Is this scenario even possible?
class Base { int someBaseMemer; }; template<class T> class Derived : public T { int someNonBaseMemer; Derived(T* baseInstance); };
Goal:
Base* pBase = new Base(); pBase->someBaseMemer = 123; // Some value set Derived...
Started by AOI Karasu on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Use inheritance to do the job for you:
class Base { public: Base(int x) : someBaseMemer(x) {} protected: // at least, otherwise... .
Why would you want to derive and pass the base pointer at the same time? Choose either, nothing stops you from having both .
|
|
Hi
Is there a way to donwload all my photos from pBase to put on DVD?
Thanks
Started by by akumos on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at pbase):
I did mine by having flickr import them.
It can be done, a real pain though.
Be careful to pump out only http://www.pbase.com/akumos/ and not all pbase! Did you uploading to PBase.
Hard drive.
|
|
I found these photos on pbase.
http://www.pbase.com/adepaepe/white_turf_2011
Started by DaTruth on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at derbytrail):
Http://www.pbase.com/adepaepe/white_turf_2011 Wild stuff.
|
|
Pensive Robert
The Shuttered Eye --|-- My pBase
40d/Sigma 24-60mm 2.8/85mm 1.8/70-200mm 2.8 L
Started by ShutteredEye on
, 8 posts
by 4 people.
Answer Snippets (Read the full thread at thephotoforum):
LOL Robert
The Shuttered Eye --|-- My pBase
40d/Sigma....
Pbase always adds its own special sauce too.
None taken.
At this size disappears into the pixels.
--|-- My pBase
40d/Sigma 24-60mm 2.8/85mm 1.8/70-200mm 2.8 L No insult intended.
|