Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #9638
| From | red floyd <no.spam.here@its.invalid> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: Am I not confident enuff to do this? |
| Date | 2011-09-01 17:01 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <j3p6de$e5a$1@dont-email.me> (permalink) |
| References | <rchq57132mpjq7hc75ccb5ivcfin294vl5@4ax.com> <58593d90-dfbc-47ce-b6a9-a0726f138ea4@l4g2000vbv.googlegroups.com> |
On 9/1/2011 3:56 PM, James Kanze wrote:
> On Aug 30, 9:31 pm, Heck
> <heckja...@ordertostymieharvestersverizon.net> wrote:
>> I was given a programming question on a tech test that made me doubt
>> myself. It seemed too simple. Did I miss something? This is the
>> text of the question exactly as I got it:
>
>> Without defining any new variable or passing an argument to function,
>> I want you to be able to increment a number every time this method is
>> called. (Chose a language of your choice and write a fully compilable
>> method)
>
>> [redacted]
> The wording of the qustion is atrocious, but perhaps what was
> meant was something like:
>
> void incr( int& var )
> {
> ++ var;
> }
>
Nope. Doesn't meet the requirements. Says no function arguments
allowed.
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Am I not confident enuff to do this? Heck <heckja_in@ordertostymieharvestersverizon.net> - 2011-08-30 16:31 -0400
Re: Am I not confident enuff to do this? Paavo Helde <myfirstname@osa.pri.ee> - 2011-08-30 15:50 -0500
Re: Am I not confident enuff to do this? Heck <heckja_in@ordertostymieharvestersverizon.net> - 2011-08-30 23:50 -0400
Re: Am I not confident enuff to do this? Ian Collins <ian-news@hotmail.com> - 2011-08-31 16:00 +1200
Re: Am I not confident enuff to do this? "Waldek M." <wm@localhost.localdomain> - 2011-08-31 18:43 +0200
Re: Am I not confident enuff to do this? Juha Nieminen <nospam@thanks.invalid> - 2011-08-31 06:24 +0000
Re: Am I not confident enuff to do this? hanukas <jukka@liimatta.org> - 2011-08-31 01:13 -0700
Re: Am I not confident enuff to do this? Edek <edek.pienkowski@gmail.com> - 2011-08-31 22:55 +0200
Re: Am I not confident enuff to do this? Krice <paulkp@mbnet.fi> - 2011-09-01 00:00 -0700
Re: Am I not confident enuff to do this? "hugo_ribeira@hotmail.com" <hugo_ribeira@hotmail.com> - 2011-09-01 03:27 -0700
Re: Am I not confident enuff to do this? James Kanze <james.kanze@gmail.com> - 2011-09-01 15:56 -0700
Re: Am I not confident enuff to do this? red floyd <no.spam.here@its.invalid> - 2011-09-01 17:01 -0700
Re: Am I not confident enuff to do this? Joe Greer <jgreer@doubletake.com> - 2011-09-02 15:34 +0000
Re: Am I not confident enuff to do this? Paavo Helde <myfirstname@osa.pri.ee> - 2011-09-02 10:47 -0500
Re: Am I not confident enuff to do this? Daniel Bradley <daniel@bradley.mx> - 2011-09-07 14:58 +0000
Re: Am I not confident enuff to do this? "Thomas J. Gritzan" <phygon_antispam@gmx.de> - 2011-09-12 03:31 +0200
csiph-web