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: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
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: 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: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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: 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...
|