Windows Live
Visual FoxPro
Visual J#
VS Team System
Visual C#
.NET Development
Visual Basic
VS Express Editions
Game Technologies
SQL Server
Microsoft ISV
Visual C++
Windows Forms
Visual Studio
Smart Device
Software Development Network>> Visual C++>> printf backspace
printf backspace
Hot Topic
Visual Studio 2005 MFC Applications on Windows 98
XML reader for native C++
error C3861: 'snprintf': identifier not found
cannot convert from 'LRESULT
implementaion of unwinding
Problem deploying a VC++ application
I want the old Intellisense back!!!
need to create a .exe using vc++ without runtime files ?
How to execute DCM converter in VC++
Unresolved Token and other link errors when migrating from VC++ 2003 to VC++2005 Express
Visual C++
MFC app with Windows Forms and User Control - what am I missing?
Please Help me Out From a Run Time Error
Can I write a file longer than 2gb on ntfs disk using fputc etc. in VC++ 2003?
Upcasting/Downcasting name jargon
Looking for a runtime profiler...
Error including queue.h
Using map as DLL function parameter
CTreeCtrl trouble
Can symbols from an .exe file be imported into a DLL?
Does MFC of VS.NET2003 Support DAO?
printf backspace
whatz the equivalent of
printf("%3d\b\b\b");
in vs2005
thanks
Answer this question
printf backspace
Olegam
I presume you mean with C++/CLI because:
printf("%3d\b\b\b");
Is still accepted by Visual C++ 2005. The escape character '\b' appears to work the same for managed code:
#include
<stdio.h>
using
namespace
System;
int
main()
{
printf(
"%3d\b\b\b"
, 123);
Console::Write(
"{0}\b\b\b"
, 456);
Console::WriteLine(789);
}
When compiled and executed this program produces:
789
printf backspace
Answer this question
printf backspace
Olegam
printf("%3d\b\b\b");
Is still accepted by Visual C++ 2005. The escape character '\b' appears to work the same for managed code:
#include
<stdio.h>using
namespace System;int
main(){
printf("%3d\b\b\b", 123);
Console::Write("{0}\b\b\b", 456);
Console::WriteLine(789);
}
When compiled and executed this program produces:
789