Say I do the following:
char **names = new char*;
for (int i = 0; i < 100; i++) {
names = new char;
}
When I'm done with the array of character pointers, how should I delete it?
Like this:
I'm posting a revised version of the meta FAQ for this NG.
Beware that there are a few links in there that does not have a resource
available for them yet but, over and all, this following document...
I have several pairs of synchronized subforms in an application. I have a Delete
button for each pair that uses the following code or similar to delete a record
in the second subform:
...
Thank you for your help I think I know what the problem is. Firstly the
add_record cannot read the record.txt or something if the record.txt (in
which I used it to store the details of each record)...
I installed VS.net 2003... I can see the help topics, but when I click them,
the content page says that it cannot connect to the server. I want the
help to be retrieved from the local machine.
...
Hi people,
I've been doing C for about 7 years now. But I'm new to C++.
I've decided that C++'s operator overloading could be very handy. I'm
writing something much like auto_ptr, except for...
Let's say you use the delete operator as follows:
Rocket *rocket = new Rocket;
void *voidptr = (void *) rocket;
delete voidptr;
Does the memory get deleted right? Do delete operations on...
Hello to all and thanks for answer to my topics.
I made one stored procedure that delete one table, but when
call/execute the procedure this show
SQL0532N A parent row cannot be deleted...
Could it not be possible to have currently discussed and newly posted to
topics returned to the top of the list. It's not long before a topic gets
lost as new ones come up. I have noticed for a...
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$) {
}
...
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...
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
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...
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...
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...
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...
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,...