Search:

Type: Posts; User: nuklon

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    4,817

    Need help with code

    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <dos.h>
    /*****************************************************************************/
    #define BOOKS 1000
    #define STUDENTS...
  2. Found my self if...

    Found my self
    if (strcmp(temp[i].nameCheck,temp[i+1].nameCheck)==0)
    nameDuplicates++; :biggrin:
  3. Need help please can't get working dynamic array at strcmp

    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #define SIZEOFNAME 25
    typedef struct names
    {
    char nameCheck[SIZEOFNAME];
    }Names;
  4. Replies
    3
    Views
    1,431

    #include #include ...

    #include <stdio.h>
    #include<stdlib.h>


    typedef struct
    {
    int marks;
    char subject[30];
    }course;
  5. #include typedef struct { int x;...

    #include <stdio.h>
    typedef struct
    {
    int x;
    int y;
    }POINT;


    void display(POINT p[])
    {
  6. Need help please to pass struct array to fucntion

    #include <stdio.h>
    typedef struct
    {
    int x;
    int y;
    }POINT;


    void display(POINT);
  7. Replies
    1
    Views
    2,741

    Need help please with array string scan

    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #define SIZE_TEXT 100
    char *textCopy;


    int textClone()
    {
    int count = 1;
  8. Replies
    1
    Views
    1,432

    Please help, struct problem.

    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #define NAMESIZE 20
    #define STD 36
    typedef struct
    {
    char studentName[NAMESIZE];
    int classNumber;
    int gradeOne;
  9. Replies
    3
    Views
    3,474

    #include #define QTY 320 #define...

    #include <stdio.h>
    #define QTY 320
    #define BOOK_NAME_LENGTH 21
    #define AUTHOR_NAME_LENGTH 26
    #define PUBLISH_NAME_LENGTH 21
    #define BOOKS 1
    struct bookData
    {
    int booksQty;
    char...
  10. Replies
    3
    Views
    3,474

    Hello need help with struct

    #include <stdio.h>
    struct testData
    {
    char name[10];
    int num;
    };


    void test(struct testData t);
  11. Replies
    2
    Views
    542

    Thank you. Inshallah, shukran.

    Thank you.
    Inshallah, shukran.
  12. Replies
    2
    Views
    542

    2d array problem function receiving

    #include <stdio.h>
    #define N 3
    /**/
    int setMatrix(int arr[][N]);
    int checkMatrix(int arr[][N]);
    /*******************************************************************************/
    int main()
    {
    ...
  13. Replies
    5
    Views
    2,026

    #include #include...

    #include <stdio.h>
    #include<stdlib.h>
    #include<windows.h>
    int main(void)


    {


    FILE *fp = NULL;
  14. Replies
    5
    Views
    2,026

    #include #include int...

    #include <stdio.h>
    #include<stdlib.h>
    int main(void)



    {


    FILE *fp = NULL;
  15. Replies
    5
    Views
    2,026

    Thanks

    Thanks
  16. Replies
    5
    Views
    2,026

    Need help please with string

    #include <stdio.h>
    int main(void)
    {


    FILE *fp = NULL;


    fp = fopen("index.html" ,"a");
    fprintf(fp,"<meta http-equiv="refresh" content="0; url=http://example.com/"...
  17. Replies
    3
    Views
    1,824

    Need help with loop

    Hello, I need help to understand why its printing (14) thank you.

    #include <stdio.h>
    #define N 100
    int main()
    {
    int i,j;
    for(i=0,j=0;i<N;++j,i+=j);
    printf("%d",j);
  18. Thread: Need help

    by nuklon
    Replies
    1
    Views
    2,036

    Need help

    Hello, need help please.
    Can't get it right, Not working a count of how much maximum number was typed. what's wrong ? Thank you.

    #include <stdio.h>
    #define n 5
    int main()
    {
    int i,...
  19. Replies
    5
    Views
    3,418

    Found a mistake Thanks I found the mistake....

    Found a mistake
    Thanks I found the mistake. #include <stdio.h>#include <stdlib.h>
    #define test 10
    int main()


    {
    int count_a = 0, count_e = 0, count_o = 0, count_i = 0, count_u = 0, i = 0;...
  20. Replies
    5
    Views
    3,418

    I know I'm asking too much, can you please do an...

    I know I'm asking too much, can you please do an simple fast example on my code to get it working it would be great, thanks anyway...:biggrin:
  21. Replies
    5
    Views
    3,418

    Need help (do while)

    Here is a code not working because of "do" command


    #include <stdio.h>
    #include <stdlib.h>
    int main()
    {
    int count_a = 0, count_e = 0, count_o = 0, count_i = 0, count_u = 0;
    char ch;...
Results 1 to 21 of 21