CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: gugge444

Search: Search took 0.01 seconds.

  1. Re: "The system cannot find the path specified"

    At this point, for time reasons, I have to leave the programming part of my dissertation for a few week.

    I therefore wanted to take this opportunity to thank you for your help and patience. I have...
  2. Re: "The system cannot find the path specified"

    Alright, that is very good to know, I thought the variables were only to be called in that way when you desired to modify their value within the function.

    The function now runs, and the Linear...
  3. Re: "The system cannot find the path specified"

    allright, solved that now, no need to reply
  4. Re: "The system cannot find the path specified"

    I ran a cin >> through the text and found that the error is in the
    glp_load_matrix(lp, OBJ.n_rows*3, &ia(1), &ja(1), &ar(1)); statement... any ideas?
  5. Re: "The system cannot find the path specified"

    It may possibly be that I use too much memory?
  6. Re: "The system cannot find the path specified"

    I feel the code should make more sense now, but the "The program '[16172] top.exe: Native' has exited with code 3 (0x3)." error still appears... Here is the code now if you feel like having a look.
    ...
  7. Re: "The system cannot find the path specified"

    Thank you!

    This is all very useful, and the std::Vector (or rather arma::Col) that I am now using thanks to you works great!

    I actually tried to do it this way earlier, but did not add the [0]...
  8. Re: "The system cannot find the path specified"

    The error only occurs when I call the linprog1 function, so the error should lie in the second code.
  9. "The system cannot find the path specified"

    I have two pieces of code:



    #include <cmath>;
    #include <iostream>
    #include <fstream>
    #include <cstdlib>
    #include <string>
    #include <iomanip>
  10. Re: Problem using matlab function in visual studio c++?

    Sorry, that is suppose to be char* and char, not double* and double
  11. Re: Problem using matlab function in visual studio c++?

    I got the code to work! Thank you for all your help! :)

    By the way, I created a 1d array using the trick double* x = new double[var]; which seems to be the only way of creating an array with a...
  12. Replies
    7
    Views
    366

    Re: Calling a library

    YES! It is all sorted! Sorry for all the frustrating newbi questions, but I should be fine from now! Thanks for all help
  13. Replies
    7
    Views
    366

    Re: Calling a library

    I made it past that problem by adding files to the resources folder. I now run the program fine, but when the cmd prompt appears it appears with a message claiming that the dll file used is missing...
  14. Re: Problem using matlab function in visual studio c++?

    Ah once again I moved on, I simply took all the files in the folder, such as dlls and libs and put them under resources, now the error that appears is that the file "glpk_4_47.dll is missing" so I...
  15. Replies
    7
    Views
    366

    Re: Calling a library

    Clearly if anyone wants to have a look at the package to see if they can make it work, that would be much appreciated.

    The file can be downloaded for free from https://www.gnu.org/software/glpk/
    ...
  16. Replies
    7
    Views
    366

    Re: Calling a library

    Modified the text! :) I think you are right about the dependencies, but I am not sure how to make this work.. All the linker --> input --> additional dependencies allows me to do is write names of...
  17. Re: Problem using matlab function in visual studio c++?

    Cheers Paul :)

    You are right about the fact that I do not know enough about c++ yet, as I keep getting into trouble... I have now moved onto trying to add the gnu glpk library to my code, but I...
  18. Replies
    7
    Views
    366

    Calling a library

    I am new to c++, so I apologize for the possibly poorly formulated question below.

    I am trying to use gnu glpk library, and I am doing something wrong.

    I code in visual studio 2010. To use the...
  19. Re: Problem using matlab function in visual studio c++?

    Thank you Paul!

    I needed to rethink what I was doing and am now on the right track! It is annoying however that now I have stumbled upon:

    1>C:\Program Files\MATLAB\MATLAB Compiler...
  20. Re: Problem using matlab function in visual studio c++?

    Thank you for your reply Paul.
    Although I am new to C++ I understand the concept of prototyping. I apologize for the confusing formulation of my question. I believe this function I am trying to use...
  21. Problem using matlab function in visual studio c++?

    I am trying to use the linprog function in visual studio 2010. I have used the matlab compiler according to the walkthrough at...
Results 1 to 21 of 21



HTML5 Development Center

Click Here to Expand Forum to Full Width