Search:

Type: Posts; User: vtergolina

Search: Search took 0.00 seconds.

  1. Found my error guys. the Cor parameter was giving...

    Found my error guys. the Cor parameter was giving 0.0000 because i was trying to print it as %f, changed it to %e and it gave me the right value, thanks for the help!
  2. Ok, i have to go to class now but i'll get back...

    Ok, i have to go to class now but i'll get back here as soon as i can with a template of it.
  3. My problem is that the way i specified it on the...

    My problem is that the way i specified it on the new program aparently isnt enough to pass the arrays Sx[j] and h[j] to the older.
  4. I changed the code so it should be geting the...

    I changed the code so it should be geting the arrays from the new program like it used to get from the fscanf back when it filtered one specter at time. But i don know if it is geting the arrays...
  5. I'm reading specters from stars wich means i need...

    I'm reading specters from stars wich means i need to store an X value for waveleghts and an Y value for radiation flux, the function i'm using is an older program wich get this specters and filter...
  6. Yeah, it worked which means my problems are worst...

    Yeah, it worked which means my problems are worst than i thought, thank you anyway, you dont happen know any tutorial about this kind of operation do you?
  7. Made an quick code to test what you guys are...

    Made an quick code to test what you guys are telling me, it didnt work either so i must be doing something wrong.



    #include <stdio.h>
    #include "del.h"

    main()
    {
  8. Did what you told me, compiled them separated in...

    Did what you told me, compiled them separated in .o files and them compiled them like this "gcc main.o function.o function.h -o prog", got the executable but the arrays are not geting to the...
  9. Do i erase the "#include "function.o" " from...

    Do i erase the "#include "function.o" " from main.c? as long as this is there i get the same error.
  10. If i try to make an executable with the main. and...

    If i try to make an executable with the main. and function.c files instead of main.c and function.o the result is the same.
  11. problem with array transport between programs

    I'm triyng to use an older program of mine as a function of a new one i made but instead of just coping the code of the older to the new i wanted to use they as separeted files, i writed the codes i...
Results 1 to 11 of 11