A simple dictionary

Completado Publicado Dec 7, 2011 Pagado a la entrega
Completado Pagado a la entrega

The program will get a word or an expression and search for the in this dictionary:

#define N 24

char* dict[N] = {"abc", "a@b", "1b1a", "Abc","aab2", "@ppp", "ppp","Ppddd%","abab","ppp","a@b","cdf","c*df","abcdfg","1b1a",

"aaBb", "lksd", "ppp","ABC","abab","ppp","a@b","cdf","abcdfg"};

The program will print the word/s and their place in the dictionary.

An expression is a ^word, example: ^abc. For an expression the program will print all the words starting with the expression an their places. Example: for ^abc it will print: abc,abcdfg,abcdfg, 1,14,24.

The program is case sensitive.

The only string.h functions we're allowed to use are strcmp, strncmp and strlen.

We're not allowed to define any functions besides main.

I'm willing to pay extra if you can provide detailed explanations with the finished project.

Programación en C

Nº del proyecto: #1330087

Sobre el proyecto

1 propuesta Proyecto remoto Activo Dec 7, 2011

Adjudicado a:

deadhunt

Please check PMB.

$30 USD en 1 día
(36 comentarios)
5.3