not a dead link (tested)
Its a blackjack like game only no cards, the goal is to get the other player to hit 21 not you, and has a shared total.
You must download and play to see its full...
Type: Posts; User: dsig111
not a dead link (tested)
Its a blackjack like game only no cards, the goal is to get the other player to hit 21 not you, and has a shared total.
You must download and play to see its full...
also if you want to prevent it from repeating the last value use a while statement...
#include <time.h>
#include <stdlib.h>
int main (void)
{
int rnum, p_rnum;
the srand function sets a seed to randomize off of and when using time to do it it will set the seed different ly each time and stop using % 11 it returns 0-10 snd when add 1 it returns 1-11...
...
I forgot got thrown off by the %11
you can download the game here
the source is below
try this...
#include <time.h>
#include <stdlib.h>
int main (void)
{
int Numb;
yeah there are alot of errors I can't even catch because the code is a little sloppy and I suggest starting over!
it should be like this...
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream.h>
int main()
{
int sel;
sorry about that it works now but if you don't believe me click here to download
you can download or view screen shots of it at
click here
I need help...
how can I make it so that the user can enter more than one word for thier string (ex: "blah blah", rght now I can only read the first blah)
please help!