Search:

Type: Posts; User: Lagrange

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    3,204

    Bench82: As i understand doing that the...

    Bench82: As i understand doing that the Numbervector will be copied into the function and hence use more memory?

    All: Alas, it turns out I have been looking the wronge places. I installed Ubuntu...
  2. Replies
    6
    Views
    3,204

    Ups, small mistake from my part ...

    Ups, small mistake from my part



    pNumberVector = &NumberVector

    Should have been added.

    I am worrying that some improper cleanup due to poor programming is making my program very slow.
  3. Replies
    6
    Views
    3,204

    Pointer to vector, scope and Locals

    Hello fellow programmers,

    I thought I had the basic stuff covered and started implementing an algorithm. Now the algorithm is finished and initial tests tells me that is works with respect to the...
  4. Replies
    2
    Views
    1,859

    Doh! The code is now compilling. I guess there...

    Doh!

    The code is now compilling. I guess there is no reason I use pointers for the vector, hence I should probably not use it. Thanks for that point!
  5. Replies
    2
    Views
    1,859

    Define custom comparison

    Hello fellow programmers.

    This question should be easy, but already wasted hours of googling and testing I now turn to you. As a part of a project I am using a vector < vector <double > > data...
  6. Well that certainly explains why it doesnt work. ...

    Well that certainly explains why it doesnt work.

    Is it correct that getline is function supplied in c++ for visual studio?

    I guess my current options is to either to make the code Visual...
  7. C linker error when using getline - ported from linux to windows

    Hello dear fellow coders.

    As a part of a project I have obtained from a friend some code to read from a file. It was written in C on linux and is confirmed working there. I have got the header and...
Results 1 to 7 of 7