Search:

Type: Posts; User: newbie123

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    5,284

    yea, I got it now. Thanks :)

    yea, I got it now. Thanks :)
  2. Replies
    8
    Views
    5,284

    I tried using 'long long', 'unsigned long' but...

    I tried using 'long long', 'unsigned long' but nothing seems to be working.. it is still printing out garbage for bigger values
  3. Replies
    8
    Views
    5,284

    What do u mean by compiler support? I'm using...

    What do u mean by compiler support? I'm using Cygwin to compile my code.
  4. Replies
    8
    Views
    5,284

    Storing and printing large integers

    Hi All,

    I need to store and print 10 digit numbers in each location of an array. What data type should I use? Integer arrays are able to hold only upto 9 digit numbers. Any suggestions?
  5. Replies
    6
    Views
    1,032

    I figured out where I went wrong.. Thanks for...

    I figured out where I went wrong.. Thanks for your help.. It is what made me think :)
  6. Replies
    6
    Views
    1,032

    I had changed the return statements in the...

    I had changed the return statements in the function.. Let me knw if it makes sense now?
  7. Replies
    6
    Views
    1,032

    if i>j then it shud return an error.. if it is...

    if i>j then it shud return an error.. if it is equal to j, it shud return a[i]
  8. Replies
    6
    Views
    1,032

    Problem with recurrsion

    Hi, All

    I'm trying to call a function recursively. I tried this code and it doesnt seem to work correctly. The code compiles perfectly but it gives the wrong output. Can you guys suggest what...
  9. Replies
    2
    Views
    15,461

    Printing current system time in C++

    hi all,

    I'm trying to print out the current time using C++. I'm using Microsoft visual studio 2008..




    #include <windows.h>
    #include <stdio.h>
    #include <time.h>
  10. Thanks a lot, man... You're the man :)

    Thanks a lot, man... You're the man :)
  11. #include #include main() {...

    #include<stdio.h>
    #include<conio.h>
    main()
    {
    int n,a[100],i,j,count=0;
    printf("Enter total no of elements in permutation");
    scanf("%d",&n);
    printf("Enter all the elements of permutation");...
  12. sorry abt that. I'll write my code and get back...

    sorry abt that. I'll write my code and get back with my doubts..
  13. C program to find inverses of a permutation

    Hi all,

    I'm kind of newbie to these programming stuff. Can you please help me out with a code to find inverses of a permutation?

    For example, if the elements are 10 4 12 11 6, to find inverse,...
Results 1 to 13 of 13