Important alert: (current site time 7/15/2013 6:46:41 PM EDT)
 

winzip icon

Black Jack

Email
Submitted on: 2/27/2000
By: David J 
Level: Beginner
User Rating: By 8 Users
Compatibility: C, C++ (general)
Views: 49462
author picture
 
     *Updated* This is a basic BlackJack program. You play against the computer using a 52 card deck. I rewrote most of the code so now it is easier to read and to maintain. Please let me know if you find any bugs or want any features added. subxero@banet.net
 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 3 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

2/27/2000 8:39:28 AMZerO Invasion

Thank you for saving my life..............
wiiiohooo
(If this comment was disrespectful, please report it.)

 
6/14/2000 1:57:46 AMjohn

i downloaded your code and tryed to run it but i got a warning and an error and i cant figure out how to fix them
Compiling BLACKJ~1.CPP:
Linking blackj~1.exe:
Linker Warning: No module definition file specified: using defaults
Linker Error: Undefined symbol _system in module BLACKJ~1.CPP
can you help me get your code running?

(If this comment was disrespectful, please report it.)

 
7/14/2001 8:18:39 AMprem

hello..ur code was a great help to me at first..but how do it only in c language and not c++??thank you..!!!pls help me...!!!
(If this comment was disrespectful, please report it.)

 
12/19/2001 9:08:49 AMCarlos Santamaria

I believe that this program is of great help to get started in any blackjack programing language. Functions and comments were very easy to understand and thanks to this program i could finished my own blackjack program in Java.
Thanks to the author.
(If this comment was disrespectful, please report it.)

 
8/6/2002 5:45:05 AMkumar

please someone help.....
i try run this code in 'C' (djgpp) but its fail.......
if anyone have black jack code in 'C' (djgpp) plz send to me....kumar_3k@hotmail.com
(If this comment was disrespectful, please report it.)

 
9/15/2002 4:24:50 PM

Thanks. Working on a project that includes random numbers. Works fine, but uses same numbers every time.
Looks like everything is included. Ideas as to why this happens?
(If this comment was disrespectful, please report it.)

 
5/6/2003 5:27:48 AM

if u have this program in C then can u send it to indianpsycho@hotmail.com
(If this comment was disrespectful, please report it.)

 
5/6/2003 5:30:17 AM

can someone please send me the black jack game in C code. at indianpsycho@hotmail.com
(If this comment was disrespectful, please report it.)

 
2/20/2005 12:16:18 AM

hey your prgm was really helpful. thnx
(If this comment was disrespectful, please report it.)

 
4/29/2012 7:04:04 PM

Do you have the header and main file for this? I downloaded it and it just a source file but I cant run it using visual studio. Or am I doing something wrong? Thnak you!
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.