473,320 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Any Mini Project In C

1
hai,
plz any body give simple topic of doing a mini project in C
Oct 3 '07 #1
11 4033
sicarie
4,677 Expert Mod 4TB
hai,
plz any body give simple topic of doing a mini project in C
I would recommend looking at sourceforge.net and freshmeat.net to see what other people have done (and then you'll also get some ideas on the implementation as well)
Oct 3 '07 #2
weaknessforcats
9,208 Expert Mod 8TB
Try this:


Expand|Select|Wrap|Line Numbers
  1. 11001101100011000F1000
  2. 0010001000100001011011
  3. 1100101011110000100010
  4. 110101001000011110100
  5. 1110100010101010000101
  6. 1101000101000101010100
  7. 1101010000100101010100
  8. 1101001010101000010100
  9. 0100000100101001100010
  10. 101S110000101000100001
Display the array so that 0's appear as spaces.
Locate the S and change to it an *
Move the * to the F a position at a time. 1 is blocked 0 is open.
Re-display the array after each move.
Oct 3 '07 #3
RedSon
5,000 Expert 4TB
Try this:


11001101100011000F1000
0010001000100001011011
1100101011110000100010
110101001000011110100
1110100010101010000101
1101000101000101010100
1101010000100101010100
1101001010101000010100
0100000100101001100010
101S110000101000100001

Display the array so that 0's appear as spaces.
Locate the S and change to it an *
Move the * to the F a position at a time. 1 is blocked 0 is open.
Re-display the array after each move.
Can I move diagonally?
Oct 3 '07 #4
weaknessforcats
9,208 Expert Mod 8TB
Can I move diagonally?
The rules don't say one way or another. Most solutions do not move diagonally.
Oct 3 '07 #5
RedSon
5,000 Expert 4TB
This mini project is awesome!
Oct 4 '07 #6
kreagan
153 100+
Try this:


Expand|Select|Wrap|Line Numbers
  1. 11001101100011000F1000
  2. 0010001000100001011011
  3. 1100101011110000100010
  4. 110101001000011110100
  5. 1110100010101010000101
  6. 1101000101000101010100
  7. 1101010000100101010100
  8. 1101001010101000010100
  9. 0100000100101001100010
  10. 101S110000101000100001
Display the array so that 0's appear as spaces.
Locate the S and change to it an *
Move the * to the F a position at a time. 1 is blocked 0 is open.
Re-display the array after each move.
Oooh, a Maze project.

If you are looking for something else, a couple of fun projects I had were:

Sudoku Solver
Queens Problem
Oct 4 '07 #7
RedSon
5,000 Expert 4TB
Oooh, a Maze project.

If you are looking for something else, a couple of fun projects I had were:

Sudoku Solver
Queens Problem
Please post them, not the answers just the questions.
Oct 4 '07 #8
kreagan
153 100+
Please post them, not the answers just the questions.
Do you want me to post them here or somewhere else on this site?
Oct 7 '07 #9
jthep
34
Try this:


Expand|Select|Wrap|Line Numbers
  1. 11001101100011000F1000
  2. 0010001000100001011011
  3. 1100101011110000100010
  4. 110101001000011110100
  5. 1110100010101010000101
  6. 1101000101000101010100
  7. 1101010000100101010100
  8. 1101001010101000010100
  9. 0100000100101001100010
  10. 101S110000101000100001
Display the array so that 0's appear as spaces.
Locate the S and change to it an *
Move the * to the F a position at a time. 1 is blocked 0 is open.
Re-display the array after each move.
This looks like a really cool project. Too bad I'm just a newbie at present. I can proly code up to the first two lines...then the rest, Im clueless.
Oct 7 '07 #10
RedSon
5,000 Expert 4TB
This looks like a really cool project. Too bad I'm just a newbie at present. I can proly code up to the first two lines...then the rest, Im clueless.
Go ahead, we'll help you along when you get stuck. Full code posts are okay for this thread.
Oct 8 '07 #11
kreagan
153 100+
Please post them, not the answers just the questions.
Sudoku Solver: Given a text file with the format

Expand|Select|Wrap|Line Numbers
  1. 5 3 - - 7 - - - -
  2. 6 - - 1 9 5 - - -
  3. - 9 8 - - - - 6 - 
  4. 8 - - - 6 - - - 3
  5. 4 - - 8 - 3 - - 1 
  6. 7 - - - 2 - - - 6
  7. - 6 - - - - 2 8 -
  8. - - - 4 1 9 - - 5
  9. - - - - 8 - - 7 9 
Create a Sudoku solver to solve this problem. Each row, column, and 3x3 block section should contain the numbers 1 through 9. However, each row, column, and 3x3 block cannot have repetitions of the same number.

For more information (and real solution to the puzzle), look at
Sudoku information

ps. If the program isn't coded efficiently, some puzzles can take hours to solve. Plus there are different algorithms to solve them too (to increase efficiency).

Queens Problem:

The eight queens puzzle is the problem of putting eight chess queens on an 8×8 chessboard such that none of them is able to capture any other using the standard chess queen's moves. The colour of the queens is meaningless in this puzzle. The queens must be placed in such a way that no two queens would be able to attack each other. Thus, a solution requires that no two queens share the same row, column, or diagonal.

Make a program that takes a number n and solves the queens problem for n queens for a board n x n size.
Oct 8 '07 #12

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: alpa shah | last post by:
Hi, please suggest me Mini project topic in ASP language....
0
by: tbatwork828 | last post by:
VS 2005. I have compiled my dlls/exes in Release mode and also setting Debug Info="full"under Project - Properties - Build - select "Release" under "Configuration" drop down - the Advanced button...
2
by: Eric S. Johansson | last post by:
as one would expect when creating a body of software, eventually you create a series of relatively generic components you find yourself using over and over again. As a result, I'm finding myself...
7
by: pangsans | last post by:
hai i wud like to do a mini project with two of my friends in c or c++.i jus cant decide on a suitable one.it wud n very very helpful if u guys cud suggest some topics
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
0
by: priyanan | last post by:
suggest me a new mini project in asp.net which is easy to understand and well to do
4
by: Pankaj S | last post by:
Hi! I have just joined this group. I want just a mini project in c/c++ on any topic so that it is not so much easy and not so much complicated. It should be just looking like a engineering...
8
by: geert | last post by:
Hi all, I have a mac mini running maocosx 10.5 leopard I want to deploy a django project on. My backend is MySQL, and I have it running as a 64- bit app. Of course, apache2 is also running as...
5
by: =?Utf-8?B?R3VpbmVhcGln?= | last post by:
Hi, I just wrote a mini C# lab for myself, I think it may be useful for others, so I shared it on my blog. If you often need to write only serveral lines of code and don't want to waste time on...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.