by: ajit goel |
last post by:
Hi;
I have a question which respect to initialising and creating objects
in loops.Here are the 2 scenarios:
1.
###############################################################################...
|
by: Nick Keighley |
last post by:
Hi,
is there a way of initialising a vector in a similar fashion to
initialising an array?
consider:
Shape* triangle = new Triangle ();
Shape* square = new Square ();
Shape* shape_arr =...
|
by: nrhayyal |
last post by:
hi all,
is it a good idea to assign object to pointers without initialising it
to NULL?
suppose if i have a class TEST
class ELEMENT
{
private:
int a;
string s1;
|
by: Mike P |
last post by:
I have a class with a dozen+ properties, some of which will be set a
value, and some not, depending on the constructor called. I also have a
method which has only one overload and all of the...
|
by: Jeremy Targett |
last post by:
Hello, I'm trying to initialise a two-dimensional array of characters, 12 by
60, with each entry maximum 6 characters wide. (It's a fix I'm making to an
old program which I learned just enough C...
|
by: mark.bergman |
last post by:
Running lint on code initialising a local 2-D array gives a warning.
void f(void)
{
int a = { 0 };
...
lint gives "warning: Partially elided initialisation..."
Should this be happening,...
|
by: DaveC |
last post by:
I always used to initialise variables at declaration, then a couple of
colleagues started telling me it was bad practice and that the compiler
should be left to spot the use of uninitilised...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
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,...
|