Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > C Test Incorrectly Uses printf() - Please Confirm

Reply
Thread Tools

C Test Incorrectly Uses printf() - Please Confirm

 
 
Martin
Guest
Posts: n/a
 
      08-10-2010
Well it does appear my answer was correct.

I have tried to contact the author of the quiz, but my e-mail is
bouncing. For those interested, the quiz was created by Seth Lowe and
is on this page: http://bellsouthpwp.net/v/o/voltson/index.html and
the contact e-mail is this: . If any of you can
find a way to contact him, it would be useful.

I composed an e-mail and sent it and when that bounced I tried again
and it bounced again.

Once again, thanks for your responses.

--
Martin
 
Reply With Quote
 
 
 
 
Ben Bacarisse
Guest
Posts: n/a
 
      08-10-2010
Martin <> writes:

> Well it does appear my answer was correct.
>
> I have tried to contact the author of the quiz, but my e-mail is
> bouncing. For those interested, the quiz was created by Seth Lowe and
> is on this page: http://bellsouthpwp.net/v/o/voltson/index.html and
> the contact e-mail is this: . If any of you can
> find a way to contact him, it would be useful.


I see a seriously broken website. No questions visible at all. That's
a shame because you seemed to think it was better than most 9and most
are pretty awful).

<snip>
--
Ben.
 
Reply With Quote
 
 
 
 
Martin
Guest
Posts: n/a
 
      08-10-2010
On 10 Aug, 13:55, Ben Bacarisse <ben.use...@bsb.me.uk> wrote:
> I see a seriously broken website. *No questions visible at all. *That's
> a shame because you seemed to think it was better than most 9and most
> are pretty awful).


On the page I linked to you can download a zip file. I've just done so
and run the executable (after running it through a virus checker) and
it runs the quiz. Some of you may want to try it to see what you
think. I thought it better than most and the explanations given
indicated the author had read the Standard - hence my surprise at what
I thought was the wrong answer given to the question which is the
subject of this thread.

--
Martin
 
Reply With Quote
 
Shao Miller
Guest
Posts: n/a
 
      08-10-2010
On Aug 10, 8:28*am, Martin <martin...@gmail.com> wrote:
> Well it does appear my answer was correct.
>
> I have tried to contact the author of the quiz, but my e-mail is
> bouncing. For those interested, the quiz was created by Seth Lowe and
> is on this page:http://bellsouthpwp.net/v/o/voltson/index.htmland
> the contact e-mail is this: sethl...@TestYourC.com. If any of you can
> find a way to contact him, it would be useful.
>
> I composed an e-mail and sent it and when that bounced I tried again
> and it bounced again.
>
> Once again, thanks for your responses.

I wonder if you could get "islands" out of the arguments with:

printf("%d", (int){++a}, a + 5);

or:

printf("%d", ++a, (int){a + 5});

or:

printf("%d", (int){++a}, (int){a + 5});
 
Reply With Quote
 
Ben Bacarisse
Guest
Posts: n/a
 
      08-10-2010
Martin <> writes:

> On 10 Aug, 13:55, Ben Bacarisse <ben.use...@bsb.me.uk> wrote:
>> I see a seriously broken website. Â*No questions visible at all. Â*That's
>> a shame because you seemed to think it was better than most 9and most
>> are pretty awful).

>
> On the page I linked to you can download a zip file. I've just done so
> and run the executable (after running it through a virus checker) and
> it runs the quiz. Some of you may want to try it to see what you
> think. I thought it better than most and the explanations given
> indicated the author had read the Standard - hence my surprise at what
> I thought was the wrong answer given to the question which is the
> subject of this thread.


Better than many, I agree (though the fact that the website does not
work makes it unusable in general). There is certainly more than one
error though!

--
Ben.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C Test Incorrectly Uses printf() - Please Confirm Martin O'Brien C Programming 147 08-21-2010 05:31 AM
Confirm my Performance Test Against Java? Ben Christensen Ruby 39 09-03-2009 05:20 AM
Please: ITemplate propery being saved incorrectly -- Attributes usage incorrect? S.Sigal ASP .Net Building Controls 0 08-14-2004 02:07 PM
Please: ITemplate propery being saved incorrectly -- Attributes usage incorrect? S.Sigal ASP .Net Web Controls 0 08-14-2004 02:04 PM
test test test test test test test Computer Support 2 07-02-2003 06:02 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57