Dating

A

Adie

Say i'm a pointer; a promiscuous one at that. And I have a girlfriend who's
a constant pain in the ass but I want to change her. I also have another
girlfriend who's constant but always changing and I want to make her
static. How would I do this?

Examples via code please.
 
J

Jonathan Turkanis

Adie said:
Say i'm a pointer; a promiscuous one at that. And I have a girlfriend
who's a constant pain in the ass but I want to change her. I also
have another girlfriend who's constant but always changing and I want
to make her static. How would I do this?

I see that your instructor hasn't followed the university sensitivity
guidelines.

Jonathan
 
A

alexmdac

You can use const_cast to change your pointer. Beware though, going
through a core dump can be a painful experience.
 
M

Major_Small

Adie said:
Say i'm a pointer; a promiscuous one at that. And I have a girlfriend who's
a constant pain in the ass but I want to change her. I also have another
girlfriend who's constant but always changing and I want to make her
static. How would I do this?

Examples via code please.

I'd say your problem is that you're only a pointer... even if you did
point to a girl, all you'd do is direct others to that girl... If I
were you, I'd define myself as a class with a pointer to another
(female) class, both derived from the same parent classes. that way,
you both are full human beings, and you are more than just a way to
contact the girl for others...
 
A

Adie

Major_Small said:
I'd say your problem is that you're only a pointer... even if you did
point to a girl, all you'd do is direct others to that girl... If I
were you, I'd define myself as a class with a pointer to another
(female) class, both derived from the same parent classes. that way,
you both are full human beings, and you are more than just a way to
contact the girl for others...

Youre right, can I be a singleton as well? This infinite universe thing is
giving me an identity crisis.
 
A

Attila Feher

Adie wrote:
[SNIP]
Youre right, can I be a singleton as well? This infinite universe
thing is giving me an identity crisis.

You can be anything you wanna be. As long as you have the right
citizenship.
 
V

Victor Bazarov

Adie said:
Attila said:
Adie wrote:

Youre right, can I be a singleton as well? This infinite universe
thing is giving me an identity crisis.

You can be anything you wanna be. As long as you have the right
citizenship.


Well like God, I'm an Englishmen, does that help?

I think there is a contradiction in that statement. Or maybe not. Is
God plural (EnglishMEN)? I heard "We are the State" before. I heard,
"We, the Emperor" before. I never heard "I'm an Englishmen"...
 
A

Adie

Victor said:
Adie said:
Attila said:
Adie wrote:


Youre right, can I be a singleton as well? This infinite universe
thing is giving me an identity crisis.

You can be anything you wanna be. As long as you have the right
citizenship.


Well like God, I'm an Englishmen, does that help?

I think there is a contradiction in that statement. Or maybe not. Is
God plural (EnglishMEN)? I heard "We are the State" before. I heard,
"We, the Emperor" before. I never heard "I'm an Englishmen"...

Vic, me old mucker, I think you'll find there's provision for 'Englishman'
or 'Englishmen' in the C++ standard, therefore will you please take your OT
babble to alt.english.usage where it may or may not be found to be
interesting - I'm betting on the latter.
 
V

Victor Bazarov

Adie said:
[...]
Vic, me old mucker, I think you'll find there's provision for 'Englishman'
or 'Englishmen' in the C++ standard, therefore will you please take your OT
babble to alt.english.usage where it may or may not be found to be
interesting - I'm betting on the latter.

*MY* OT babble?
 
M

Mike Wahler

Victor Bazarov said:
Adie said:
Attila said:
Adie wrote:


Youre right, can I be a singleton as well? This infinite universe
thing is giving me an identity crisis.

You can be anything you wanna be. As long as you have the right
citizenship.


Well like God, I'm an Englishmen, does that help?

I think there is a contradiction in that statement. Or maybe not. Is
God plural (EnglishMEN)? I heard "We are the State" before. I heard,
"We, the Emperor" before. I never heard "I'm an Englishmen"...

I've heard a rumor that a certain Queen once uttered:
"We are not amused." Perhaps she was simply a schizophrenic,
or maybe there's some property of the English folk of which
I'm unaware.

:)


-Mike
 
M

Mike Wahler

Mike Wahler said:
Victor Bazarov said:
Adie said:
Attila Feher wrote:

Adie wrote:


[SNIP]


Youre right, can I be a singleton as well? This infinite universe
thing is giving me an identity crisis.

You can be anything you wanna be. As long as you have the right
citizenship.


Well like God, I'm an Englishmen, does that help?

I think there is a contradiction in that statement. Or maybe not. Is
God plural (EnglishMEN)? I heard "We are the State" before. I heard,
"We, the Emperor" before. I never heard "I'm an Englishmen"...

I've heard a rumor that a certain Queen once uttered:
"We are not amused." Perhaps she was simply a schizophrenic,
or maybe there's some property of the English folk of which
I'm unaware.

:)

Hmm, was Alice (of "Looking Glass" fame) an Englishwoman?
That might explain this issue of 'self-image'.

But C++ doesn't have 'reflection', so I guess I'm OT now.

:)

-Mike
 
A

Adie

Victor said:
Adie said:
[...]
Vic, me old mucker, I think you'll find there's provision for 'Englishman'
or 'Englishmen' in the C++ standard, therefore will you please take your OT
babble to alt.english.usage where it may or may not be found to be
interesting - I'm betting on the latter.

*MY* OT babble?

cout<<"Sorry Vic, this group's topic is C++, therefore please cease and
desist from usage of any language other than C++.\n";
cout<<"THAT MEANS NO MORE ENGLISH FROM YOU!\n";
 
V

Victor Bazarov

Adie said:
Victor Bazarov wrote:

Adie said:
[...]
Vic, me old mucker, I think you'll find there's provision for 'Englishman'
or 'Englishmen' in the C++ standard, therefore will you please take your OT
babble to alt.english.usage where it may or may not be found to be
interesting - I'm betting on the latter.

*MY* OT babble?


cout<<"Sorry Vic, this group's topic is C++, therefore please cease and
desist from usage of any language other than C++.\n";

Error: newline in string literal.
 
A

Adie

Victor said:
Adie said:
Victor Bazarov wrote:

Adie wrote:

[...]
Vic, me old mucker, I think you'll find there's provision for 'Englishman'
or 'Englishmen' in the C++ standard, therefore will you please take your OT
babble to alt.english.usage where it may or may not be found to be
interesting - I'm betting on the latter.

*MY* OT babble?


cout<<"Sorry Vic, this group's topic is C++, therefore please cease and
desist from usage of any language other than C++.\n";

Error: newline in string literal.

#include "stdafx.h"

int main()
{
std::cout<<"vic, don't be an arse\n";
return 0;
}
 
V

Victor Bazarov

Adie said:
Victor Bazarov wrote:

Adie said:
Victor Bazarov wrote:



Adie wrote:


[...]
Vic, me old mucker, I think you'll find there's provision for 'Englishman'
or 'Englishmen' in the C++ standard, therefore will you please take your OT
babble to alt.english.usage where it may or may not be found to be
interesting - I'm betting on the latter.

*MY* OT babble?


cout<<"Sorry Vic, this group's topic is C++, therefore please cease and
desist from usage of any language other than C++.\n";

Error: newline in string literal.


#include "stdafx.h"

Error: file not found: stdafx.h
int main()
{
std::cout<<"vic, don't be an arse\n";

Error: 'std' - unknown class or namespace
return 0;
}

How long will it take for you to actually write well-formed C++ code?

Ah, who cares, to the killfile you go...
 
A

Adie

Victor said:
Adie said:
Victor Bazarov wrote:

Adie wrote:

Victor Bazarov wrote:



Adie wrote:


[...]
Vic, me old mucker, I think you'll find there's provision for 'Englishman'
or 'Englishmen' in the C++ standard, therefore will you please take your OT
babble to alt.english.usage where it may or may not be found to be
interesting - I'm betting on the latter.

*MY* OT babble?


cout<<"Sorry Vic, this group's topic is C++, therefore please cease and
desist from usage of any language other than C++.\n";

Error: newline in string literal.


#include "stdafx.h"

Error: file not found: stdafx.h
int main()
{
std::cout<<"vic, don't be an arse\n";

Error: 'std' - unknown class or namespace
return 0;
}

How long will it take for you to actually write well-formed C++ code?

While you're still chomping the bait, forever.
Ah, who cares, to the killfile you go...

You ever thought you might be wrapped a little too tightly for this usenet
malarky, eh vic'ers?
 
A

Adios

Attila said:
Adie said:
Attila said:
Adie wrote:

Youre right, can I be a singleton as well? This infinite universe
thing is giving me an identity crisis.

You can be anything you wanna be. As long as you have the right
citizenship.

Well like God, I'm an Englishmen, does that help?

Did it help the ones on Guantanamo?

God's never claimed to be fair - in fact, I'm not sure if He's ever claimed
anything.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,200
Messages
2,571,046
Members
47,646
Latest member
xayaci5906

Latest Threads

Top