by: rmunson8 |
last post by:
I have a derived class from the Queue base class. I need it to be
thread-safe, so I am using the Synchronized method (among other things out of
scope of this issue). The code below compiles, but...
|
by: Jasper Kent |
last post by:
I'm trying to do the equivalent of using typedefs with templates in C++ to
avoid long instantiation names.
I can do this okay:
using BigDictionary = System.Collections.Generic.Dictionary<int,...
|
by: ljlevend |
last post by:
I've noticed that in VS.NET 2.0 Beta 1 that none of the methods in
System.Collections.Generic.List are overridable. In my app I currently have
over 50 strongly typed ArrayLists that inherit from...
|
by: Ralf Propach |
last post by:
Hi,
in C# I can write
Type listType = typeof(System.Collections.Generic.List<>);
What is the equivalent in C++?
I get compiler errors for all of the following:
Type listType =...
|
by: Macca |
last post by:
Hi,
I need a data structure such as an Array/ArrayList/Generic List to hold
multiple instances of a user derfined class.
This array will be accessed across multiple threads. However I dont...
|
by: Steve Richter |
last post by:
very confused on how to implement the IEnumerable and IEnumerator
interfaces on a generic type. I understand I should just use a
foreach loop in the GetEnumerator method and use "yield return",...
|
by: BombDrop |
last post by:
Can any one help I have a method that will return a List to be bound
as a datasource to a combobox see code for population below. I get the
following error when i try to compile
Error 29 ...
|
by: Michi Henning |
last post by:
I can pass a generic collection as ICollection<Tjust fine:
static void flatCollection(ICollection<intc) {}
// ...
List<intl = new List<int>();
flatCollection(l); // Works fine
Now I...
|
by: Andrus |
last post by:
I need to create method which returns my application object type as string :
TypeName(typeof( List<int>)) should return "List<int>" or
"System.Collections.Generic.List<int>"
...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|