by: Cardman |
last post by:
Greetings,
I am trying to solve a problem that has been inflicting my self
created Order Forms for a long time, where the problem is that as I
cannot reproduce this error myself, then it is...
|
by: Chess Saurus |
last post by:
I'm getting a little bit tired of writing
if (a = malloc(...) == NULL) {
// error code
}
I mean, is it really possible that a malloc call could fail, except in
the case of running out of...
|
by: xxxxyz |
last post by:
Hi,
I want to create a class with a constructor which can fail (for example
if (..) fail;). When constructor fail I want the variable to point to
null. Example:
class PosInt{
int i;
public...
|
by: Jürg Fross |
last post by:
Hi all,
I have to recompile a MFC++ Program developped under NT4.0 in XP. We store
the printer settings (DEVMODE and DEVNAMES) as part of our document. When
printing in batch mode, we need to...
|
by: Robbie Hatley |
last post by:
Say I have an ifstream object, like so:
#include <iostream>
#include <fstream>
int main(int, char* Sam)
{
std::ifstream Bob;
Bob.open(Sam);
std::string buffer;
while (42)
|
by: Dilip |
last post by:
This thing is driving me nuts.
why would a simple output file stream like this:
ofstream ofs;
ofs.open("c:\temp\somefile.txt")
set the fail bit?
calling ofs.fail() right after the open...
|
by: Jim H |
last post by:
Pid.DBMil lMil = null;
if (null == lMil)
System.Diagnostics.Trace.WriteLine("\r\nIt was NULL\r\n"); //-- this
never prints
That diag line never prints.
later on in a loop I do this:
for...
|
by: banansol |
last post by:
Hi,
I just want to get this right.
A call to realloc() will return NULL on error and the original memory
is left untouched,
both when requesting a larger or a smaller size that the original,...
|
by: firehead.satish |
last post by:
Hello All,
I have seen a lot of forums that are fight over these 2 languages.
Disadvantages
1) When a complete java application has been written and it has to be
packaged then entire JRE...
|
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: 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...
|
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,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|