by: garyolsen |
last post by:
For a class, MyClass, there are two ways to instantiate an object:
1. MyClass *MC = new MyClass();
2. MyClass MC;
In general, when should you have to use 1 and when 2? What're...
|
by: D. Shane Fowlkes |
last post by:
Sorry for the length of this post.
I have created a rather complex form which has a header/line item (parent
and child records) structure. It's for an intranet. A screenshot can be
seen here: ...
|
by: Mark P |
last post by:
The following compiles without error on four different platforms (Linux
g++, Sun CC, HP aCC, Win Dev-C++) so I suspect it's ok, but I don't see
why this isn't a const-related error. pB is a...
|
by: pavan734 |
last post by:
Hello, I have a array of double pointers as shown below
dummy_class **ptr ; //assume dummy class to be some c++ class
I have allocated it like this:
for(int i = 0 ; i<10 ; i++)
{
ptr = new...
|
by: Osamede Zhang |
last post by:
I just find i can't understand the code like this
int main()
{
int *p=new int;
//do something
delete p;
return 1;
}
I use new operator allocate some memory in the heap,now i don't need...
|
by: darrel |
last post by:
When I write scripts for deleting records in databases, I tend to do it in
this fashion:
- delete link passes ID to a delete.aspx page
- delete.aspx page queries db using that ID to retrieve the...
|
by: SoftEast |
last post by:
Hi Buddies,
I have read a lot of stuffs regarding not using GOTO statements to opt
a good programming style http://david.tribble.com/text/goto.html].
Can anybody give a particular lines of code...
|
by: Andy B |
last post by:
I have a delete query that spans 2 tables: NewsArticles and NewsHeaders. I
am trying to figure out what tableAdaptor to put the delete query under
since it deals with 2 tables. Should it be in the...
|
by: hennas |
last post by:
Basically i want to design a membership Name and Telephone List form using the following command buttons.
Edit
Add New;
Update;
Delete;
Cancel;
Save;
Clear, and
Exit
|
by: ahilar12 |
last post by:
<html>
<head>
<script type="text/javascript">
function SetAllCheckBoxes(FormName, FieldName, CheckValue)
{
if(!document.forms)
return;
var objCheckBoxes = document.forms.elements;...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
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: 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: 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: 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...
|