Search Results

Showing results 1 to 12 of 12
Search took 0.00 seconds.
Search: Posts Made By: thanatosys ; Forum: C and child forums
Forum: C Oct 28th, 2008
Replies: 8
Views: 1,180
Posted By thanatosys
Well i need to run fgets to get the pointer to the char array, i need to run this until the end of file... how would that while loop look like? Yes I am aware of while true... but I assumed if there...
Forum: C Oct 28th, 2008
Replies: 8
Views: 1,180
Posted By thanatosys
First here is my header file

/* @source Simplespell Program
*
* @author: Chris King(cpking@ncsu.edu)
* @@
*
* node.h
* CSC 230 Fall 2008
*
Forum: C Oct 27th, 2008
Replies: 2
Views: 501
Posted By thanatosys
All good, I realized the one about the line, it will get used later so I am ok with that warning for now. Thanks again for pointing out a typeo :) , I need to be a bit more careful it seems.
Forum: C Oct 27th, 2008
Replies: 2
Views: 501
Posted By thanatosys
I am still working on the lovely trie project, now I am working on file input that will be passed into the trie. I receive the following errors when I compile this code.

$ make
gcc -Wall -g -c...
Forum: C Oct 26th, 2008
Replies: 2
Views: 301
Posted By thanatosys
Go get some paper or a whiteboard with a few colored markers. Take a few hours / days to illustrate how all of your components should work together. Start with the smallest components and write them...
Forum: C Oct 26th, 2008
Replies: 10
Solved: Trie's in C
Views: 2,539
Posted By thanatosys
No clue, I was following a guide regarding linked lists online. Again I am trying to create a Trie as an abstract data type, so would this beneficial to do.
Forum: C Oct 26th, 2008
Replies: 10
Solved: Trie's in C
Views: 2,539
Posted By thanatosys
Wow... now I feel... dumb :) . Anyway brings me to a final warning

$ make
gcc -Wall -g -c -o node.o node.c
In file included from node.c:6:
node.h:14: warning: useless storage class specifier...
Forum: C Oct 26th, 2008
Replies: 10
Solved: Trie's in C
Views: 2,539
Posted By thanatosys
so new header file is this:

#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdbool.h>

typedef; struct node {
Forum: C Oct 26th, 2008
Replies: 10
Solved: Trie's in C
Views: 2,539
Posted By thanatosys
So I have been working a bit further but seem to have something wrong in my code. The header file for each node is this "node.h"

#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>...
Forum: C Oct 26th, 2008
Replies: 12
Views: 983
Posted By thanatosys
you should use this

code = c withing brackets;
Forum: C Oct 26th, 2008
Replies: 10
Solved: Trie's in C
Views: 2,539
Posted By thanatosys
I would also like to add they need a 2nd pointer to the next sibling.
Forum: C Oct 26th, 2008
Replies: 10
Solved: Trie's in C
Views: 2,539
Posted By thanatosys
I have a homework assignment for a c class I am in currently, the assignment is to write a simple spell checker. I am having a bit of trouble understanding how to write a trie in c. A trie would be...
Showing results 1 to 12 of 12

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC