Search:

Type: Posts; User: kelai

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    2,093

    you may need declare bool func() first before...

    you may need declare bool func() first before main and func().

    like this: bool func();
  2. Replies
    3
    Views
    3,811

    Thanks for your reply. I tried many time for...

    Thanks for your reply.

    I tried many time for use # around my code but it did not work.
  3. Replies
    3
    Views
    3,811

    Please help, about limits .h

    I try to compile this piece of code but i got error like this: error: ‘UNIT_MAX’ undeclared (first use in this function)

    my code:

    #include<stdio.h>
    #include<limits.h> /*for UNIT_MAX*/


    ...
  4. Replies
    3
    Views
    1,642

    It's working fine now. Many many many thanks.

    It's working fine now.
    Many many many thanks.
  5. Replies
    3
    Views
    1,642

    Hi, Can anyone help me? print prime numbers.

    The programme should ask user how many primes does he wants and print out the counts and primes.

    My code is:


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

    int is_prime(int n);
Results 1 to 5 of 5