first project

This is a discussion on first project within the C++ Programming forums, part of the General Programming Boards category; I was wondering how hard would it be to make a Program that is a Dictionary.im still thinking how its ...

  1. #1
    Registered User
    Join Date
    Apr 2004
    Posts
    8

    first project

    I was wondering how hard would it be to make a Program that is a Dictionary.im still thinking how its gonna work

  2. #2
    Novice C++ Programmer
    Join Date
    Nov 2003
    Posts
    96
    It's as hard as you want it to be. It probably wouldn't be very hard but it would be time consuming if you think you're going to enter all the defintions into your program.

  3. #3
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >I was wondering how hard would it be to make a Program that is a Dictionary
    It depends on how many features you want, how efficient you want the program to be, and how much effort you're willing to put into it.
    My best code is written with the delete key.

  4. #4
    Registered User
    Join Date
    Apr 2004
    Posts
    8
    for my first project i at lest want like 3 months into to it.See i want to add all the definition's,words and maybe a spell checker to.Well how its gonna start i want it like this

    1) have all definition's and words.When your searching for the word you can find it and save it.say like you had to get of the comp you can save what you got.And you can save all the words you find for each section.

    2) all the words you have and save you will be able to print them out by opening the file in the Dictionary then like you press a number to print or to kill the print

    3)to have like different language's.For like if you had like a spanish class or something and you had o have them in spanish.Well you can pick from like 5 different language's i mean the language's in school you can take.

    4)to have like a spell checker in it.For reasons for people might not be able to spell that good.And i would make the spell checker well you type the first 3 letters in the word and it would give you a list of words that might be it.

    I might be adding more to you im thinking of what i could do to the program i really want to do it at lest 3 months of doing it

  5. #5
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    1) Okay, that's not difficult. Simply write the dictionary to a file.

    2) That might not be practical for a large dictionary, but you can still do it easily by copying the file to standard output.

    3) Also not terribly difficult. Just have multiple dictionary files or a single dictionary with cross-references for different language choices. The former is easier though.

    4) This is more difficult. You need a wordlist (such as a dictionary) and a data structure for efficient searching (balanced tree or hash table). Because dictionaries don't generally include word extensions like 'opened', you need to strip prefixes and suffixes.
    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem Displaying a Struct
    By rockstarpirate in forum C++ Programming
    Replies: 16
    Last Post: 05-05-2008, 10:05 AM
  2. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 02:30 PM
  3. Dynamic Binding
    By gpr1me in forum C++ Programming
    Replies: 1
    Last Post: 03-24-2006, 09:01 AM
  4. Game Independent Anti-cheat Project Needs Programmers
    By GIA Project Lea in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 09-15-2005, 08:41 PM

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