Installing RxLib

Feb 9, 2010 at 9:34pm
Hi boys:

First, I am sorry about my English... I am from Cuba.

I am new in this forum.
I was programming in C++ Builder 6. The application I am building needs a dice. I found in the Internet some blogs talking about the JvDice and RxDice (or CxDice??) Well, the point is that I downloaded RxLib for C++ Builder 6, a file named RxCbuilder6.exe. This file is just a Winzip extractor. It extracts 192 files (*.pas, *.dfm, *.dpk, etc), but no one is a *.exe

So, How can I install the RxLib in my C++ Builder 6 IDE?????

Another library I found in the Internet was JCL&JVCL. I was reading the Install.htm file in order to understand the way it has to be installed, but when I run the installer file, the showed window only "sees" the Delphi IDE instalation I have in my machine... It doesn't see the C++ Builder IDE instalation...

So, I don't have installed neither RxLib nor JCL&JVCL in my machine.

Note: I tried to install JCL&JVCL for Delphi IDE, and it worked!!

So, what should I use, or what can I do in order to install either one of the two libraries (or both)????

Thanks anymore,
Yulién.


Feb 9, 2010 at 10:12pm
Because you tried to speak English I will help you.

I am building needs a dice


By this you mean you need a randomizer?
Feb 9, 2010 at 10:12pm
If you need just random numbers, you can get by with standard library material in the cstdlib library. Just be sure to call srand() once and only once before attempting any calls to rand().
Feb 9, 2010 at 10:14pm
If you call rand() % 4 you will get a number from 1-4.
Feb 9, 2010 at 10:42pm
No - it's 0 - 3
Feb 9, 2010 at 11:16pm
Feb 10, 2010 at 1:37pm
Thanks for your answers, guys... but I need a Dice, a visual component...

I have to show a rotating dice in he form.

There is any else library supporting dice??

If not, How to install RxLib in C++ Builder 6???
Feb 10, 2010 at 9:18pm
I have no idea what RxLib is but you can perform some simple graphics with SDL. SDL is used quite a bit.
http://lazyfoo.net/SDL_tutorials/lesson01/index.php
By the way you may want to move up to a more modern IDE like wxDev or VC++.
Last edited on Feb 10, 2010 at 9:19pm
Topic archived. No new replies allowed.