Popular pages:

Roulette System

The Roulette Systems That Really Work

Roulette Computers

Hidden Electronics That Predict Spins

Roulette Strategy

Why Roulette Betting Strategies Lose

Roulette System

The Honest Live Online Roulette Casinos

Making an exe..?

Started by topcat888, January 02, 2010, 11:47:49 AM

0 Members and 1 Guest are viewing this topic.

topcat888

Hi everyone,

I want to learn to make little exe's like this one:

nolinks://vlsroulette.com/downloads/?sa=view;id=187

or this exe type:

nolinks://vlsroulette.com/downloads/?sa=view;id=402

Can any one point me in the right direction, what the best (easiest to learn) software is to create them, any tips etc..?

Many Thanks


mr.ore

You need to program them. You should start with something simple, just text mode programs, I will try to give you little tutorial:

1. Download and install dev-cpp

nolinks://prdownloads.sourceforge.net/dev-cpp/devcpp-4.9.9.2_setup.exe

It is integrated development environment (IDE) good for beginners, you will have to learn basics of programming in C++, but don't worry, I will post here some sample project with margingale, so you will then be able to do little changes to it and program your own system, generaly just copy-paste from somewhere to elsewhere.


VLSroulette

Hello Topcat,

What is exactly what you want to accomplish?

If you need a simple tracker only, you may want Javascript on an HTML webpage.

If you need to read text files from disc and process large amounts of data, then yes, C++ and the other standard languages do the trick.

My best advice to you Topcat is: do not overcomplicate ;)




BTW, thanks Mr. Ore for stepping by and helping Topcat. Everybody -even the best coders- all had had a starting point. Perhaps in a couple years from now Topcat will be 2012's "coder at large" for the forum, and you would have mentored him  :)

The Spiders Kiss

Hi mr.ore
Thats very kind of you to help out.I am interested too.
TSK

topcat888

Wow.! thanks for the response guys..!

ok, what I wanted to achieve was a simple gui to be the front end of a very simple Dozens system (in downloads) so nothing complicated, certainly no db, just enter the answer to three questions, what was the first dozen draw, second and third... I was going to have three drop downs with obviously the choice of L M H in each... from there it needs to return a sequence like LHML to the user... it would be nice if it could keep track if won or lost and progression as well but that is not essential... If the user could have the choice to cover the ZP as well...

That's it, but there are others that I would like to be to put into simply GUI's just for fun really....

Thanks
TC

Tangram

If you've never done any programming, you're going to have a hard time learning C++, trust me.  ;)

There are plenty of free, open source languages which are MUCH easier to learn (C++ is just about the hardest you could pick). There are lots of free "BASICS" -

nolinks://nolinks.thefreecountry.com/compilers/basic.shtml

Then there's Python -

nolinks://nolinks.python.org/

And my personal favourite, Euphoria -

nolinks://nolinks.rapideuphoria.com/

mr.ore

Well, I have already done some programs in C++ to do simulations, one simple and older, second overcomplicated but better. I will make some simple template from the simple one, remove all the junk systems that accumulated there over time, and post it there. I'm linux user and to make things simple for me, I simply recommend that C++. I'm just installing that DevCpp into WindowsXP in VirtualBox to be able to make that simple tutorial, well, installation is slow in that.

Tangram

If you want to create simple windows GUIs,  here's my recommended 3-step process:

1. Download the Euphoria interpreter for windows from the link in my previous post
2. Download the Windows GUI Library from here - nolinks://nolinks.rapideuphoria.com/win.htm (you want the 3rd link down - EuWinGui library and IDE)
3. Learn the language! nolinks://nolinks.axyp43.dsl.pipex.com/abgte.html

There are no shortcuts to learning programming, but this is the easiest way - I guarantee it.  :D

mr.ore

After installing and first running, close devcpp and start it again, so that it saves it's settings, or if it crashs you will have to wait again when starting and making cache of headers, it happend to me just now.

2. install GSL library

In Dev-C++ IDE, click in menu to Tools, and then select Check for Updates/Packages.

In Select devpak server choose devpaks.org Community Devpaks and click on Check for updates button.

It will download list of updates available. Click on Update in list to sort alphabeticaly it by the name of update, and then find package name GSL.

Click download selected and it will install it.

gizmotron

There are far better ways to learn programming. If you are not afraid of being ridiculed by C++ programmers then you would not do yourself any harm in learning it in a programming language that is far easier to accomplish the task with. It often saves you ten times the number of hours to accomplish your tasks too. You can spend more time on the concepts of your simulations than on dealing with extraneous code.

nolinks://nolinks.runrev.com/

nolinks://nolinks.runrev.com/downloads/free-trial/

If NASA can use this platform and language then I'm sure it's accurate enough for your needs. By the way, it compiles your software, it is not another interpretive language. Many of the processes are done in C++ anyway. Only you don't have to assemble all the libraries for common tasks. Many functions only take a single line of code. In other languages it takes several lines to do the same tasks. It's worth looking into.

mr.ore

Well, GSL in Dev-C++ does not work how it should, so just ignore that step, I removed GSL support from program and use stupid default random number generator.

Step 3.

Download project from attachment and unpack it somewhere.

Then in Dev-C++ from menu File->Open project or file and go to that folder and open roulette.dev file.

Now in menu Execute->Compile and run or just hit F9 and it will compile and should run.

You enter numbers 0-36 and programme quits when you enter number out of this range, like -1.
Hit enter after each number.

There is simple system implemented - it is martingale, but we bet only after black and then read appeared, this is for  demonstration of betting on condition.


topcat888

Many thanks for all your suggestions... I thought this was going to be easy ~  :no:  :scratch_ones_head:

Thanks Mr. ore and everyone for your help.

TC

mr.ore

If you run the program from console (start->run then cmd.exe, then cd C:\xxx\roulette ) with parameter

C:\xxx\roulette>roulette.exe 256 > data.txt

it will run rng simulation with 256 spins and store result to session.txt

or

C:\xxx\roulette>roulette.exe 256 < spins.txt > session.txt

In spins.txt, each number must be on separate line, like
3
23
0
12
0

There are lines with two numbers, first is spin number, second is our balance.

Now you can use some application, like gnuplot, to show, how system did in long run.

mr.ore

4.
Now little suggestions to make things look better:

In Tools->Editor options check "Use Tab Character" and change "Tab Size" to 2.

then go to syntax tab and select Comment, and change it's foreground color from black to some other color. I would recommend some blue, but choose what you want. This will make comments have different color from code. Comments are some helpful text in program source code, so it is important to be able to see it.

Now OK.

All what is important is in main.cpp file, you do not have to look anywhere else, there may be scary things  ;)

mr.ore

5. Read this tutorial

nolinks://nolinks.cplusplus.com/doc/tutorial/

you can also download it like pdf there. It should help a little like a start.

There are thinks like variables in C++.

Variable has declaration, which tells compiler that it exists.

int m_Bet; // is declaration of integer variable, it can have integer values like 0,1,2,-10 but not 0.5 or -1.123 and so on.

later there is some method named reset() { <our reset code> }

there you can set it : m_Bet = 1

Well, it will take some time to understand it. To learn bacics of programming you need at least a week, if you have never tried it.

mr.ore

-