|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by mzhmzh in User Datagram Protocol (UDP), C++ Programming Language
I have the code below, and it was working fine, but it is now iif (!_report) is returning true after recompile (with some unrelated codes added)... The disk has enough space and a file with the correct name is created (0 size)... Any idea why this could happen?
1:
2:
3:
4:
5:
6:
7:
8:
9:
|
ofstream _report;
if (! _report.is_open())
{
_report.open(_reportName.c_str());
if(!_report)
{
throw exception...
}
}
|
20091118-EE-VQP-93 - Hierarchy / EE_QW_3_20080625