C Board  

Go Back   C Board > General Programming Boards > Game Programming

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 07-02-2009, 09:43 AM   #1
Registered User
 
Join Date: Jul 2009
Posts: 19
simple sudoku

im a beginner in programming n i have an assignment in creating a 4x4 sudoku..
can anyone help me in the code source and the algorithm design??
rachel7430 is offline  
Old 07-02-2009, 09:55 AM   #2
DESTINY
 
BEN10's Avatar
 
Join Date: Jul 2008
Location: in front of my computer
Posts: 803
This is against the forum's policy to do one's assignment. So if you can show what progress have you done so far?
__________________
HOPE YOU UNDERSTAND.......

By associating with wise people you will become wise yourself
It's fine to celebrate success but it is more important to heed the lessons of failure
We've got to put a lot of money into changing behavior


PC specifications- 512MB RAM, Windows XP sp3, 2.79 GHz pentium D.
IDE- Microsoft Visual Studio 2008 Express Edition
BEN10 is offline  
Old 07-02-2009, 09:56 AM   #3
&TH of undefined behavior
 
Fordy's Avatar
 
Join Date: Aug 2001
Posts: 5,203
Didn't your lecturer/teacher show you how to do this before setting the assignment?
__________________
"If A is success in life, then A equals x plus y plus z. Work is x; y is play; and z is keeping your mouth shut."
Albert Einstein (1879 - 1955)


Board Rules
Fordy is offline  
Old 07-02-2009, 09:41 PM   #4
"Why use dynamic memory?"
 
Join Date: Aug 2006
Posts: 179
since i'm OOP freak everything would be a class
__________________
"C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg."-Bjarne Stroustrup
OS: Microsoft XP Media Center
IDE: Microsoft Visual Studio 2005 pro edition
Current Porject: Developing a 2D card game...
Hussain Hani is offline  
Old 07-03-2009, 05:43 AM   #5
Registered User
 
Join Date: Jul 2009
Posts: 40
Interesting assignment... I'll do that as my assignment as well
WatchTower is offline  
Old 07-03-2009, 07:15 AM   #6
Student
 
legit's Avatar
 
Join Date: Aug 2008
Location: UK -> Newcastle
Posts: 156
Quote:
Originally Posted by Hussain Hani View Post
since i'm OOP freak everything would be a class
ClassES!
__________________
MSDN <- Programmers Haven!
legit is offline  
Old 07-03-2009, 07:15 AM   #7
Registered User
 
Join Date: Jul 2009
Posts: 19
well first i need to design an algorithm.. n im having problem with it right now... after input i dunno how to continue..
rachel7430 is offline  
Old 07-03-2009, 07:18 AM   #8
Student
 
legit's Avatar
 
Join Date: Aug 2008
Location: UK -> Newcastle
Posts: 156
Dude, post your code and your problem... Your trying to make us find treasure with no map here!
__________________
MSDN <- Programmers Haven!
legit is offline  
Old 07-03-2009, 07:21 AM   #9
Registered User
 
Join Date: Jul 2009
Posts: 19
im stuck at algorithm how am i suppose to continue with coding??
rachel7430 is offline  
Old 07-03-2009, 07:27 AM   #10
Student
 
legit's Avatar
 
Join Date: Aug 2008
Location: UK -> Newcastle
Posts: 156
So you have no code what so ever? You are at the design stage?
__________________
MSDN <- Programmers Haven!
legit is offline  
Old 07-03-2009, 07:29 AM   #11
Registered User
 
Join Date: Jul 2009
Posts: 19
i need to complete my flowchart diagram before continue to designing...
rachel7430 is offline  
Old 07-03-2009, 07:32 AM   #12
Registered User
 
Join Date: Jul 2009
Posts: 40
He's in the design stage as he/she stated earlier. If you know how to play soduku game, I presume that you could formulate an idea. If you know array you could work with 2 dimensional arrays.
WatchTower is offline  
Old 07-03-2009, 07:32 AM   #13
Student
 
legit's Avatar
 
Join Date: Aug 2008
Location: UK -> Newcastle
Posts: 156
Quote:
Originally Posted by rachel7430 View Post
i need to complete my flowchart diagram before continue to designing...
Now I look like a fool! My bad.
__________________
MSDN <- Programmers Haven!
legit is offline  
Old 07-03-2009, 07:34 AM   #14
Registered User
 
Join Date: Jul 2009
Posts: 19
im not allowed to use array.. n actually im looking for ideas to create all those... n not asking help to give me the whole coding...
rachel7430 is offline  
Old 07-03-2009, 07:38 AM   #15
Student
 
legit's Avatar
 
Join Date: Aug 2008
Location: UK -> Newcastle
Posts: 156
Are you creating a sodoku solver, or generator, or both?
__________________
MSDN <- Programmers Haven!
legit is offline  
Closed Thread

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
creating very simple text editor using c if13121 C Programming 6 11-25-2004 09:49 AM
Simple message encryption Vicious C++ Programming 10 11-07-2004 11:48 PM
Binary Search Trees Part III Prelude A Brief History of Cprogramming.com 16 10-02-2004 03:00 PM
Simple simple program Ryback C++ Programming 10 09-09-2004 05:48 AM
Need help with simple DAQ program canada-paul C++ Programming 12 03-15-2002 08:52 AM


All times are GMT -6. The time now is 12:02 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22