Forum: C++ 2 Days Ago |
| Replies: 1 Views: 172 class Key{
public:
float m_XX;
float m_SLP;
Key(float XX,float SLP):m_XX(XX),m_SLP(SLP){}
Key(const Key& key):m_XX(key.m_XX),m_SLP(key.m_SLP){}
};
struct keyComp { |
Forum: C++ Oct 2nd, 2009 |
| Replies: 0 Views: 202 Hello
I work with g++ on ubuntu 9.04
Here is a code from cpp file:
for(subPipelineStrings::iterator pipelineIterator = pipelineRange.first;
pipelineIterator !=... |
Forum: C++ Sep 13th, 2009 |
| Replies: 2 Views: 605 #include<iostream>
using namespace std;
struct Base{
virtual void print(){cout << "Base"<< endl;}
};
struct Derrived : Base{
void print(){cout << "Derrived"<< endl;} |
Forum: C++ Sep 13th, 2009 |
| Replies: 3 Views: 594 Yes we are.
Could you help us out? |
Forum: C++ Sep 13th, 2009 |
| Replies: 1 Views: 125 Hello
Can define template<int n> class myClass{...........}
can I define template <Base *b>
class myTemp{
.............
}
while class Base
is defined properly.
Thank you. |
Forum: C++ Aug 21st, 2009 |
| Replies: 2 Views: 345 Hello i have two questions
1.
I have vector that I have delete several members from it after I do it I have a problem to access other member because index if other members has changed. What is the... |
Forum: C++ Aug 16th, 2009 |
| Replies: 3 Views: 219 Hello
I need a database
1)I need easily to find a minimal value in the database
2)I want to easily add and remove values(well its trivial I know)
I tried to use STL map but I couldn't find an... |
Forum: C++ May 31st, 2009 |
| Replies: 4 Views: 251 Thank you very much it worked!!! |
Forum: C++ May 31st, 2009 |
| Replies: 4 Views: 251 It my need really...
Actually the strings s1,s2 are generated in some other function in dynamic way.
Please help me if you can |
Forum: C++ May 31st, 2009 |
| Replies: 4 Views: 251 typedef
vector<string> pipeline;
typedef
vector<pipeline> subPipelineStrings;
subPipelineStrings* m_subPipelineStrings
m_subPipelineStrings =
new subPipelineStrings(3);
string *s1 = new... |