473,382 Members | 1,611 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Dating

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.
Jul 23 '05 #1
24 1384
Adie wrote:
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
Jul 23 '05 #2
You can use const_cast to change your pointer. Beware though, going
through a core dump can be a painful experience.

Adie wrote:
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.


Jul 23 '05 #3
Adie wrote:
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...

Jul 23 '05 #4
Major_Small wrote:
Adie wrote:
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...


Youre right, can I be a singleton as well? This infinite universe thing is
giving me an identity crisis.
Jul 23 '05 #5
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.

--
Attila aka WW
Jul 23 '05 #6
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?
Jul 23 '05 #7
Adie wrote:
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"...
Jul 23 '05 #8
Victor Bazarov wrote:
Adie wrote:
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"...


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.
Jul 23 '05 #9
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?
Jul 23 '05 #10

"Victor Bazarov" <v.********@comAcast.net> wrote in message
news:ZL*******************@newsread1.mlpsca01.us.t o.verio.net...
Adie wrote:
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.

:-)
-Mike
Jul 23 '05 #11

"Mike Wahler" <mk******@mkwahler.net> wrote in message
news:nS*****************@newsread3.news.pas.earthl ink.net...

"Victor Bazarov" <v.********@comAcast.net> wrote in message
news:ZL*******************@newsread1.mlpsca01.us.t o.verio.net...
Adie wrote:
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
Jul 23 '05 #12
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";
cout<<"THAT MEANS NO MORE ENGLISH FROM YOU!\n";
Jul 23 '05 #13
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.
cout<<"THAT MEANS NO MORE ENGLISH FROM YOU!\n";

Jul 23 '05 #14
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"

int main()
{
std::cout<<"vic, don't be an arse\n";
return 0;
}
Jul 23 '05 #15
Adie wrote:
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?

Ah, who cares, to the killfile you go...
Jul 23 '05 #16
Victor Bazarov wrote:
Adie wrote:
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?
Jul 23 '05 #17
Adie wrote:
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?


Did it help the ones on Guantanamo?

--
Attila aka WW
Jul 23 '05 #18
Mike Wahler wrote:
[SNIP]
But C++ doesn't have 'reflection', so I guess I'm OT now.


If C++ doesn't have reflection, does that mean that it is a vampire?

--
Attila aka WW
Jul 23 '05 #19
Attila Feher wrote:
Adie wrote:
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?


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.
Jul 23 '05 #20
"Mike Wahler" <mk******@mkwahler.net> wrote in message
news:nS*****************@newsread3.news.pas.earthl ink.net...

"Victor Bazarov" <v.********@comAcast.net> wrote in message
news:ZL*******************@newsread1.mlpsca01.us.t o.verio.net...
Adie wrote:
Attila Feher wrote:

>Adie wrote:

>[SNIP]

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.


Ah, that's known as the "Royal \"we\"". Former PM Margeret Thatcher used to
slip into this usage on occasion... for which she was roundly condemmed as
getting ideas above her station/putting on airs and graces, etc. Rum lot,
the English.

Anyway, correct application would be: "Like God, we're an Englishman".

--
Lionel B

Jul 23 '05 #21
Adios wrote:
Attila Feher wrote:
Adie wrote:
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?


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.


In what way that statement is related to my question?

--
Attila aka WW
Jul 23 '05 #22
Attila Feher wrote:
Adios wrote:
Attila Feher wrote:
Adie wrote:
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?

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.


In what way that statement is related to my question?


I'm sorry, the question was so bloody idiotic that I didn't for one moment
think you wanted a straight answer.

If you'd like to explain why you think I'd have any idea of what life's
like in Guantanamo or how God feels about his fellow Englishmen, we might
be able to get to the crux of your muddled thinking.
Jul 23 '05 #23
Adios wrote:
Attila Feher wrote:
Adios wrote:
Attila Feher wrote:
Adie wrote:
> 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?

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.
In what way that statement is related to my question?


I'm sorry, the question was so bloody idiotic that I didn't for one
moment think you wanted a straight answer.


Well, what did you expect in an idiotic thread, started by an idiotic OP?
If you'd like to explain why you think I'd have any idea of what
life's like in Guantanamo or how God feels about his fellow
Englishmen, we might be able to get to the crux of your muddled
thinking.


Or, I can just simple send you troll deep down to the bottom of my killfile.

*PLONK*

--
Attila aka WW
Jul 23 '05 #24
Attila Feher wrote:
Adios wrote:
Attila Feher wrote:
Adios wrote:
Attila Feher wrote:
> Adie wrote:
>> 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?
>
> 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.

In what way that statement is related to my question?


I'm sorry, the question was so bloody idiotic that I didn't for one
moment think you wanted a straight answer.


Well, what did you expect in an idiotic thread, started by an idiotic OP?


Heh, no one forced you to participate did they?
If you'd like to explain why you think I'd have any idea of what
life's like in Guantanamo or how God feels about his fellow
Englishmen, we might be able to get to the crux of your muddled
thinking.


Or, I can just simple send you troll deep down to the bottom of my killfile.

*PLONK*


You big girl's blouse.
Jul 23 '05 #25

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Michael Lawrence | last post by:
I am looking to start up a comprehensive Adult dating website and I need pre-made PHP scripts to set up the back-end for this project. Preferably someone out there has a set of pre-made scripts...
7
by: fbionyourtail | last post by:
Been looking for a good PHP based dating script that is reasonably priced for a while. Several come close but are unfinished. I've already been burned by scripts almost done and then a complete...
4
by: marvado | last post by:
Hi, Does anybody know of a good and FREE dating/personals script? I need to put one on my website and looked everywhere for it. Only I found was AzDGDating, but doesn't cover many aspects of a...
1
by: magia | last post by:
Start or professionally redesign your dating website with MAGIA Dating Site Design (www.qesign.com/psd-dating.shtml). Online dating is an ever expanding industry! *** Very attractive stylish...
4
by: PD | last post by:
Hello everyone, I had posted a question regarding how to design high traffic fast dating website on different PHP groups. I got a lot of useful responses. I have added links to all the posts...
4
by: Abs | last post by:
Hi all, Wondering if you could help.. i'm looking for an ASP dating application for my site. Preferably classic ASP as i don't know ASP.net. Any pointers would be highly appreciated. Thanks!
4
by: Aaron | last post by:
AJ Dating Script is built with focus on increased ease of users and raised profits of webmasters. PHP/My SQL development are the cornerstone of our work. We also provide solutions in various...
3
by: Aaron | last post by:
AJ Dating is software for Dating sites which is immensely structured by AJ SQUARE INC. AJ Dating is a Dating Software Script. The user can search for users by using quick search, easy search and...
0
by: ahmik.flock | last post by:
AJ Dating is a Dating Software Script. The user can search for users by using quick search, easy search and advanced search. Quick search searches based on Gender and Age, Country living and photo....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.