![]() |
|
|||||||
|
|
Thread Tools | Search this Thread | Rate Thread |
|
#1
|
|||
|
|||
urgent help needed with cross word program to find all d words in itHi all!!
i m doing a dummy project ...pls help me out in it given an MxN filled up cross word,write a prog to print all the words present in it. Cross word table is given as input in a text file that contains ‘0’ for a shaded square and any other valid alphabet [A-Z] for any other position. Each row is a line of text input. A word has to be at least 2 letters long. The program has to read in the input file, and then print out all the words present. The program has to print the output in the following format : < i j > : < word > : < across / down > eg output: <1,6>:Republic:Across <2,3>:Independence:down pls do help me out with this... thx in advance |
|||
|
#2
|
|||
|
|||
Re: urgent help needed with cross word program to find all d words in itQuote:
From Guidelines for posting requests for help 1: When asking questions about code you need to post some code. We cannot help you if you show us nothing you've attempted. Posting just your assignment/problem description is likely to get a few snide comments and nothing more. You've also wasted at least half a day while someone decides to post a message asking what you've done. Save time -- post code. I won't make any snide comments (I'll leave that to others), but I would like to emphasize that we can't possibly know what kind of help you would like to get. We have no way of knowing what you know and/or what you have done. Are there any specific areas of the assignment that are confusing to you? Where would you like to start? Regards, Dave |
|
#3
|
|||
|
|||
Re: urgent help needed with cross word program to find all d words in ithere is an algorithm, but definitely not the best algorithm.
Code:
|
|
#4
|
|||
|
|||
Re: urgent help needed with cross word program to find all d words in itCPP / C++ / C Code:
Last edited by admin II : 14-May-2008 at 18:22.
Reason: Please surround your C code with [cpp] your code [/cpp]
|
|
#5
|
|||
|
|||
Re: urgent help needed with cross word program to find all d words in itThis is whtt i've done so far...
but this is printing me all d words thtt are across and then printing all those words which are down in d crossword table... i need 2 get it like arcoos n its assosiated then n so on... |
|
#6
|
|||
|
|||
Re: urgent help needed with cross word program to find all d words in itCould you also post your sample file? Then we could compare apples to apples.
Also , , , enclose your code in the C++ tags , , , Then spaces will work for indentation in your posting, Thanks. |
Recent GIDBlog
Review: Gel laptop cooling pad by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Please help with my C program to find Pi values | mccrbr01 | C Programming Language | 1 | 30-Oct-2004 23:47 |
| C Currency Conversion program help needed | mutt | C Programming Language | 1 | 13-Jun-2004 16:14 |
| Need help with a C program (Long) | McFury | C Programming Language | 3 | 29-Apr-2004 21:06 |
| urgent help needed :c + mysql insert | jack | C Programming Language | 1 | 13-Apr-2004 22:16 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The