Search:

Type: Posts; User: alokin

Search: Search took 0.01 seconds.

  1. Thread: dev c++

    by alokin
    Replies
    1
    Views
    888

    dev c++

    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...
  2. Replies
    3
    Views
    1,153

    sorry it should look like this struct list...

    sorry it should look like this



    struct list
    {
    int data;
    char moredata;
    struct list next;
    }
  3. Replies
    3
    Views
    1,153

    link list question

    If i had the follwoing link list structure



    struct list
    {
    int data;
    char *moredata;
    struct list next;
    }
  4. Thread: hashing help

    by alokin
    Replies
    17
    Views
    4,462

    I wanted to know why my numbrer of clashes...

    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...
  5. Thread: hashing help

    by alokin
    Replies
    17
    Views
    4,462

    hashing help

    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 = ...
  6. Thread: error =(

    by alokin
    Replies
    11
    Views
    1,386

    I dont know if this is what u wanted but i have...

    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...
  7. Thread: unix output

    by alokin
    Replies
    1
    Views
    1,028

    unix output

    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
  8. Thread: prime # query

    by alokin
    Replies
    8
    Views
    2,409

    I have tried to change things but i am still...

    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


    ...
  9. Thread: prime # query

    by alokin
    Replies
    8
    Views
    2,409

    It still isnt working properly, i have made...

    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;
  10. Thread: prime # query

    by alokin
    Replies
    8
    Views
    2,409

    I've tried it but its still not working properly....

    I've tried it but its still not working properly. am i doing something else wrong that i cant see?
  11. Thread: prime # query

    by alokin
    Replies
    8
    Views
    2,409

    prime # query

    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...
  12. Thread: file dummy

    by alokin
    Replies
    6
    Views
    1,349

    these dummy values go something like this... ...

    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:...
  13. Thread: array breaker

    by alokin
    Replies
    6
    Views
    1,520

    array breaker

    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...
  14. Thread: string handling

    by alokin
    Replies
    12
    Views
    1,675

    Thanks for that. I just guess i just didnt...

    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
  15. Thread: string handling

    by alokin
    Replies
    12
    Views
    1,675

    I think maybe I wasnt clear when i said how the...

    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
    ...
  16. Thread: string handling

    by alokin
    Replies
    12
    Views
    1,675

    Not that i want to be a fool or anything but I'm...

    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....
  17. Thread: string handling

    by alokin
    Replies
    12
    Views
    1,675

    How am i actually supposed to go throught each...

    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...
  18. Thread: string handling

    by alokin
    Replies
    12
    Views
    1,675

    string handling

    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...
  19. Thread: drawing boxes

    by alokin
    Replies
    5
    Views
    2,052

    drawing boxes

    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 ...

    ####
    # #
    ####
Results 1 to 19 of 19