No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello all, I have a question on using ArrayList class. Basically, I have a class called Customer as follows: class Customer { int ident; float value; float newValue; public: void setIdent( int ); int getIdent() const; void setValue( float ); float getValue() const; void setNewValue( float ); float getNewValue() const; … | |
Hello all, I'm having difficulty with reading data from external files. I have to read two inputs from two Excel files. One is a matrix A[3][20] which is stored as a 3x5 matrix (in Excel format) in the file AData.xls and the other one is a vector dV[35] which is … | |
Hello all, I need to create a structure with some attributes associated with it: struct SNode { float PrimSet [n]; int size; float value; }; The only problem is the size of the array (i.e. n) is variable and it can be any number below 100, which is unknown before … | |
Hi All, Quick question... I have a structure for a specific type of vector: struct SParticle { float Position; float Velocity; float FcnVal; float LocalBest; float LocalBestVal; } But now I need to define 30 objects for this structure. Is there an easy way for doing this or should I … |