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...
Type: Posts; User: mahaju
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...
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...
#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,...
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...
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...
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...
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...
there is some problem with your codeblocks settings not the code
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...
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...
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
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...
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
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...
search for rand() function
If you are just starting to learn C programming I think you should better start learning the basics first
That's true, but I am sure the webmasters must have had their reasons for not implementing it yet
I just wanted to know if there is a way to edit the title of the thread to say "solved"
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?
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...
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...
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...
Thank you very much
Thanks to everyone
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...
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...
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...