Nico Heinze wrote: > --- In [email protected], "onecrazeemom" <[EMAIL PROTECTED]> > wrote: >> Actually I am supposed to write one program to roll two >> dice Twice. Once with pointers and once with references... >> Okay that was clear as mud... I am to write TWO programs >> one using pointers and one using references. The program >> is supposed to return the value of the dice roll. >> >> Is that better? I'm in trouble if I can't even explain >> myself in English.... how am I to program in Greek - >> well that's what C++ seems like right now anyway! > <snip> > > Stephanie, > > don't mind, everyone of us (maybe except Thomas ;-) ) sometimes feels
I live, eat, breathe, and sleep code. What can I say? If C++ were a spoken language, I'd probably speak it too. > Don't mind that sometimes this looks worse than Greek to you; we all > have encountered such cases more often than we like to. Just keep > going on and asking, you've come across the right places (this group > and cprogramming2). > > Cheers, > Nico Ask questions, show effort/post source code, and answers ye shall receive. We understand your goal. We have seen MUCH worse posts around here that score only slightly above gibberish. However, since the programs you want to write are about 10 lines of code each and basically identical, it will likely make it difficult to help without providing the solution. Here's a starting hint though: You are looking for the 'rand()' function (in cstdlib). Don't be afraid to write code. The worst thing you can do at this point is crash the program, which will give you a chance to try out your debugger. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
