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

Search:

Type: Posts; User: LMHmedchem

Page 1 of 12 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    12
    Views
    828

    All possible combinations problem

    Hello,

    I have to create all possible combinations of some string data.

    The input data is string and looks like,

    b_00000000011100000000000

    For a given input string, I need to generate all...
  2. Re: search vector of objects for object with specific attribute value

    Well I have something working with the following,


    class important_vertex {
    public:
    // initialize class members
    important_vertex()
    : vertex_number(0),
    some_other_value(0)...
  3. search vector of objects for object with specific attribute value

    Hello,

    I run into this often enough that I would like to lock down a good method.

    If I have a simple class and a container,


    class important_vertex {
    public:
    // initialize class members
  4. Re: difficult problem of finding a specific numerical minimum in fuzzy series

    This is the code for calculating pearsons r2 and the standard error of regression,


    // declarations
    unsigned int pred_train_count=0;
    double pred_train_sum=0.0, pred_train_mean=0.0;

    //...
  5. Replies
    5
    Views
    701

    Re: (Begginer) problem with sum c++

    I don't see any code here to convert text read in from the file to double. I usually use getline() to read in each line of text and store it as a string. Then I parse the string if it is delimited...
  6. Re: how to build C Source code with Makefile

    You typically build with a makefile using the command,

    make -f ./make_file_name all
    run from the directory containing the make file.

    You should post your make file as text in [code] tags or as...
  7. Re: difficult problem of finding a specific numerical minimum in fuzzy series

    I have checked my SE values against Excel and R and they have been calculated correctly. That may not be exactly what you are getting at with you post, but the fact remains that this is an issue with...
  8. Re: difficult problem of finding a specific numerical minimum in fuzzy series

    Thank you for the thoughtful replies. I have suspected that this would involve identifying all the minima and maxima or looking at the y distance between, so it's interesting that those are the two...
  9. difficult problem of finding a specific numerical minimum in fuzzy series

    Hello,

    I am having difficulty determining an algorithm that will find a specific minimum in a series of float.

    Consider the sample series of numbers,


    34.6 36.1 33.9 51.3 73.1 ...
  10. Re: compiler error with function to sort vector of objects on member variable value

    Thanks for the information. I always seem to end up with some issue where I need to sort vectors of objects and I am beginning to think I should just plan on having an object sorting function with...
  11. Re: compiler error with function to sort vector of objects on member variable value

    Well it looks like I was just missing a comma after dispersion_subgraph_list.end() in the last line. At least it compiles when I add the comma back in. That was pretty dumb of me to miss.

    Other...
  12. compiler error with function to sort vector of objects on member variable value

    Hello,

    I tried to set up a function to sort a vector of objects like I did in this thread,...
  13. linker error, can't see the problem, not sure what to do next

    Hello,

    I have a function in one src file called from code in a different src file.

    In ig_cfunc.cpp


    #include "ig_tools.h"

    int x2_count = 0.0;
  14. Replies
    4
    Views
    745

    find object in vector and delete

    Hello,

    I have this class I have been working with,


    // objects to hold results, row id, and name
    class result_holder {

    public:
    // initialize class members
  15. Replies
    16
    Views
    1,594

    Re: sort vector of objects on member variable

    At the moment, I have the following,

    file matrix.h


    // objects to hold results, row id, and name
    class result_holder {
    public:

    // initialize class members
  16. Replies
    16
    Views
    1,594

    Re: sort vector of objects on member variable

    I have this working with the following setup,

    file matrix.h


    // objects to hold results, row id, and name
    class result_holder {
    public:

    // initialize class members
  17. Replies
    16
    Views
    1,594

    Re: sort vector of objects on member variable

    I was able to get this working by including the following.



    // at top of src page after includes

    namespace vec_obj {

    // objects to hold results, row id, and name
    class...
  18. Replies
    16
    Views
    1,594

    Re: sort vector of objects on member variable

    Does "in the same namespace" means that I include the above definition in my class definition?


    // objects to hold results, row id, and name
    class result_holder {

    public:

    // for object...
  19. Replies
    16
    Views
    1,594

    sort vector of objects on member variable

    Hello again,

    I have a small class and a vector to hold the objects.


    class result_holder {
    public:

    // initialize class members
    result_holder()
  20. Re: Sequentially remove one element from a vector at a time with replacement

    This is an optimization process that is an application of experimental design theory (D-optimality). The object here is to examine rows of data and find the minimal set of rows with maximal...
  21. Re: Sequentially remove one element from a vector at a time with replacement

    Hello and thank you for the responses,

    I have set up some code to evaluate a data table by taking the determinant of the square matrix. This is the determinant of the product matrix of the...
  22. Sequentially remove one element from a vector at a time with replacement

    Hello,

    As the title suggests, I have a vector of int,

    vector<int> row_numbers{1,2,3,4,5,6,7,8,9};
    I want to sequentially remove one element at a time starting with the first. When the second...
  23. Replies
    5
    Views
    802

    Re: question about matrix maniplation

    This will be developed in windows using gnu compilers under the cygwin. I know that cygwin has some of the boost C++ libraries available in the package manager. I have installed libboost-devel and...
  24. Replies
    5
    Views
    802

    question about matrix maniplation

    Hello,

    I need to write a widget that will implement some matrix functions using data from a text file. The input data will be spreadsheet like and fully determined with complete rows and columns....
  25. how do I store and retrieve this data in my class?

    Hello

    I have a class I use to store column data read from delimited text files.


    class column_data {

    // class functions here

    public:
Results 1 to 25 of 278
Page 1 of 12 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a Codeguru.com survey!


HTML5 Development Center