![]() |
| | #1 |
| Something Clever Join Date: Dec 2001
Posts: 187
| System.Collections namespace has been a let down. I have been using it with WinForms (GUI). ( Creating a Form with VS.NET and C# is excellent ) Is there a way to "properly" use C++'s std::list in C# apps ? or can you use them in C# apps ? |
| ginoitalo is offline | |
| | #2 |
| the hat of redundancy hat Join Date: Aug 2001 Location: Hannover, Germany
Posts: 2,769
| Haven't tried it yet, but what do you miss in the lists provided in System.Collections ?
__________________ hth -nv She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate." When in doubt, read the FAQ. Then ask a smart question. |
| nvoigt is offline | |
| | #3 |
| Something Clever Join Date: Dec 2001
Posts: 187
| Better iterating overall... list::end(), list::front(), list::push_front() |
| ginoitalo is offline | |
| | #4 |
| Something Clever Join Date: Dec 2001
Posts: 187
| A Little Tougher... Does anyone know how to add member functions to an existing class, like ArrayList ? |
| ginoitalo is offline | |
| | #5 |
| Sénior Member Join Date: Jan 2002
Posts: 982
| Something like - Code: class myArrayList :ArrayList
{
public void new_mem_fun()
{
//Some functionality
}
}
|
| Sorensen is offline | |
| | #6 |
| Something Clever Join Date: Dec 2001
Posts: 187
| So instead of adding to the existing class, your essentially making a copy of it (inheriting it) and adding to your copy. Would that be an accurate description ? |
| ginoitalo is offline | |
| | #7 |
| Sénior Member Join Date: Jan 2002
Posts: 982
| >Would that be an accurate description ? Yes, the inherited class is contained within the derived one. |
| Sorensen is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|