120 out of 366 rated this helpful - Rate this topic

How Do I in Visual C++

This page links to help on popular Visual C++ tasks.

Getting Started

Visual C++ Guided Tour… Creating Managed Applications… Creating Native Applications… Visual C++ Examples… File Handling with Visual C++… Windows Operations with Visual C++… Help… more…

Development Environment

Visual Studio Basics… Solutions and Projects… Visual C++ Compiler and Linker Options… Precompiled Headers… Editor… DIA SDK… more…

Windows Applications

Windows Forms… MFC… more…

Web Applications

Web Services… MFC and WinInet… .NET Remoting… ASP.NET… more…

CLR Development

Windows Forms… Mixed Assemblies… Pure / Verifiable Assemblies… Reflection… STL/CLR… more…

Native Development

Win32… COM/ATL/MFC… C Runtime Library (CRT)… Native Programming… Precompiled Headers… more…

Interop

CLR/Native Interoperability… C++ Interop… COM Interop… P/Invoke… C++ Support Library… Using Windows Forms in MFC… more…

Migrating, Porting, and Upgrading

Migrating to Visual C++… Migrating from UNIX… Porting to 64-bit… Upgrading from Previous Versions of Visual C++… more…

Security

Security Basics… Secure C Runtime (CRT)… Standard C++ Library Security Improvements… more…

64-bit Programming

64-bit Programming… more…

Command Line

Visual C++ on the Command Line… Visual C++ Examples… File Handling with Visual C++… Windows Operations with Visual C++… more…

Data Access

Programming… ADO.NET… ADO… ODBC… OLE… more…

Debugging, Testing, and Deployment

Debugging… Testing… Deployment… more…

Performance

Performance… more…

C++ Language

Differences from Managed Extensions for C++… Visual C++ Examples… File Handling with Visual C++… Windows Operations with Visual C++… more…

Reference

C/C++ Languages… CRT… Standard C++ Library… .NET Framework… ATL… MFC… C++ Support Library… more…

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Deleting projects
i am slightly confused on this program, due to the fact that I can not delete the projects that i make, even though I would like to delete a few to free up some space on my hard drive. if anyone knows how to delete a project, please tell me.
WELL 512a-c RN Generator
I kindly ask to be provided with C++ simle program as exmle that incorporates WELL512a (Canadian University) random number generator and produce real random numbers from 0 to 1 to introduce myself. !
opening a text file in visual c++
I have a word document on my local computer saved as C:\Users\Mark\Documents.testprog.txt and am trying to open it in Vicual C++.
I'm using the following code:

1 ifstream fin("C:\Users\Mark\Documents.testprog.txt");
2 testprog.text.open("testprog.text");
3 if (!fin) {cout "cannot open file"; return 0; }

The error message prints as I cannot open the file. I have also tried \\ and /
and C:\Users\Mark\Documents.testprog.txt.open ("C:\Users\Mark\Documents.testprog.txt") instead of line 2

Please advise
excecute my proyect after compiled

I have installed Visual C ++ and Direct X SDK (August 2007) and dark GDK, but I still not finding the wizard thing on new project, please help

Solution:

Copy program files > dark GDK > wizards to my documents > Visual Studio 2008

in the wizard folder open all *.vsz files in a texteditor and change the ABSOLUTE_PATH to the absolute folder of that *.vsz.

Param="ABSOLUTE_PATH = C:\Documents and Settings\Steve\Mijn Documenten\Visual Studio 2008\Wizards\Projects\Dark GDK - 2D Game\Dark GDK - 2D Game"


[tfl - 16 02 10] Hi - and thanks for your post. You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quicker response using the forums than through the Community Content. For specific help about:
.NET Framework : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
PowerShell : http://groups.google.com/group/microsoft.public.windows.powershell/topics?pli=1
SQL Server : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.sqlserver%2C&
Visual Studio : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C&
Windows : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.windows%2C&
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C&

Trying to swap values of character arrays

I'm trying to sort character arrays in alphabetical order. I compare the first two strings and if they aren't in order I'm trying to swap the values and then continue comparing to the rest of the strings. For some reason, (I've tried str1 = str2, and strcpy(str1, str2) ) I'm getting an error that says it

cannot convert from 'char [101]' to 'char'. What am I doing wrong? Can anyone suggest something??

visual studio 2008 on windows 7 default output font issue
Hello everyone,i'm having a problem here...
I installed VS 2008 on windows 7, installation was successphul but
when i compiled my first win32 apllication program in vc++, the title of my window
was in Chinese. I assume that has to do something with windows7 handling unicode
wich i believe is the default display code of vs.
So if anybody can put a reference on solution of my problem i'll be very grateful...
thx in advanced.

[tfl - 16 02 10] Hi - and thanks for your post. You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quicker response using the forums than through the Community Content. For specific help about:
.NET Framework : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
PowerShell : http://groups.google.com/group/microsoft.public.windows.powershell/topics?pli=1
SQL Server : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.sqlserver%2C&
Visual Studio : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C&
Windows : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.windows%2C&
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C&

How do I import the MicrosoftResearch.Infer.Models namespace into Visual Studio
How do I import the MicrosoftResearch.Infer.Models namespace into Visual Studio

[tfl - 13 11 09] Hi - and thanks for your post. You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quicker response using the forums than through the Community Content. For specific help about:
Visual Studio : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C&
SQL Server : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.sqlserver%2C&
.NET Framework : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
PowerShell : http://groups.google.com/group/microsoft.public.windows.powershell/topics?pli=1
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C&
Changing default fonts

Is it possible to change the default font displayed in Visual C++ (and Visual C#, come to think of it) Studio? Before installing these programs, I had the default font for Notepad set to Lucida Sans Unicode. But now, when I open a .asm file, it shows up in Courier New (at least, that's what it looks like to me). Is it possible to change the default display font to Lucida Sans Unicode instead? It is a more aesthetically-pleasing font to me, even if it doesn't line up as well. (If alignment becomes a problem, I could change it back.)

[tfl - 13 11 09] Hi - and thanks for your post. You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quicker response using the forums than through the Community Content. For specific help about:
Visual Studio : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C&
SQL Server : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.sqlserver%2C&
.NET Framework : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
PowerShell : http://groups.google.com/group/microsoft.public.windows.powershell/topics?pli=1
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C&
how do i compile and run in c++?

i know the basics of coding in c++ but i cannot find where to compile and run it .

[tfl - 13 11 09] Hi - and thanks for your post. You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quicker response using the forums than through the Community Content. For specific help about:
Visual Studio : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C&
SQL Server : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.sqlserver%2C&
.NET Framework : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
PowerShell : http://groups.google.com/group/microsoft.public.windows.powershell/topics?pli=1
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C&
Advertisement