Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Second Highest number in an array

Reply
Thread Tools

Second Highest number in an array

 
 
Mark McIntyre
Guest
Posts: n/a
 
      01-31-2006
On Tue, 31 Jan 2006 23:34:00 +0100, in comp.lang.c , RSoIsCaIrLiIoA
<(E-Mail Removed)> wrote:

>On 31 Jan 2006 05:07:08 -0800, "Vladimir S. Oka"
><(E-Mail Removed)> wrote:
>
>>RSoIsCaIrLiIoA wrote:
>>> //////////////////////////////////////

>>
>>Don't use `//`, at least not in the posts.

>
>why? Because it is not in the standard as line begin comment chars?


// because wrapped comment lines will not be comments any
more,

and because some broken mail clients interpret // as being part of a
url.

Mark McIntyre
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
 
Reply With Quote
 
 
 
 
Keith Thompson
Guest
Posts: n/a
 
      02-01-2006
RSoIsCaIrLiIoA <(E-Mail Removed)> writes:
> On 31 Jan 2006 05:07:08 -0800, "Vladimir S. Oka"
> <(E-Mail Removed)> wrote:
>
>>RSoIsCaIrLiIoA wrote:
>>> //////////////////////////////////////

>>
>>Don't use `//`, at least not in the posts.

>
> why? Because it is not in the standard as line begin comment chars?


Because they're not supported by all compilers, and because long "//"
comments are often line-wrapped, creating syntax errors even for
compilers that support them.

[snip]

> section _DATA public align=4 class=DATA use32
>
> global _primi2
>
> section _TEXT public align=1 class=CODE use32
>
>
> ; s= 0r, 4c, 8b, 12Ra, 16@p1, 20@p2, 24@arr, 28@size
> _primi2:
> push ebx
> push ecx
> push edx

[68 lines deleted]

Why do you keep posting assembly language to comp.lang.c? An assembly
listing generated by a C compiler *might* be topical in some rare
circumstances, but this appears to be hand-written. I'm sure there's
a newsgroup where assembly language for whatever CPU you're using
(x86?) might be topical. This isn't it.

--
Keith Thompson (The_Other_Keith) http://www.velocityreviews.com/forums/(E-Mail Removed) <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
 
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
strip all but second second line from bottom and then strip that!!!! yelipolok Perl Misc 4 01-27-2010 08:14 AM
Motherboard with the highest number of PCI-Express slots Luca Villa Computer Support 2 01-07-2008 07:00 PM
sort a number highest to lowest rhitz1218@gmail.com C Programming 17 12-11-2006 04:25 AM
OT: Number Nine, Number Nine, Number Nine FrisbeeŽ MCSE 37 09-26-2005 04:06 PM
Rounding to next highest number? NoKetch C Programming 7 12-15-2003 11:23 PM



Advertisments