Thursday, January 28, 2010

comp.lang.c++ - 8 new messages in 6 topics - digest

comp.lang.c++
http://groups.google.com/group/comp.lang.c++?hl=en

comp.lang.c++@googlegroups.com

Today's topics:

* generate rand number - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/fcb11e63c73e0db8?hl=en
* C++ Goldmine has been updated: http://preciseinfo.org/Convert/index_Convert_
CPP.html
- 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/46e5124eeae4d29a?hl=en
* Can Someone please help me with my Computer stuff? 54463 - 1 messages, 1
author
http://groups.google.com/group/comp.lang.c++/t/0d22de06aa593ed0?hl=en
* Math/CompSci Interview Question - Thoughts? - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/a1cffd71c99a2dd0?hl=en
* Type of elements of std::string - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/b6aba4785e69df38?hl=en
* ♠♤♠♤♠♤Hot sale cheap bed sheet, umbrella, crimping iron, Bose at www.ecyaya.
com - 3 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/990cbfdd74fb6ed7?hl=en

==============================================================================
TOPIC: generate rand number
http://groups.google.com/group/comp.lang.c++/t/fcb11e63c73e0db8?hl=en
==============================================================================

== 1 of 1 ==
Date: Wed, Jan 27 2010 6:39 pm
From: Bo Schwarzstein


On Jan 27, 9:25 am, James Kanze <james.ka...@gmail.com> wrote:
> On Jan 26, 1:54 pm, "Larry" <dontmewit...@got.it> wrote:
>
> > I need to create a tiny function to generate a random number
> > ranging from: 1000000 to 9999999. Also, the number should be
> > unique even if I call the function 100 times in a second...can
> > it actually be done?
>
> So which is it?  Do the numbers have to be unique, or should
> they be random?  (One excludes the other -- if they have to be
> unique, then they can't be truely random.)
>
> > All I know for the moment is this: srand(time(0)): rand(); but it is not
> > that great :-(
>
> The quality of the random number generated in the standard
> library is a quality of implementation issue.  Some are fairly
> good, but a lot are horrid.  It's fairly simple to implement
> your own, and even simpler to use Boost's functions.
>
> --
> James Kanze

Try boost.random or GSL routines.

==============================================================================
TOPIC: C++ Goldmine has been updated: http://preciseinfo.org/Convert/index_
Convert_CPP.html

http://groups.google.com/group/comp.lang.c++/t/46e5124eeae4d29a?hl=en
==============================================================================

== 1 of 1 ==
Date: Wed, Jan 27 2010 6:44 pm
From: tanix@mongo.net (tanix)


Good news:

Site search has been fully implemented.

You can search the entire Java collection or a single chapter
related to specific context to find what you are looking for.

Bad news:

We are currently out of sync with google.
So, if you do a google search you might see a different article
than what google shows.

C++ Goldmine collection contains the extensive collection of articles
going back several years. It includes thousands of code
examples and expert discussions on all major topics.

The information is organized by relevant topics, covered by the
corresponding chapters.

The information was filtered with sophisticated filters and vast
majority of artilces with little relevance have been filtered out.

If you have any specific requests for some new chapters to be added
and it is of interest to others, please post your requests on this
thread.

If anyone feels he has above average level of competence, or can
reccommend someone who posts on this group, you may request to be
included in the expert chapters.

The C++ Goldmine is at:
http://preciseinfo.org/Convert/index_Convert_CPP.html

--
Programmer's Goldmine collections:

http://preciseinfo.org

Tens of thousands of code examples and expert discussions on
C++, MFC, VC, ATL, STL, templates, Java, Python, Javascript, PHP,
organized by major topics of language, tools, methods, techniques.

All collections are fully searchable down to specific chapter.

==============================================================================
TOPIC: Can Someone please help me with my Computer stuff? 54463
http://groups.google.com/group/comp.lang.c++/t/0d22de06aa593ed0?hl=en
==============================================================================

== 1 of 1 ==
Date: Wed, Jan 27 2010 6:53 pm
From: Daniel Pitts


On 1/27/2010 12:54 PM, Andy Champ wrote:
> Virgina Hernandez wrote:
an obvious spam message to many newsgroups.
> You have posted your request in a newsgroup specifically aimed at the
> computer language C++. There are probably people here who could advise
> you - but that is not what this group is for.
>
> The type of computer you need is dependent entirely on what you are
> going to use it for. I would suggest you go and talk to someone nearby -
> a school or college would be a good place.
>
> Finally I'd avoid eBay. If you get something which is faulty you are not
> going to have the experience to understand what is wrong, and even
> whether or not it's you that is causing the problem.
>
> Good Luck
>
> Andy
You have now propagated the link, and bypassed some peoples kill files.
Good work Andy.

On a side note, your advice isn't terrible if the OP was real.

--
Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>

==============================================================================
TOPIC: Math/CompSci Interview Question - Thoughts?
http://groups.google.com/group/comp.lang.c++/t/a1cffd71c99a2dd0?hl=en
==============================================================================

== 1 of 1 ==
Date: Wed, Jan 27 2010 9:18 pm
From: websnarf


Andrew Tomazos <and...@tomazos.com> wrote:
> I was posed the following question in a technical interview for a
> Software Engineering position by a major multinational NASDAQ company:
>
> [Paraphrasing] "You are given an array of 1,000,000 32-bit integers.
> One int value x occurs 500,001 times or more in the array. Specify an
> algorithm to determine x."

I missed your original post, but dug up the following that might be of
interest:

http://www.cs.utexas.edu/users/moore/best-ideas/mjrty/index.html

--
Paul Hsieh
http://www.pobox.com/~qed/
http://bstring.sf.net/

==============================================================================
TOPIC: Type of elements of std::string
http://groups.google.com/group/comp.lang.c++/t/b6aba4785e69df38?hl=en
==============================================================================

== 1 of 1 ==
Date: Wed, Jan 27 2010 10:07 pm
From: Jerry Coffin


In article <5fCdnegTIMLC9f3WnZ2dnUVZ8lydnZ2d@giganews.com>,
leigh@i42.co.uk says...

[ ... ]

> istream::gcount() will tell you how many characters were read by
> the last call to istream::read

Ah, quite right. I should have thought of that...

--
Later,
Jerry.

==============================================================================
TOPIC: ♠♤♠♤♠♤Hot sale cheap bed sheet, umbrella, crimping iron, Bose at www.
ecyaya.com
http://groups.google.com/group/comp.lang.c++/t/990cbfdd74fb6ed7?hl=en
==============================================================================

== 1 of 3 ==
Date: Thurs, Jan 28 2010 12:12 am
From: hero


♠♤♠♤♠♤Hot sale cheap bed sheet, umbrella, crimping iron, Bose at
www.ecyaya.com

Hot sale cheap LV 4 sets bed in a bag at www.ecyaya.com

Hot sale cheap Gucci 4 sets bed in a bag at www.ecyaya.com

Hot sale cheap Fendi 4 sets in a bag at www.ecyaya.com

Hot sale cheap Dior 4 sets in a bag at www.ecyaya.com

Hot sale cheap Coach 4 sets bed in a bag at www.ecyaya.com

Hot sale cheap CK 4 set bed in a bag at www.ecyaya.com

Hot sale cheap Chanel 4 sets in a bag at www.ecyaya.com

Hot sale cheap Burberry 4 sets in a bag at www.ecyaya.com

Hot sale cheap LV6 sets bed in a bag at www.ecyaya.com

Hot sale cheap Gucci 6 sets bed in a bag at www.ecyaya.com

Hot sale cheap Fendi 6 sets in a bag at www.ecyaya.com

Hot sale cheap Dior 6 sets in a bag at www.ecyaya.com

Hot sale cheap Coach 6 sets bed in a bag at www.ecyaya.com

Hot sale cheap CK 6 set bed in a bag at www.ecyaya.com

Hot sale cheap Chanel 6 sets in a bag at www.ecyaya.com

Hot sale cheap Burberry 6 sets in a bag at www.ecyaya.com

Hot sale cheap Umbella at www.ecyaya.com

Hoe sale cheap Bose at www.ecyaya.com

Hot sale cheap crimping iron at www.ecyaya.com


Welcome to my website www.ecyaya.com for more details, the bedsheet
have different styles, different colors for your reference.

== 2 of 3 ==
Date: Thurs, Jan 28 2010 12:12 am
From: hero


♠♤♠♤♠♤Hot sale cheap bed sheet, umbrella, crimping iron, Bose at
www.ecyaya.com

Hot sale cheap LV 4 sets bed in a bag at www.ecyaya.com

Hot sale cheap Gucci 4 sets bed in a bag at www.ecyaya.com

Hot sale cheap Fendi 4 sets in a bag at www.ecyaya.com

Hot sale cheap Dior 4 sets in a bag at www.ecyaya.com

Hot sale cheap Coach 4 sets bed in a bag at www.ecyaya.com

Hot sale cheap CK 4 set bed in a bag at www.ecyaya.com

Hot sale cheap Chanel 4 sets in a bag at www.ecyaya.com

Hot sale cheap Burberry 4 sets in a bag at www.ecyaya.com

Hot sale cheap LV6 sets bed in a bag at www.ecyaya.com

Hot sale cheap Gucci 6 sets bed in a bag at www.ecyaya.com

Hot sale cheap Fendi 6 sets in a bag at www.ecyaya.com

Hot sale cheap Dior 6 sets in a bag at www.ecyaya.com

Hot sale cheap Coach 6 sets bed in a bag at www.ecyaya.com

Hot sale cheap CK 6 set bed in a bag at www.ecyaya.com

Hot sale cheap Chanel 6 sets in a bag at www.ecyaya.com

Hot sale cheap Burberry 6 sets in a bag at www.ecyaya.com

Hot sale cheap Umbella at www.ecyaya.com

Hoe sale cheap Bose at www.ecyaya.com

Hot sale cheap crimping iron at www.ecyaya.com


Welcome to my website www.ecyaya.com for more details, the bedsheet
have different styles, different colors for your reference.

== 3 of 3 ==
Date: Thurs, Jan 28 2010 12:12 am
From: hero


♠♤♠♤♠♤Hot sale cheap bed sheet, umbrella, crimping iron, Bose at
www.ecyaya.com

Hot sale cheap LV 4 sets bed in a bag at www.ecyaya.com

Hot sale cheap Gucci 4 sets bed in a bag at www.ecyaya.com

Hot sale cheap Fendi 4 sets in a bag at www.ecyaya.com

Hot sale cheap Dior 4 sets in a bag at www.ecyaya.com

Hot sale cheap Coach 4 sets bed in a bag at www.ecyaya.com

Hot sale cheap CK 4 set bed in a bag at www.ecyaya.com

Hot sale cheap Chanel 4 sets in a bag at www.ecyaya.com

Hot sale cheap Burberry 4 sets in a bag at www.ecyaya.com

Hot sale cheap LV6 sets bed in a bag at www.ecyaya.com

Hot sale cheap Gucci 6 sets bed in a bag at www.ecyaya.com

Hot sale cheap Fendi 6 sets in a bag at www.ecyaya.com

Hot sale cheap Dior 6 sets in a bag at www.ecyaya.com

Hot sale cheap Coach 6 sets bed in a bag at www.ecyaya.com

Hot sale cheap CK 6 set bed in a bag at www.ecyaya.com

Hot sale cheap Chanel 6 sets in a bag at www.ecyaya.com

Hot sale cheap Burberry 6 sets in a bag at www.ecyaya.com

Hot sale cheap Umbella at www.ecyaya.com

Hoe sale cheap Bose at www.ecyaya.com

Hot sale cheap crimping iron at www.ecyaya.com


Welcome to my website www.ecyaya.com for more details, the bedsheet
have different styles, different colors for your reference.

==============================================================================

You received this message because you are subscribed to the Google Groups "comp.lang.c++"
group.

To post to this group, visit http://groups.google.com/group/comp.lang.c++?hl=en

To unsubscribe from this group, send email to comp.lang.c+++unsubscribe@googlegroups.com

To change the way you get mail from this group, visit:
http://groups.google.com/group/comp.lang.c++/subscribe?hl=en

To report abuse, send email explaining the problem to abuse@googlegroups.com

==============================================================================
Google Groups: http://groups.google.com/?hl=en

No comments: