How to use this command inside my below command?i want to check whether text[1]to text[5] whether it is number?
#pragma hdrstop
#include <stdio.h>
#include <conio.h>
#include <string.h>
#pragma argsused
char **text;
int i;
char str[] = ": Goolie p q h k clearLeftState ;";
char *token;
char...
Thank You for your code. i fix my problem already. May i know is there any other method to split the text?
Singapore Swimming Lessons http://www.swimmingclasses.com.sg
How can i split the text that key in by user, for example if the user key in "MoveForward To 123", how can i split the "MoveForward" to one field, "To" in to one field and 123 in to another field..
below is my simple print and scanf
char y;
printf("Please Enter Your Command:");
scanf("%s"...
Hi there,
is anybody using c writing an interpreter before?
i want to interpret a string which key by user, What command should i use?
Singapore Swimming Lessons http://www.swimmingclasses.com.sg
Hi there,
Below is my code, when i run it it show this error" Debugger Exception Notification" can anyone give me suggestion. Thank You.
#pragma hdrstop
#pragma argsused
#include <stdio.h>
#include <conio.h>
#include "string.h"
char **word;
int i;
void add( char *newWord )
{
word[ i ] =...
Thank for you reply.
May i know is that possible to store the "MoveForwad" in one array, because i am going to do a interpreter project.
Singapore Swimming Lessons http://www.swimmingclasses.com.sg
Hi there,
If want to store "MoveForward" in an array, let's say i want to store it at this array X[1000], what command should i use?
Thank for reply^_^
Singapore Swimming Lessons http://www.swimmingclasses.com.sg
Hi there,
i need help for the pointer to array...Actually i have create my hash table and i can successfully get the hash key for the word i want to store, now i want to create a one dimension array and
i use below command to create my hashtable, get the hashkey and add the word that i want...
All the data typ i have declared, and work propably.
I dont know how to create the pointer function.
Singapore Swimming Lessons http://www.swimmingclasses.com.sg
Hi there,
i need help for the pointer to array...Actually i have create my hash table and i can successfully get the hash key for the word i want to store, now i want to create a one dimension array and
i use below command to create my hashtable, get the hashkey and add the word that i want...
Thank For Your Code,
Actually i am not so understand the code, Can briefly describe a bit..
Many Thanks ^_^
Singapore Swimming Lessons http://www.swimmingclasses.com.sg
The part of hash table, i have done it, now the problem is i don't know how what i am going to do,
For example, now i have a word "MoveForward". it already stored in the hash table and have a hash key of 27. What should i do in order to link the MoveForward command to the words or hash key, so...
Sorry for make you confuse..
My function mean is a series of command. And the note mean something like a stack can store words, structure, number and so on...
Actually now i have a project on hand that using hash table to store some humum language, and the humum language will point to a stack...
Dear all,
I have a question about hashing,i have create an hash table, and inserting the word and get the hashing key already. Now i want to store my function in to the node, what should i do?
Any recommend would appreciate.
Best Regard
Thank You.
Singapore Swimming Lessons...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.