Search:

Type: Posts; User: amite

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    16,315

    hi Gaurav, every is suggesting u the same ...do...

    hi Gaurav, every is suggesting u the same ...do sth for lazy people ! It's really a good idea. But if u will be doing others homework for others it's not gonna help u very much,as u can earn sm money...
  2. Replies
    22
    Views
    2,960

    Thn x "CommonTater"....... On linux system it...

    Thn x "CommonTater".......
    On linux system it gives warning message while on windows system it gives error message when i was using GCC but with VC++ compiler it's all fine .

    Thanx evry1 :-)
  3. Replies
    22
    Views
    2,960

    Yes,i think i would have go with GMP................

    Yes,i think i would have go with GMP.............

    please suggest me other solution of my problem ....
  4. Replies
    33
    Views
    3,527

    Though i am not full time programmer and don't...

    Though i am not full time programmer and don't know the standards of C programming ,i believe and do programming to accomplish my task............
    int A[x];//it won't work on each compiler (old one)...
  5. Replies
    22
    Views
    2,960

    I tried the following on windows(codeblock) and...

    I tried the following on windows(codeblock) and linux(gcc) :

    #include <stdio.h>
    #include <stdint.h>
    int main()
    {
    uint64_t x;
    unsigned long long y;
    unsigned long int...
  6. Replies
    22
    Views
    2,960

    the number i have is 600851475143. Even this...

    the number i have is 600851475143.

    Even this satement give error.When i use 600851475 then it give the result.I am using codeblock on windows.
  7. Replies
    22
    Views
    2,960

    the number i have is 600851475143. Even this...

    the number i have is 600851475143.

    Even this satement give error.When i use 600851475 then it give the result.
  8. Replies
    22
    Views
    2,960

    @Salem : I know the algo of the problem but main...

    @Salem : I know the algo of the problem but main problem is how to handle the large number.As we can't use double data type cause we need to use % operator.

    Can any provide me a little code...
  9. Replies
    33
    Views
    3,527

    Use calloc() or malloc() for dynamic memory...

    Use calloc() or malloc() for dynamic memory allocation.With calloc u won't need to use memset() as all the memory location allocated are initialized by 0.Ex:


    #include <stdlib.h>
    int main()
    {
    ...
  10. Replies
    22
    Views
    2,960

    whether number is prime or not

    If the number is greater than 2^32(4294967296)then how to determine whether is it prime or not? Ex:Is 4437864713 a prime number ?
Results 1 to 10 of 10