Click here to Skip to main content
15,891,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalnormalizing pathnames Pin
berndg24-Mar-03 4:04
berndg24-Mar-03 4:04 
GeneralRe: normalizing pathnames Pin
PJ Arends24-Mar-03 5:14
professionalPJ Arends24-Mar-03 5:14 
GeneralRe: normalizing pathnames Pin
berndg24-Mar-03 6:04
berndg24-Mar-03 6:04 
GeneralRe: normalizing pathnames Pin
PJ Arends24-Mar-03 10:31
professionalPJ Arends24-Mar-03 10:31 
QuestionClear file contents with fstream? Pin
Rickard Andersson2024-Mar-03 3:34
Rickard Andersson2024-Mar-03 3:34 
AnswerRe: Clear file contents with fstream? Pin
Nick Parker24-Mar-03 3:44
protectorNick Parker24-Mar-03 3:44 
GeneralRe: Clear file contents with fstream? Pin
Rickard Andersson2024-Mar-03 3:52
Rickard Andersson2024-Mar-03 3:52 
AnswerRe: Clear file contents with fstream? Pin
Ted Ferenc24-Mar-03 12:41
Ted Ferenc24-Mar-03 12:41 
Have you looked at fstream::fd

A file descriptor as returned by a call to the run-time function _open or _sopen. filedesc is a typedef equivalent to int.

Then use it in _chsize( int handle, long size );

I have never tried this, so I don't know if it will work, it is supposed to Unsure | :~



If I have seen further it is by standing on the shoulders of Giants. - Isaac Newton 1676
GeneralRe: Clear file contents with fstream? Pin
Rickard Andersson2024-Mar-03 21:54
Rickard Andersson2024-Mar-03 21:54 
GeneralRe: Clear file contents with fstream? Pin
Ted Ferenc25-Mar-03 8:51
Ted Ferenc25-Mar-03 8:51 
Generalproblem with message box Pin
r i s h a b h s24-Mar-03 2:22
r i s h a b h s24-Mar-03 2:22 
GeneralRe: problem with message box Pin
valikac24-Mar-03 11:15
valikac24-Mar-03 11:15 
GeneralRe: problem with message box Pin
John R. Shaw24-Mar-03 11:31
John R. Shaw24-Mar-03 11:31 
GeneralRe: problem with message box Pin
r i s h a b h s24-Mar-03 22:18
r i s h a b h s24-Mar-03 22:18 
GeneralRe: problem with message box Pin
John R. Shaw25-Mar-03 8:54
John R. Shaw25-Mar-03 8:54 
Generalmultithreading Pin
summo24-Mar-03 1:38
summo24-Mar-03 1:38 
GeneralRe: multithreading Pin
Ravi Bhavnani24-Mar-03 2:08
professionalRavi Bhavnani24-Mar-03 2:08 
Generalaccessing union inside struct Pin
M. Agamawi24-Mar-03 1:20
M. Agamawi24-Mar-03 1:20 
GeneralRe: accessing union inside struct Pin
_Theo_24-Mar-03 1:43
_Theo_24-Mar-03 1:43 
GeneralRe: accessing union inside struct Pin
M. Agamawi24-Mar-03 1:48
M. Agamawi24-Mar-03 1:48 
GeneralRe: accessing union inside struct Pin
_Theo_24-Mar-03 2:03
_Theo_24-Mar-03 2:03 
GeneralRe: accessing union inside struct Pin
Anonymous24-Mar-03 2:14
Anonymous24-Mar-03 2:14 
GeneralRe: accessing union inside struct Pin
jbarton24-Mar-03 3:50
jbarton24-Mar-03 3:50 
GeneralPrecision Problem Pin
emrosa24-Mar-03 1:02
emrosa24-Mar-03 1:02 
GeneralRe: Precision Problem Pin
Jambolo25-Mar-03 17:00
Jambolo25-Mar-03 17:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.