C/C++

Microsoft Foundation Classes: creating a Sudoku game. Part 2.

Submitted by pavel7_7_7 on
It's the second part of the article about creating a Sudoku game using MFC. In this part you will read about how to create GUI for this game. The MFC applications are closely connected to the document-view architecture. When you create a project two classes are created: document class and view class. The document class contains the data used in your application.

Microsoft Foundation Classes: creating a Sudoku game. Part 1.

Submitted by pavel7_7_7 on
In this article you will read about the rules of the Sudoku game and the algorithm, used to solve the Sudoku puzzle. In the next two articles I'll describe the complete step by step guide about how to implement a Sudoku puzzle game using MFC. The goal of the Sudoku game is to fill the 9x9 grid with numbers from 1 to 9 in the next way:
  • Each row contains all numbers from 1 to 9
  • Each column contains all numbers from 1 to 9
  • Each block of 3x3 cells contains all numbers from 1 to 9
Here is an example of the solved Sudoku:

Work with Files in C++

Submitted by pavel7_7_7 on
In this article you'll read about how to work with files in c++. Files allow users to read a huge amount of data directly from the disc without entering the data from keyboard. There are two main types of files : text files and binary files. Text files are files that consist of the sequences of any symbols. This sequence is organized in rows that are separated by the newline character "\n".

Library Management System Using C++

Submitted by deb20 on
Friends here is a Library Management System code developed by me.please run this code and send feed back. Before running this code please go through the text file 'help.txt' in the downloaded file. Advance Features: 1. Creating User. 2. Log In and Log Out facility for both admin and user. 3. Restricting user to issue book if no copy of the book is available at that time. Obvious features for a

FreeC++: Simple Recording System with excel/notepad etc

Submitted by DavaoCloudStudio on
Hello codester, this is my simple recording system written in c++. you can add & view records. It is automatically generate on EXCEL, MSWORD, NOTEPAD and also to any other office encoder. How to change extension format files LIKE ".csv .doc .txt" //THIS IS THE INPUT STREAM BEFORE TO GENERATE YOUR RECORD. ifstream infile; infile.open("ACRecords.txt"); Example: OLD "ACrecords.txt" CHANGE "ACrecords

LCD program using C and MicroC PRO for PIC IDE

Submitted by hob2006 on
The beauty of this simple little program is not in its novelty value, but that it can be added to any other program to add functionality and make a point of difference. LCD (Liquid Crystal Display) screen is such a display module and a 16x2 LCD module is very commonly used. These modules are replacing seven segments and other multi segment LEDs for these purposes. The reasons being: LCDs are