Tools for Windows programming

A Forum for free software.

All times are UTC + 1 hour [ DST ]

Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
PostPosted: 28 Dec 2015 17:00 
User avatar

Joined: 28 Dec 2015 16:39
Posts: 1
I have spent quite a bit of time on an entropy-based C program for the game of Bulls and Cows. It was compiled using the latest version of LADSoft's Orange C compiler. It ended up being a relatively short program. The game is a number guessing game. You think of a 4-digit number which uses digits 1 thru 9 between 1234 and 9786 with no repeating digits. The computer "guesses" your number and you score the guess; for example, a score of 1 2 means there is 1 "bull" and 2 "cows." (bulls are correct digits in the correct place, cows are correct digits in the incorrect place.

The code may be seen at

A sample run may be seen at

It took me quite a long time to think this through. I learned how the information theory concept of entropy may be used for this machine learning application from a similar solution written in python.



Lee Bradley

PostPosted: 10 Mar 2017 07:05 

Joined: 10 Mar 2017 07:04
Posts: 1
C was initially created by Dennis Ritchie in the vicinity of 1969 and 1973 at Bell Labs and used to re-actualize the Unix working framework. It has since turned out to be a standout amongst the most broadly utilized programming dialects ever with C compilers from different merchants accessible for the lion's share of existing PC structures and working frameworks. c programming pdf C has been institutionalized by the American National Standards Institute (ANSI) since 1989 (see ANSI C) and consequently by the International Organization for Standardization (ISO).

Notwithstanding its low-level abilities, the dialect was intended to support cross-stage programming. A norms consistent and movably composed C program can be accumulated for a wide assortment of PC stages and working frameworks with few changes to its source code. The dialect has turned out to be accessible on an extensive variety of stages, from implanted microcontrollers to supercomputers. Unix was one of the principal working framework portions actualized in a dialect other than gathering. Prior occasions incorporate the Multics framework which was composed in and Master Control Program for the Burroughs B5000 written in ALGOL in 1961. In around 1977, Ritchie and Stephen C. Johnson rolled out further improvements to the dialect to encourage conveyability of the Unix working framework. Johnson's Portable C Compiler filled in as the reason for a few usage of C on new stages.

Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group