I am having trouble with my dev c++ compiler. My program compiles fine but when i execute it, it only stays up for a microsecond and i cant see the output, can somebody please tell me how i can fix...
Type: Posts; User: alokin
I am having trouble with my dev c++ compiler. My program compiles fine but when i execute it, it only stays up for a microsecond and i cant see the output, can somebody please tell me how i can fix...
sorry it should look like this
struct list
{
int data;
char moredata;
struct list next;
}
If i had the follwoing link list structure
struct list
{
int data;
char *moredata;
struct list next;
}
I wanted to know why my numbrer of clashes differ.
My lecturer has an executable that produces the same results every time.
The only difference with my one is the number of clashes and i can...
Can somebody help me find the problem with my hash tables program. I have to produce the following output:
% full = 5, % clashes = 5
% full = 10, % clashes = 2
% full = 15, % clashes = ...
I dont know if this is what u wanted but i have it so that it takes in the input but it deosnt seem to quit when u press q for some reason. But here it is. U werent closing the file properly, it...
Is there a reason why my compiler at home and unix show different output? I get it working at home on windows but when i compile it on unix the output is all wrong
I have tried to change things but i am still getting that all even numbers exept 2 are not prime, but every odd number is also prime. Is there something wrong with my loop? please help
...
It still isnt working properly, i have made changes. Any other ideas where my flaw is?
#include <stdio.h>
#include <math.h>
#define TRUE 1;
#define FALSE 0;
I've tried it but its still not working properly. am i doing something else wrong that i cant see?
I have a probelm. I am trying to get my program to determine if a value entered is prime or not. My problem is that whichever number is entered it always says that the number is prime. Can someone...
these dummy values go something like this...
Lets say i want to read in a file with this format
"number name rate"
then a procedure just initialises this list by adding dummy values like:...
Can anyone help me out.
I need to validate a record read into an array and i have to seperate the fields entered.
for Example
user input: allen - 2234 - 3d
I need to break it up into...
Thanks for that. I just guess i just didnt understand the part about the colon. I'm not very good with this programming stuff as u can probably tell
thanks
I think maybe I wasnt clear when i said how the input should go
here is an example run of what is supposed to happen
Please enter record string
TZ00413:Lubumbo:Josephine Tose:F
Valid record
...
Not that i want to be a fool or anything but I'm actually not allowed to use structs for this project.
I only have to get user input and see if the input is valid in regard to the field entered....
How am i actually supposed to go throught each array element and see if it conforms to the specification?
Is there some way of checking IDNumber, then Family name, then Given manes and then...
Hello
I need some help. This is what I have to do:
I have to validate data. There are several fields:
* ID Number (7 characters, first 2 have to be capital letters, next five have to be...
Hello
I need some help with drawing boxes. I can draw triangles, but boxes i am having trouble with.
I need to draw a box like this ...
####
# #
####