That was very illuminating. I've been doing that in assembly recently while programming my PIC and never tought that there was something like that for either C or C++ thinking that since they were...
Type: Posts; User: vicath
That was very illuminating. I've been doing that in assembly recently while programming my PIC and never tought that there was something like that for either C or C++ thinking that since they were...
did not know what the '<<' was for and doing a simple google search i could not find it.
If I were to do split it, it would be a file checking/reading function, and one for the actual finding.
I could also remove some of the unused variables too like modulus and numSum
Here's the completed project (I don't care about sharing my code with people) can anyone think of any way to improve this code? or simplify it?
#include <stdio.h>
#include <mpi.h>
#include...
Nevermind, i got it. Thank you for all your help, though i now have a logic problem ^^;;;
This might sound stupid but how would go about fixing the first problem? I already fixed the second one. Thank you.
Yes, I just tried it and it is always a whole number because I am using 16 nodes for the time being. I tried replacing it with i<4, i tried making i a double type. I had to take out all the code in...
sorry for cutting the code
#include <stdio.h>
#include <mpi.h>
#include "math.h"
int main(int argc, char* argv[])
{
I've been working on an algorithm to do exercise 3 from NESL Exercises. I have been racking my brain for the past day and cannot figure why it is giving me an abort().
It is supposed to read a file...