Oh I didnt take it out, i just edited it out to make the code shorter on the post. BTW i figured out what was wrong with my code. When i was sending the words from main, something wasn't going right....
Type: Posts; User: egomaster69
Oh I didnt take it out, i just edited it out to make the code shorter on the post. BTW i figured out what was wrong with my code. When i was sending the words from main, something wasn't going right....
I have edited my code but i still can't seem to find the problem. The output that printed out does not even make sense. Judging from the output though, i think the bug is in my search function or...
I tried to take feof out of the loop but it still doesn't work. I replaces feof with 12 in main() and the output adds one line from the FIND function. It add the "subscripts are by [column, row]".
...
I finished writing a wordsearch program and it compiles without any errors or warnings. When I run the program, only the Print_Puzzle function displays output. The FIND and SEARCH function are...
alright so i figured out what to do about my code but what i have so far wont run...any help would be apprecieated...
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define...
i am writing a wordsearch program to find words in a puzzle (go figure). so far, all i have is everything i need opened but i dont no where to go from here......any suggestions would be...
I am modifying a deal function to deal the cards to 4 players and then print them out. It is all written but all 4 players get the same cards...Any help would be apprecieated :(
void...
hey hey before anyone responds I FIGURED IT OUT!!!
thank you everyone for ur help, ill prob be hearing from u next week again :)
okay when i move the deckptr++ into the loop for the cards the numbers change but the sit value stay the same??? Sorry but i am at a loss to debugging my program!?! Why is this so hard??
void...
okay, i have taken all considerations and have done this so far,i printed my code and output but it still isnt working how i want it to
thanks
code
void filldeck(Card *deckptr)
{
char...
okay so heres what i have and this isnt running at all rite now
/* Shuffling 52 random cards and displaying the results using functions
and pointers. */
#include <stdio.h>
#include...
how would i go about modifying deckptr...sorry but im just really confused right now
okay i fixed the random numbers but can anyone help me with the last function...thanx
I have fixed all of them except the rand() and the last two...I need help with the function...Thanks for some reason my compiler didn't catch those...
I nedd help with the dealDeck function at the end and for some reason I keep getting the same card number, an Ace of Hearts...
Any help would be appreciated...Thanks
/* Shuffling 52 random...
typedef enum{
eFalse = 0,
eTrue = 1,}
myBoolean;
I know how to use the compiler....
the specific lines to the errors are
line 116...
y= CmpEmployee(struct personal employee[0],struct personal employee[0]);
and line 121...
i am wrote a fuction and when i test it, i get these strange errors that i dont know how to fix...any help would be appreciated... Thanx
inside main...
myBoolean y;
y= CmpEmployee(struct...
typedef struct
{
int a;
int b;
mystruct *mptr;
} mystruct;
whats wrong with this code and how would you go about fixing it?
i have this create_new function that seems to be right to me but i dont know how to test it. How would i call the function?
personal create_new()
{
personal temp;
printf("\nFist...
also, i worte the NotFound structure outside of main.... is this wrong or will it not matter?
i am writing a function called create_new() that will Cycle through all the fields in the structures and ask the user to input data for them. If they input invalid data or otherwise abort entry of...
Thanks for the tip.
Stupid me, I should of figured that out on my own.
can someone figure out why this function is not working. It keeps printing out the LAST NAME "Mikihl", and its supposed to print out the FIRST NAME of the number that matches.
Any help would be...
The olny reason i actually wrote it out was because i had to. I am not allowed to use ToUpper or ToLower... also i am not allowed to use pointers which makes it more difficult