Search:

Type: Posts; User: Showster

Search: Search took 0.01 seconds.

  1. Thread: quicky

    by Showster
    Replies
    2
    Views
    952

    sorry ignore I am a dumb git made a typo

    sorry ignore I am a dumb git made a typo
  2. Thread: quicky

    by Showster
    Replies
    2
    Views
    952

    quicky

    while((a[i].sex != '0') && (a[i].sex != '1'))
    {
    printf("Error, please may you enter 1 for male or 0 for female(person %d)\n", i);
    scanf("%d",&a[i].sex);
    }

    why does this not work...
  3. Thread: Filter Sort

    by Showster
    Replies
    9
    Views
    2,156

    thanks your a life saver !!!!!!!!!!!!!!!

    thanks your a life saver !!!!!!!!!!!!!!!
  4. Thread: Filter Sort

    by Showster
    Replies
    9
    Views
    2,156

    I am using visual studio 6 ......... didn't solve...

    I am using visual studio 6 ......... didn't solve anything unfortunately V_V
  5. Thread: Filter Sort

    by Showster
    Replies
    9
    Views
    2,156

    just tired that and

    #include<stdio.h>

    #include <stdlib.h>

    #include <string.h>



    typedef struct surv_list SLIST;
  6. Thread: Filter Sort

    by Showster
    Replies
    9
    Views
    2,156

    PLZ help !!!

    PLZ help !!!
  7. Thread: Filter Sort

    by Showster
    Replies
    9
    Views
    2,156

    didn't really answer my question

    printf("\n\rOnly females, print d");
    printf("\n\rOnly males, print e\n\r");


    How can I do that when the data is stored in here

    scanf("%d",&a[i].sex);
    ???

    thanks
  8. Thread: Filter Sort

    by Showster
    Replies
    9
    Views
    2,156

    Filter Sort

    Right I have a 2D array and stored in one of the elements... is the values 1 / 0........ What I want to be able to do is the print the array if the value is 1 ////////////// and have another sort to...
  9. Replies
    2
    Views
    1,116

    thanks your a life saver ...... plus I am a...

    thanks your a life saver ...... plus I am a dumbass when it comes to typing lol !
  10. Replies
    2
    Views
    1,116

    Sorting (typec)

    Hi please may u have a read and see why my third sort on age is not working correctly ........ id and wage work fine but for some reaason age is malfunctioning thanks greatly !

    #include<stdio.h>
    ...
  11. Thread: home streak

    by Showster
    Replies
    2
    Views
    1,088

    home streak

    After quite alot of babbling and working my code is almost done...
    What i would love to know if how can I make the quicksort work for all 3 of my requested sort types a,b,c (D+E are something...
  12. Replies
    1
    Views
    1,009

    Bubblesort malfunctioning

    #include<stdio.h>

    int main()
    {
    int /* PersonID,Wage,Sex,Age, */ n, i;
    int a[10][4];
    printf("please enter the amount of people you will use \n");
    scanf("%d",&n);
    printf("\n=%d\n\n", n);...
  13. Replies
    3
    Views
    1,158

    no errors or warnings are given in visual studio...

    no errors or warnings are given in visual studio . the program simply terminates after the printtable function !!!!
  14. Replies
    3
    Views
    1,158

    Why does this not work :-p ?

    #include <stdio.h>
    #include <math.h>

    void datain(int,int,float[10000][4]);
    void prtable(int,int,float[10000][4]);
    void sortdata(int,int,float[10000][4]);
    void main ()
    {
    /*Author:GSD...
  15. Replies
    6
    Views
    1,264

    .......

    lol uppss forgot bout that ! thanks works fine ....... just need to know how to use the scanf command to enter data into the array i.e. row1 column1 row1 column2 etc...... oh is there a way I can...
  16. Replies
    6
    Views
    1,264

    that code brings up 2 error warnings in vis...

    that code brings up 2 error warnings in vis studio ....... is it meant to be adapted............ ? thanks for your help :-)
  17. Replies
    6
    Views
    1,264

    thanks

    but I need the user to be able to define the number of rows not .... to actually state it in the c source file .... if u understand what I mean :-)
  18. Replies
    6
    Views
    1,264

    Help with Arrays :-)

    Hi I would like to know how I can use a 2d array for instance to input some variable for instance ...........


    I need 4 columns and a definable amount of rows

    Person ID..............
Results 1 to 18 of 18