Search:

Type: Posts; User: talentspsp

Search: Search took 0.01 seconds.

  1. Thread: add library

    by talentspsp
    Replies
    0
    Views
    988

    add library

    Can I add a library into another? say, add libex1.a into libex2.a, then each time I just need to link to libex2.a. Anyone knows? Thanks!
  2. I think that's because in the getarraysize...

    I think that's because in the getarraysize function, sizeof(input) will give you the size of a pointer, which is 8, and sizeof(input[0]) is the size of a char, which is 1.
  3. Thread: Blas

    by talentspsp
    Replies
    2
    Views
    1,396

    Blas

    I tried to call cblas_dgemm from C++ code to do matrix multiplication. But with same matrices, the C++ code is much slower than matlab command C=A*B. Anybody know why? I thought matlab also uses...
  4. Replies
    4
    Views
    10,077

    I think so. I did ./execname gprof execname ...

    I think so. I did
    ./execname
    gprof execname


    It achieved a normal exit.


    Yes, I saw the gmon.out. I can see other all the information, like how many times a function is called, just the...
  5. Replies
    4
    Views
    10,077

    gprof: time not counted

    I want to use gprof to optimize my program. But in its output, time is not counted for any function. All the entries for time are 0.0 . My program runs for 50s. My operating system is Mac OSX. I used...
  6. Replies
    7
    Views
    1,296

    about return value

    For C++ programmers, if a function needs to return a value to indicate MULTIPLE status, such like success and different situations of failure(more than one, so can't return bool), what value should...
  7. Replies
    4
    Views
    5,662

    OK, thank you very much!

    OK, thank you very much!
  8. Replies
    4
    Views
    5,662

    Thank you! Is there any easy way to add all the...

    Thank you! Is there any easy way to add all the sub folders of a folder to the searching path? Because it seems that the source code in that library doesn't follow the normal convention.
  9. I think it should be void...

    I think it should be
    void StudentType::printData(ostream& out) const
  10. Replies
    4
    Views
    5,662

    g++ header search path

    How can I add a folder and ALL ITS SUBFOLDERS to the "include searching path"? Then if myheader.h is in one of these folders, I can use "include <myheader.h>" instead of "include "path/myheader.h" "....
Results 1 to 10 of 10