Forum: Python Nov 20th, 2008 |
| Replies: 2 Views: 303 Thanks for that. I was able to resolve the issue. I will be posting the solution to this problem a bit later(deadline is pressing at the moment) |
Forum: Python Nov 20th, 2008 |
| Replies: 2 Views: 303 Ok I will post all of the code at the bottom, first thing however is the loop below starts at 0, then increments to 1, but never increments any further.
for counter1 in range(fieldlength):
... |
Forum: Python Oct 30th, 2008 |
| Replies: 25 Views: 1,778 Well, I run OSX, so my editor of choice for html, java, php, c, and python is textmate. One editor that has syntax highlighting, project management, and plenty of keyboard shortcuts. Yes it costs... |
Forum: C Oct 28th, 2008 |
| Replies: 8 Views: 1,107 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,107 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: 489 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: 489 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: 297 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 Views: 2,365 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 Views: 2,365 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 Views: 2,365 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 Views: 2,365 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: 955 you should use this
code = c withing brackets; |
Forum: C Oct 26th, 2008 |
| Replies: 10 Views: 2,365 I would also like to add they need a 2nd pointer to the next sibling. |
Forum: C Oct 26th, 2008 |
| Replies: 10 Views: 2,365 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... |