i tried making a code diff.from the last one i posted....do you think this one's better?
void viewkey(ptrGNode pGame,structGame sGame)//searches the list of questions
{ ptrGNode pRun;...
Type: Posts; User: kreyes
i tried making a code diff.from the last one i posted....do you think this one's better?
void viewkey(ptrGNode pGame,structGame sGame)//searches the list of questions
{ ptrGNode pRun;...
i tried that thing too both --takin out the while then the for..but still it doesnt work.....?????HEEELLPPPP!
also,whenever i enter lets say ( the dog)..it prints out a series of not_found...
ive tried that too..but still its not workin...hmmm.what couldve possibly be wrong???:(
do have any other alternative algo in mind??:confused:
fine if you dont want to believe!:rolleyes:
i thought it wasnt posted so i had to type it all over again..so what if its all with diff.titles am i suppose to remember the last one??!:mad: .... if...
ive tried doing it but it still wont work..the code is as follows below......
int find(ptrGNode pGame)
{ ptrGNode pTemp;
int nCtr,i,j,k,l,m,nVal;
str70 strTemp;
char sKey[31];
int...
Thnks solved the problem already....believe me its the hanging of our server that made me double post ...i thought it didnt went through so i posted it consecutively....i meant no insult to anybody!!!
anyway,dont wana argue or anythin coz i already fixed the code myself..thanks anyway for your COMMENT!!:rolleyes:
hey,sorry ok there's sumthin wrong with my server(it keeps on hanging) so whenever i refresh it i thought it was gone already so i posted it all bak again....some of which are edited...ill delete my...
ive got a problem with this code,it doesnt seem to generate the question i initialized,it keeps on printin either garbage/blank spaces..any suggestions on this pls..?
...
how come this generates blank??
ive got a problem with this code,you see when i run it the questions dont seem to come out thoughit was initialized already,,am usin a linkedlist is there somethin...
It worked!!! thanks i know the problem i forgot to use the = instead of ==.
thanks again!!!:cool:
ive already fixed the code thing---- sorry,hope you can help:(
Im kinda atlost with programming with this: gven a keyword,it will search for any instances of it in a string of Questions until the questions are null,if it finds an instance of it ,it will display...
the semicolon thing ws just a typographical error ....i tried omittin return 0 but it still wont work..do u still have any ideas how could i pass it in main coz i want it to be incorporated in my...
Ive got a problem with this code,you see it works when it is not passed ,but when i try to pass it in main the supposed to be tree design doesnt work anymore..how do i pass this in main?(I did this...
Here is the game part of the program...i hope you could look into whats wrong with my paramter passing here thanks....:>
/* Name: Program name:
Description: This program is a simplified...
Hi!im workin on a millionaires game ryt now and the problem is that when i call the questions i made in the game part,it prints out nothing or sometyms prints out garbage...whats wrong with it?do i...
thanks for the reply..when i opened the attachment it kinda opened up as some sort of blurred text..anyway,im not that good in manipulating still stuffs like this so if you still have any suggestions...
hi! i did the (ptrGNode) thing in hte malloc and all is fine now no errors but still it has segmentation fault!!how come what might be the possible cause of this here???
yeah but what i mean is that i want to convert that txt or whatever it is to a readable source code i just dont know which program to open it to coz of its nbs extension...?
ummm,can you like make a sample source code of that coz im kinda a newbie??pls.:)
help!!i have saved a file which when i copied had an .nbs extension now i dont know which extension shld i convert it or open it to coz i want to view its code in a notepad?
uhm..all i know is that im usin Linux C compiler.......i was wonderin how to make exact code for the graphs which i was told that can be done usin some loops???:confused:
ok ill try that code ...anyway,i have inlcuded my typedef declarations for the above code of mine:
typedef char str20[21];
typedef char str70[71];
typedef struct
{
str70 strQuestions;...
im tryin to make a code that given a keyword it will search for its instances in all the Questions(take note that words in the question are seperated by a space)-my code here runs but doesnt seem to...