Search:

Type: Posts; User: mahaju

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,463

    I did do a rebuild I do a rebuild everytime I...

    I did do a rebuild
    I do a rebuild everytime I want to run it
    My problem is that, it was working all right the first 5 or so times
    Then suddenly this problem appeared
    It was solved by breaking the...
  2. Replies
    5
    Views
    1,463

    What I actually don't understand is, this is code...

    What I actually don't understand is, this is code that I had completed and tested months ago
    Yesterday when I as running it again it was working fine for the first few runs
    Since this is not a very...
  3. Replies
    5
    Views
    1,463

    Problem with two functions in single cout

    #include<iostream>
    #include<conio.h>
    using namespace std;
    typedef unsigned long ulong;


    long eeuclid(long m, long b, long *inverse){ /// eeuclid( modulus, num whose inv is to be found,...
  4. program crashes at run time but not in debugger

    What does it man when a program crashes at runtime, but does not crash during the step by step execution in a debugger?
    This particular program declares a large number of large size structure...
  5. How to determine the execution time of a function (or an entire program)

    Hello everyone,
    I need to determine the time it took for a function to execute in a program that I have written
    I am using Windows 7 Ultimate
    My processor is Intel(R) Core(TM) i5 CPU 760 @2.80GHz...
  6. Another hint: by adding if(!a) {printf("Null...

    Another hint:
    by adding
    if(!a) {printf("Null Pointer"); exit(0);} at the beginning of the function show_mp_int_fullinfo() it looks like the program is crashing due to null pointer assignment when...
  7. Nesting functions which take same pointer as arguments

    Please open the file code.c in a suitable text editor (like notepad++, to help keep track of the line numbers)

    Line 738: Let us consider the variable R (5th argument in the function...
  8. Replies
    6
    Views
    984

    there is some problem with your codeblocks...

    there is some problem with your codeblocks settings not the code
  9. Replies
    3
    Views
    1,252

    OK I think my program is finally working I would...

    OK I think my program is finally working
    I would want some feedback though
    So I am posting the source code along with a sample numerical as well as a brief explanation of it
    Please post any...
  10. Replies
    3
    Views
    1,252

    k and n are basic integers and not mp_int so I...

    k and n are basic integers and not mp_int so I can't do mp_sub here
    I have made further modifications to this program and it does not crash on output anymore, but the final result is still not...
  11. you know what, I think a moderator will probably...

    you know what, I think a moderator will probably lock this thread anyway because it is going way off topic
    So this will be my last post here
    By the way, thanks to everyone for your help
  12. You really think so? If so I request the...

    You really think so?
    If so I request the moderators to suggest the webmaster that a feature to allow the starter to mark the thread as solved be added

    I am sure the moderators probably read all...
  13. Replies
    5
    Views
    25,365

    Try this website srand - C++ Reference...

    Try this website
    srand - C++ Reference
    It has a lot of C++ references, but since it is backward compatible with C you will find information about many C functions as well
  14. Replies
    3
    Views
    1,252

    Montgomery inverse in libtommath

    I have implemented Montgomery inverse algorithm for the basic built-in data types
    I am trying to implement it for large numbers using the libtommath library but it doesn't seem to give the right...
  15. Replies
    5
    Views
    25,365

    search for rand() function If you are just...

    search for rand() function

    If you are just starting to learn C programming I think you should better start learning the basics first
  16. That's true, but I am sure the webmasters must...

    That's true, but I am sure the webmasters must have had their reasons for not implementing it yet
  17. I just wanted to know if there is a way to edit...

    I just wanted to know if there is a way to edit the title of the thread to say "solved"
  18. ok Thank you very much PS: How do I edit a...

    ok Thank you very much
    PS: How do I edit a previous post here (I mean an old one and not just the latest one) or how do I mark my thread as solved?
  19. Thank you very much for that helpful post...

    Thank you very much for that helpful post
    however I still don't exactly understand the difference between declaring func(int &var) and func(int *var)
    Is it that declaring *var passes address of...
  20. int first(int & value) {} type function definition

    if a function is defined as

    int first(int & value) {}
    what does it mean? A function that accepts memory address should be defined as first(int * value) and when calling the function it should be...
  21. Replies
    3
    Views
    1,163

    about the digit size in libtommath

    In the libtommath library documentation file, what does it mean by the
    "default value of mp_digit being ISO C unsigned long data type, each
    digit is 28 bits long" ? Shouldn't it be 32 bits? It...
  22. Replies
    20
    Views
    7,754

    Thank you very much Thanks to everyone

    Thank you very much
    Thanks to everyone
  23. Replies
    20
    Views
    7,754

    Thank you very much I have also produced the .a...

    Thank you very much
    I have also produced the .a file, however, I did that by compiling all the .c files in codeblocks (I wasn't sure how to combine multiple files in command line so I used...
  24. Replies
    20
    Views
    7,754

    Please don't go through too much trouble I have...

    Please don't go through too much trouble I have already got gmp to work in Linux, but it's just that getting something similar to work in Windows would just make it more convenient for me right now...
  25. Replies
    20
    Views
    7,754

    I'm sorry I made some mistakes The VS project...

    I'm sorry I made some mistakes
    The VS project files are in libtommath and not tomsfastmath
    the latest post about errors in Codeblocks were for libtommath and not tomsfastmath
    I haven't been able...
Results 1 to 25 of 39
Page 1 of 2 1 2