(Redirected from Visual C++)
Developer(s) | Microsoft |
---|---|
Initial release | February 1993; 26 years ago[1] |
Stable release | |
Written in | C++[2] |
Operating system | Windows |
Platform | IA-32, x86-64 and ARM |
Available in | English, Chinese (Simplified & Traditional), Czech, French, German, Italian, Japanese, Korean, Polish, Portuguese (Brazilian), Russian, Spanish, Turkish |
Type | IDE |
License | Trialware and freeware |
Website | docs.microsoft.com/en-us/cpp/ |
Microsoft Visual C++ (often abbreviated to MSVC) is an integrated development environment (IDE) product from Microsoft for the C, C++, and C++/CLIprogramming languages. MSVC is proprietary software; it was originally a standalone product but later became a part of Visual Studio and made available in both trialware and freeware forms. It features tools for developing and debugging C++ code, especially code written for the Windows API, DirectX and .NET.
Many applications require redistributable Visual C++ runtime library packages to function correctly. These packages are often installed independently of applications, allowing multiple applications to make use of the package while only having to install it once. These Visual C++ redistributable and runtime packages are mostly installed for standard libraries that many applications use.[3]
- 1History
- 2Compatibility
History[edit]
The predecessor to Visual C++ was called Microsoft C/C++. There was also a Microsoft QuickC 2.5 and a Microsoft QuickC for Windows 1.0. The Visual C++ compiler is still known as Microsoft C/C++ and as of the release of Visual C++ 2015 Update 2, is on version 19.00.23918.
16-bit versions[edit]
- Microsoft C 1.0, based on Lattice C, was Microsoft's first C product in 1983. It was not K&R C.
- C 2.0 added large model support.
- C 3.0 was the first version developed inside Microsoft. This version intended compatibility with K&R and the later ANSI standard. It was being used inside Microsoft (for Windows and Xenix development) in early 1984. It shipped as a product in 1985.
- C 4.0 added optimizations and CodeView, a source-level debugger.
- C 5.0 added loop optimizations and ‘huge memory model’ (arrays bigger than 64k) support. Microsoft Fortran and the first 32 bit compiler for 80386 were also part of this project.
- C 5.1 released in 1988 allowed compiling programs for OS/2 1.x.
- C 6.0 released in 1989. It added global flow analysis, a source browser, and a new debugger, and included an optional C++ front end.[4]
- C/C++ 7.0 was released in 1992. Added built-in support for C++ and MFC (Microsoft Foundation Class Library) 1.0.[5]
- Visual C++ 1.0, which included MFC 2.0, was the first version of ‘Visual’ C++, released in February 1993. It was Cfront 2.1 compliant[6] and available in two editions:[1]
- Standard: replaced QuickC for Windows.
- Professional: replaced C/C++ 7.0. Included the ability to build both DOS and Windows applications, an optimizing compiler, a source profiler, and the Windows 3.1 SDK.[6] The Phar Lap 286 DOS Extender Lite was also included.[7]
- Visual C++ 1.5 was released in December 1993, included MFC 2.5, and added OLE 2.0 and ODBC support to MFC.[8] It was the first version of Visual C++ that came only on CD-ROM.
- Visual C++ 1.51 and 1.52 were available as part of a subscription service.
- Visual C++ 1.52b is similar to 1.52, but does not include the Control Development Kit.
- Visual C++ 1.52c was a patched version of 1.5. It is the last, and arguably most popular, development platform for Microsoft Windows 3.x. It is available through Microsoft Developer Network.
Strictly 32-bit versions[edit]
- Visual C++ 1.0 (original name: Visual C++ 32-bit Edition) was the first version for 32-bit development for the Intel 386 architecture.[9] Although released when 16-bit version 1.5 was available, it did not include support for OLE2 and ODBC. It was also available in a bundle called Visual C++ 16/32-bit Suite, which included Visual C++ 1.5.[10]
- Visual C++ 2.0, which included MFC 3.0, was the first version to be 32-bit only. In many ways, this version was ahead of its time, since Windows 95, then codenamed 'Chicago', was not yet released, and Windows NT had only a small market share. Microsoft included and updated Visual C++ 1.5 as part of the 2.x releases up to 2.1, which included Visual C++ 1.52, and both 16-bit and 32-bit version of the Control Development Kit (CDK) were included. Visual C++ 2.x also supported Win32s development. It is available through Microsoft Developer Network. There was a Visual C++ 2.0 RISC Edition for MIPS and Alpha processors, as well as a cross-platform edition for the Macintosh (68000 instruction set).[11]
- Visual C++ 2.1 and 2.2 were updates for 2.0 available through subscription.
- Visual C++ 4.0, released on 1995-12-11,[12] introduced the Developer Studio IDE. Its then-novel tiled layout of non-overlapping panels—navigation panel, combination editor/source level debugger panel, and console output panel[13]—continues through the Visual Studio product line (as of 2013). Visual C++ 4.0 included MFC 4.0, was designed for Windows 95 and Windows NT. To allow support of legacy (Windows 3.x/DOS) projects, 4.0 came bundled with the Visual C++ 1.52 installation CD. Updates available through subscription included Visual C++ 4.1, which came with the Microsoft Game SDK (later released separately as the DirectX SDK), and Visual C++ 4.2. Version number 3.0 was skipped to achieve version number parity between Visual C++ 4.0 and MFC 4.0.[14]
- Visual C++ 4.2 did not support Windows 3.x (Win32s) development.[15] This was the final version with a cross-platform edition for the Macintosh available and it differed from the 2.x version in that it also allowed compilation for the PowerPC instruction set.
- Visual C++ 5.0, which included MFC 4.21 and was released 1997-04-28,[12] was a major upgrade from 4.2.[16] Available in four editions: Learning,[17] Professional,[18] Enterprise,[19] and RISC.[20]
- Visual C++ 6.0 (commonly known as VC6), which included MFC 6.0, was released in 1998.[21][22] The release was somewhat controversial since it did not include an expected update to MFC. Visual C++ 6.0 is still quite popular and often used to maintain legacy projects. There are, however, issues with this version under Windows XP, especially under the debugging mode (for example, the values of static variables do not display). The debugging issues can be solved with a patch called the 'Visual C++ 6.0 Processor Pack'.[23] Version number: 12.00.8804
- Visual C++ .NET 2002 (also known as Visual C++ 7.0), which included MFC 7.0, was released in 2002 with support for link time code generation and debugging runtime checks, .NET 1.0, and Visual C# and Managed C++. The new user interface used many of the hot keys and conventions of Visual Basic, which accounted for some of its unpopularity among C++ developers.[citation needed] Version number: 13.00.9466
- Visual C++ .NET 2003 (also known as Visual C++ 7.1), which included MFC 7.1, was released in 2003 along with .NET 1.1 and was a major upgrade to Visual C++ .NET 2002. It was considered a patch to Visual C++ .NET 2002. Accordingly, the English language upgrade version of Visual Studio .NET 2003 shipped for minimal cost to owners of the English-language version of Visual Studio .NET 2002. This was the last version to support Windows 95 and NT 4.0 as a target.[citation needed] Version number: 13.10.3077
- eMbedded Visual C++[24] in various versions was used to develop for some versions of the Windows CE operating system. Initially it replaced a development environment consisting of tools added onto Visual C++ 6.0. eMbedded Visual C++ was replaced as a separate development environment by Microsoft Visual Studio 2005.
32-bit and 64-bit versions[edit]
- Visual C++ 2005 (also known as Visual C++ 8.0), which included MFC 8.0, was released in November 2005. This version supports .NET 2.0 and includes a new version of C++ targeted to the .NET framework (C++/CLI) with the purpose of replacing the previous version (Managed C++). Managed C++ for CLI is still available via compiler options, though. It also introduced OpenMP. With Visual C++ 2005, Microsoft also introduced Team Foundation Server. Visual C++ 8.0 has problems compiling MFC AppWizard projects that were created using Visual Studio 6.0, so maintenance of legacy projects can be continued with the original IDE if rewriting is not feasible. Visual C++ 2005 is the last version able to target Windows 98 and Windows Me.[25][26] SP1 version (14.00.50727.762) is also available in Microsoft Windows SDK Update for Windows Vista.
- Visual C++ 2008 (also known as Visual C++ 9.0) was released in November 2007. This version supports .NET 3.5. Managed C++ for CLI is still available via compiler options. By default, all applications compiled against the Visual C++ 2008 Runtimes (static and dynamic linking) will only work under Windows 2000 and later.[27][28] A feature pack released for VC9, later included in SP1, added support for C++ TR1 library extensions. SP1 version (15.00.30729.01) is also available in Microsoft Windows SDK for Windows 7.
- Some versions of Visual C++ supported Itanium 2
- Visual C++ 2010 (also known as Visual C++ 10.0) was released on April 12, 2010. It uses a SQL Server Compact database to store information about the source code, including IntelliSense information, for better IntelliSense and code-completion support.[29] However, Visual C++ 2010 does not support Intellisense for C++/CLI.[30] This version adds a C++ parallel computing library called the Parallel Patterns Library, partial support for C++11, significantly improved IntelliSense based on the Edison Design Group front end,[31] and performance improvements to both the compiler and generated code.[32] This version is built on .NET 4.0, but supports compiling to machine code. The partial C++11 support mainly consists of six compiler features:[33] lambdas, rvalue references, auto, decltype, static_assert, and nullptr. C++11 also supports library features (e.g., moving the TR1 components from std::tr1 namespace directly to std namespace). Variadic templates were also considered, but delayed until some future version due to having a lower priority, which stemmed from the fact that, unlike other costly-to-implement features (lambda, rvalue references), variadic templates would benefit only a minority of library writers rather than the majority of compiler end users.[34] By default, all applications compiled against Visual C++ 2010 Runtimes only work on Windows XP SP2 and later. The RTM version (16.00.30319) is also available in Windows SDK for Windows 7 and .NET Framework 4 (WinSDK v7.1).[35] SP1 version (16.00.40219) is available as part of Visual Studio 2010 Service Pack 1 or through the Microsoft Visual C++ 2010 Service Pack 1 Compiler Update for the Windows SDK 7.1.[36]
- Visual C++ 2012 (also known as Visual C++ 11.0) was released on August 15, 2012. It features improved C++11 support, and support for Windows Runtime development.[37]
- Visual C++ 2013 (also known as Visual C++ 12.0) was released on October 17, 2013. It features further C++11 and C99 support, and introduces a REST SDK.[38]
- Visual C++ 2015 (also known as Visual C++ 14.0) was released on July 20, 2015.[39] It features improved C++11/14/17 support.[40] Without any announcement from Microsoft, Visual Studio 2015 Update 2 started generating telemetry calls in compiled binaries. After some users contacted Microsoft about this problem, Microsoft said they would remove these telemetry calls when compiling with the future Visual Studio 2015 Update 3.[41][42] The function in question was removed from the Visual C++ CRT static libraries in Visual Studio 2015 Update 3.[citation needed]
- Visual C++ 2017 (also known as Visual C++ 14.1) was released on March 7, 2017.
- Visual C++ 2019 (also known as Visual C++ 14.2) was released on April 2, 2019.
Internal version numbering[edit]
The predefined macro
_MSC_VER
indicates the major and minor version numbers of the Visual C++ compiler. The macro's value is an integer literal in which the last two digits indicate the minor version number and the preceding digits indicate the major version number.From Visual Studio 2017,
_MSC_VER
is incremented monotonically at every Visual C++ toolset update. Thus, for example, the version of MSVC++ 14.1 that ships with Visual Studio 2017 version 15.3.0 sets _MSC_VER
to 1911
. Microsoft recommends using the >=
operator to test the value of _MSC_VER
.Here are values of
_MSC_VER
for various versions of the Visual C++ compiler:These version numbers refer to the major version number of the Visual C++ compilers and libraries, as can be seen from the installation directories. It does not refer to the year in the name of the Visual Studio release. A thorough list is available.[43]
Compatibility[edit]
ABI[edit]
The Visual C++ compiler ABI have historically changed between major compiler releases.[44] This is especially the case for STL containers, where container sizes have varied a lot between compiler releases.[45] Microsoft therefore recommends against using C++ interfaces at module boundaries when one wants to enable client code compiled using a different compiler version. Instead of C++, Microsoft recommends using C[46] or COM[47] interfaces, which are designed to have a stable ABI between compiler releases.
C runtime libraries[edit]
Visual C++ ships with different versions of C runtime libraries.[48] This means users can compile their code with any of the available libraries. However, this can cause some problems when using different components (DLLs, EXEs) in the same program. A typical example is a program using different libraries. The user should use the same C Run-Time for all the program's components unless the implications are understood. Microsoft recommends using the multithreaded, dynamic link library (/MD or /MDd compiler option) to avoid possible problems.[48]
C[edit]
Although the product originated as an IDE for the C programming language, for many years the compiler's support for that language conformed only to the original edition of the C standard, dating from 1989, but not the C99 revision of the standard. There had been no plans to support C99 even in 2011, more than a decade after its publication[49].
Visual C++ 2013 finally added support for various C99 features in its C mode (including designated initializers, compound literals, and the
_Bool
type)[50], though it was still not complete.[51] Visual C++ 2015 further improved the C99 support, with full support of the C99 Standard Library, except for features that require C99 language features not yet supported by the compiler.[52]Most of the changes from the C11 revision of the standard are still not supported by Visual C++ 2017[53]. For example, generic selections via the
_Generic
keyword are not supported by the compiler and result in a syntax error.[54]'Full C11 conformance is on our roadmap, and updating the preprocessor is just the first step in that process. The C11 _Generic feature is not actually part of the preprocessor, so it has not yet been implemented. When implemented I expect the feature to work independent of if the traditional or updated preprocessor logic is used.'[55]
O Que E A Mensagem Na Comunicacao Visual
References[edit]
- ^ ab'Visual C++ adds Windows support'. InfoWorld. February 22, 1993. p. 17.
- ^Lextrait, Vincent (January 2010). 'The Programming Languages Beacon, v10.0'. Archived from the original on 30 May 2012. Retrieved 14 March 2010.
- ^'Do I need these Microsoft Visual C++ redistributables?'. Ask Leo!. Retrieved 2012-11-18.
- ^Ladd, Scott Robert (August 1, 1990). 'Optimizing With Microsoft C 6.0'.
- ^Retrieved from http://support.microsoft.com/kb/196831.
- ^ ab'Visual C++ is a strong development tool'. InfoWorld. June 21, 1993. p. 94.
- ^'Rival DOS Extenders debut at show'. InfoWorld. March 1, 1993. p. 18.
- ^'Visual C++ 1.5 integrates OLE, ODBC'. InfoWorld. November 8, 1993. p. 5.
- ^'Microsoft set to prerelease 32-bit Visual C++'. InfoWorld. July 19, 1993. p. 12.
- ^'C++ IDEs evolve'. InfoWorld. April 4, 1994. p. 79.
- ^'Microsoft Visual C++ Strategy'.
- ^ ab'Obsolete Products'. Archived from the original on 2005-08-14.
- ^Toth, Viktor (1996). '1'. Visual C++ 4.0 unleashed. Indianapolis: SAMS Publishing. ISBN9780672308741. Retrieved 26 July 2013.
- ^'History of Visual Studio (Part 3)'.
- ^'Major Changes from Visual C++ 4.0 to 4.2'. Archived from the original on 2010-02-28. Retrieved 2018-04-18.
- ^'Major Changes from Visual C++ 4.2 to 5.0'.
- ^'Microsoft Visual C++ 5.0 Learning Edition'. Archived from the original on April 27, 1999.
- ^'Microsoft Visual C++ 5.0 Professional Edition'. Archived from the original on April 27, 1999.
- ^'Microsoft Visual C++ 5.0 Enterprise Edition'. Archived from the original on April 17, 1999.
- ^'Microsoft Visual C++ 5.0 RISC Edition'. Archived from the original on April 29, 1999.
- ^Shields, Nathan P. (June 8, 2018). 'Criminal Complaint'. United States Department of Justice. p. 128.
This alone is not a dispositive link, as Visual C++ 6.0, released in 1998, still has proponents mostly because it does not require the installation of Microsoft’s .NET framework in order to run, as later versions of Visual C++ do.
- ^'Major Changes from Visual C++ 5.0 to 6.0'.
- ^This page stresses that Users must also be running Windows 98, Windows NT 4.0, or Windows 2000. Retrieved from http://msdn2.microsoft.com/en-us/vstudio/aa718349.aspx.
- ^Douglas Boling :Programming Microsoft Windows CE .NET, Third Edition Microsoft Press; 3rd edition (June 25, 2003) Paperback: 1264 pages ISBN978-0735618848 - Companion CD with Microsoft eMbedded Visual C++ 4.0 Service Pack 2Archived 2013-02-11 at Archive.today
- ^How to: Modify WINVER and _WIN32_WINNT
- ^Breaking Changes
- ^Windows Platforms (CRT)
- ^'Visual C++ 2008 Breaking Changes'.
- ^Visual C++ Team Blog. 'IntelliSense, part 2: The Future'. Retrieved March 12, 2008.
- ^'Why IntelliSense is not supported for C++/CLI in Visual Studio 2010'. Retrieved March 13, 2011.
- ^Visual C++ Team Blog. 'Rebuilding Intellisense'.
- ^Visual C++ Team Blog. 'Visual C++ Code Generation in Visual Studio 2010'.
- ^'C++0x Core Language Features In VC10: The Table'.
- ^'Stephan T. Lavavej: Everything you ever wanted to know about nullptr'.
- ^Microsoft Windows SDK Blog. 'Released: Windows SDK for Windows 7 and .NET Framework 4'.
- ^FIX: Visual C++ compilers are removed when you upgrade Visual Studio 2010 Professional or Visual Studio 2010 Express to Visual Studio 2010 SP1 if Windows SDK v7.1 is installed
- ^'What's New for Visual C++ in Visual Studio 2012'. Microsoft Developer Network. Microsoft. Retrieved September 20, 2015.
- ^'What's New for Visual C++ in Visual Studio 2013'. Microsoft Developer Network. Miicrosoft. Retrieved September 20, 2015.
- ^Eric Battalio (July 20, 2015). 'Visual Studio 2015 RTM Now Available'. Visual C++ Team Blog. Microsoft.
- ^Stephan T. Lavavej (June 19, 2015). 'C++11/14/17 Features In VS 2015 RTM'. Visual C++ Team Blog. Microsoft.
- ^Reviewing Microsoft's Automatic Insertion of Telemetry into C++ Binaries
- ^'Visual Studio adding telemetry function calls to binary? • /r/cpp'. reddit. Retrieved 2016-08-17.
- ^'Pre-defined Compiler Macros / Wiki / Compilers'. sourceforge.net. Retrieved 2016-02-11.
- ^Microsoft MSDN: Breaking Changes in Visual C++
- ^Microsoft MSDN: Containers (Modern C++)
- ^Microsoft MSDN: Portability At ABI Boundaries (Modern C++)
- ^Microsoft forum: Binary compatibility across Visual C++ versions
- ^ abC Run-Time Libraries
- ^'C99 support'. Microsoft Connect. Archived from the original on 2016-03-04.
- ^'What's New for Visual C++ in Visual Studio 2013'. Microsoft Developer Network. Microsoft.
- ^Pat Brenner (July 19, 2013). 'C99 library support in Visual Studio 2013'. Visual C++ Team Blog. Microsoft.
- ^'What's New for Visual C++ in Visual Studio 2015'. Microsoft Developer Network. Microsoft.
- ^'Walkthrough: Compile a C program on the command line'. Visual C++ Documentation. Microsoft.
- ^'MSVC 2017 does not support _Generic (type generic macros) in C'.
- ^Luvsanbat, Bat-Ulzii (July 6, 2018). 'MSVC Preprocessor Progress towards Conformance'. Microsoft Developer Network.
External links[edit]
- Rejuvenating the Microsoft C/C++ Compiler, September 2015
Retrieved from 'https://en.wikipedia.org/w/index.php?title=Microsoft_Visual_C%2B%2B&oldid=900550327'
Microsoft Visual C++ |
Nome do Desenvolvedor: | Microsoft Corporation |
Versão Mais Recente: | 14.16.27012.6 |
Categoria de Software: | Ferramentas de Desenvolvedor |
Sub Categoria de Software: | IDE |
Sistemas Operacionais: | Windows |
Visão Geral de Software
Inicialmente lançado em 1993, Microsoft Visual C ++ é um software IDE (Integrated Development Environment) para C ++ / CLI, C ++ e linguagens de programação C. É comumente abreviado como MSVC e é um programa proprietário.
Chaves de Registro Associadas
HKEY_LOCAL_MACHINESOFTWAREMicrosoftVisualStudio
Extensões de Arquivo Compatíveis
Extensão de Arquivo | Tipo de Extensão de Arquivo | Desenvolvedor/Criador de Tipo de Arquivo |
---|---|---|
APS | Visual C++ Resource File | Microsoft Corporation |
CLW | Visual C++ ClassWizard File | Microsoft Corporation |
CPP | C++ Source Code File | Open Source |
C__ | C++ Source Code File | Open Source |
DBP | Microsoft Visual Studio Visual C++ Database Project | Microsoft Corporation |
DEF | Module Definition File | Microsoft Corporation |
DLG | C++ Dialogue Script File | Microsoft Corporation |
ECT | Microsoft Visual C++ Exception Console Template | Microsoft Corporation |
HLX | Visual C++ Syntax Coloring Instructions File | Microsoft Corporation |
HM | Windows Help Context IDs | Microsoft Corporation |
II | Preprocessed C++ Source Code | Microsoft Corporation |
LIC | Software License File | Unknown Developer |
MC6 | Microsoft C Makefile | Microsoft Corporation |
MDP | Visual C++ 5 Workspace File | Microsoft Corporation |
MRB | Multiple Resolution Bitmap File | Microsoft Corporation |
MSC | Microsoft C Makefile | Microsoft Corporation |
MSVC | Microsoft Visual C++ Compiler Makefile | Microsoft Corporation |
PBO | Microsoft Profiler Binary Output | Microsoft Corporation |
RC | Resource Script File | Angus Johnson |
RC3 | Vc98/Visual C Resource File | Microsoft Corporation |
RCC | Resource Script File | Angus Johnson |
RH | C++ Resource Header Data | Microsoft Corporation |
RTP | Software Update File | Microsoft Corporation |
STS | Microsoft C Project Status Info | Microsoft Corporation |
VC2 | Microsoft Visual C File | Microsoft Corporation |
VC4 | Visual C++ 4 File | Microsoft Corporation |
VCP | eMbedded Visual C++ Project File | Microsoft Corporation |
VUP | Microsoft Visual Studio Visual C++ Utility Project File | Microsoft Corporation |
WSP | Microsoft Visual C++ Workspace Info File | Microsoft Corporation |
_VCPPXSLN90 | Microsoft Visual C++ File | Microsoft Corporation |
Extensões de Arquivo Relacionadas
Extensão de Arquivo | Tipo de Extensão de Arquivo | Desenvolvedor/Criador de Tipo de Arquivo | Software |
---|---|---|---|
264 | Ripped Video Data File | Unknown Developer | Roxio Toast 15 |
83I | TI-83 Calculator Picture | Texas Instruments, Inc. | TI-83 |
AAF | Advanced Authoring Format File | Avid Technology | Adobe After Effects |
ACCDB | Access 2007 Database File | Microsoft Corporation | Microsoft Visual Studio |
ADM | Administrative Template File | Microsoft Corporation | Microsoft Group Policy Object Editor |
AEF | ELECTRICAL Designe | Autodesk, Inc. | Autocad Electrical |
AGX | AGT Game File | Open Source | AGiliTy |
AI | Adobe Illustrator File | Adobe Systems Incorporated | Adobe Illustrator CC |
AIC | Advanced Image Coding File | Erik van Bilsen AudioVisuality | AIC software (AICSetup.exe) |
APD | ACDSee Photo Document | ACD Systems | ACD Systems ACDSee |
APR | ArcView Project File | ESRI | ESRI ArcGIS for Desktop |
APS | Visual C++ Resource File | Microsoft Corporation | Microsoft Visual C++ |
AS | Adobe ActionScript File | Adobe Systems Incorporated | Microsoft Notepad |
ASE | Adobe Swatch Exchange File | Adobe Systems Incorporated | Adobe Illustrator CC |
ASHX | ASP.NET Web Handler File | Microsoft Corporation | LibreOffice |
ATT | Web Form Post Data File | Unknown Developer | LibreOffice |
B | Grand Theft Auto 3 Saved Game File | Rockstar Games | Grand Theft Auto III |
BAT | DOS Batch File | Microsoft Corporation | Notepad++ |
BETA | Beta Programming Language Source Code | Birger Møller-Pedersen and Kristen Nygaard | Beta Programming Language |
BGX | BC45 | Bjarne Stroustrup | Microsoft C/C++ |
BS2 | BASIC Stamp 2 Code File | Parallax | Microsoft Notepad |
BSB | BioShock Saved Game File | Take-Two Interactive | BioShock |
CAF | Apple Core Audio File | Apple | Apple QuickTime Player |
CBL | COBOL Source Code File | IBM | GNU Compiler Collection (GCC) |
CLJ | Clojure Source Code | Open Source | Clojure |
CLU | Broken Sword 2 Dialogue Data | Revolution Software | Broken Sword 2 |
CLW | Visual C++ ClassWizard File | Microsoft Corporation | Microsoft Visual C++ |
CONFIG | Configuration File | Unknown Developer | Microsoft Notepad |
CPP | C++ Source Code File | Open Source | Microsoft Visual Studio |
CS | C# Source Code File | Microsoft Corporation | Notepad++ |
CTT | Messenger Contact List | Microsoft Corporation | Microsoft Notepad |
CXF | Google Picasa Collage File | Google Picasa | |
C__ | C++ Source Code File | Open Source | Microsoft Visual Studio |
DB | Mobile Device Database File | Dwayne Richard Hipp | SQLite |
DBP | Microsoft Visual Studio Visual C++ Database Project | Microsoft Corporation | Microsoft Notepad |
DDP | Delphi Diagram Portfolio File | Embarcadero Technologies | Delphi (IDE) |
DEC | Declaration File | Various Developers | Microsoft Notepad |
DEF | Module Definition File | Microsoft Corporation | Microsoft Visual Studio |
DFM | Pascal File | Open Source | Notepad++ |
DFR | SmartWare Report Definition File | SmartWare Corporation | SmartWare |
DIZ | Description In Zip File | Unknown Developer | Microsoft Notepad |
DLG | Crysis Dialogue Data File | Crytek | Crysis |
DMB | BYOND Game Executable | BYOND | BYOND |
DRO | DOSBox Raw OPL Format | Open Source | DOSBox |
E2P | PonyProg Device File | Open Source | PonyProg |
E4C | E4Clicks Project Estimator Import File | 4Clicks Solutions | e4Clicks Project Estimator |
ECT | Yozo Office Chart Template File | Yozosoft | Yozosoft Yozo Office |
ELF | Nintendo Wii Game File | Nintendo | Dolphin (emulator) |
ENT | External Entity | Syncro Soft | Oxygen XML Editor 19 |
EPUB | Open eBook File | IDPF (International Digital Publishing Forum) | Adobe InDesign |
ERR | Error Log File | Microsoft Corporation | Microsoft Notepad |
ETX | TeX Font Encoding File | Open Source | MiKTeX |
EW | Euphoria Source Code File | OpenEuphoria | Microsoft Notepad |
EXP | Symbols Export File | Unknown Developer | Microsoft Visual Studio |
F77 | Fortran 77 Language Source File | Intel Corporation | Intel Fortran Compiler |
FDE | FLAMES Dataset Export File | Ternion Corporation | FLAMES |
FDP | MySafe Encrypted Data | UPEK | Protector Suite QL |
FDR | Final Draft Document | Final Draft | Final Draft |
FIG | Xfig Drawing | Open Source | Winfig |
FPC | FoxPro Catalog Memo | Microsoft Corporation | Microsoft Visual FoxPro |
FPP | Fortran Source Code | The Eclipse Foundation | MacroMates TextMate |
FRC | FS Recorder File | Dovetail Games | FS Recorder |
FX | Direct3D Effects File | Microsoft Corporation | Microsoft Visual Studio |
G36 | Recomposer MIDI Sequence | Open Source | TiMiDity++ |
GDB | GPS Database File | Garmin | Garmin BaseCamp |
GLF | Space Engine Shader File | Vladimir Romanyuk | Space Engine |
GO | Go Source Code File | MacroMates TextMate | |
GPT | Gerber Top Pad Master Data | Gerber Technology | Altium Designer |
GRM | MINOS Data | Bruce Murtagh and Michael Saunders | MINOS |
GSH | Microsoft Visual Studio Data File | Microsoft Corporation | Microsoft Visual Studio |
GSHADER | Microsoft Visual Studio Data File | Microsoft Corporation | Microsoft Visual Studio |
GW | SWAT Groundwater Input Data | Grassland, Soil and Water Research Laboratory | SWAT |
GXS | GrafiXML Graph Data File | Open Source | GrafiXML |
HLX | ATI Radeon Video Driver Support File | Advanced Micro Devices, Inc. | ATI Catalyst |
HLZ | ESO MIDAS Help ASCII File | European Southern Observatory | ESO-MIDAS |
HM | Windows Help Context IDs | Microsoft Corporation | Microsoft Visual C++ |
HPF | High Performance Fortran File | IBM | Microsoft Notepad |
HRL | Erlang Header File | Ericsson Computer Science Laboratory | Microsoft Notepad |
HTACCESS | Apache HTACCESS File | Apache Software Foundation | Microsoft Notepad |
HTML5 | HTML5 Hypertext Markup Language Revision 5 Source Code | Sublime HQ Pty Ltd | Microsoft Notepad |
HXA | Microsoft Help Attribute Definition | Microsoft Corporation | Microsoft Visual Studio |
I32 | NI LabView Data | National Instruments | LabVIEW |
IDC | Core Software Tech IDC File | Pierre-Emmanuel Gougelet | XnView MP |
II | IconWorkshop Extended Information File | Axialis Company | Axialis IconWorkshop |
IL | MSIL Assembler Input File | Microsoft Corporation | Microsoft Visual Studio |
ION | File Description File | Open Source | Microsoft Notepad |
JDP | BlackBerry JDE Data | BlackBerry | BlackBerry Java Development Environment |
JMF | Jackhammer Project | Chain Studios | J.A.C.K |
JPC | JPEG 2000 Code Stream File | Joint Photographic Experts Group | Adobe Illustrator CC |
JSPF | Java Server Page Fragment | Oracle Corporation | Adobe Dreamweaver |
JWR | LegaSuite GUI J Walk Runtime Data | Rocket Software | LegaSuite |
KAN | Kwalitan Annotation | Open Source | Kwalitan |
KFN | KaraFun Karaoke File | Recisio | KaraFun |
KSH | Unix Korn Shell Script | AT&T Labs | AbiWord |
L | Game Of Life File | Johan Bontes | Life32 |
LIC | Software License File | Unknown Developer | Microsoft Visual C++ |
LPF | Orgadata LogiKal File | Orgadata AG | LogiKal |
MC6 | Poser 6 Material File | Smith Micro Software | Poser |
MDP | Visual C++ 5 Workspace File | Microsoft Corporation | Microsoft Visual C++ |
MDX | Extended Media Descriptor File | Disc Soft Ltd. | DAEMON Tools |
MRB | Multiple Resolution Bitmap File | Microsoft Corporation | Microsoft Visual C++ |
MRX | Record Access File | Open Source | Malete |
MSB | Oracle Binary Message File | Oracle Corporation | Oracle Database |
MSC | Microsoft C Makefile | Microsoft Corporation | Microsoft Visual C++ |
MSVC | Microsoft Visual C++ Compiler Makefile | Microsoft Corporation | Microsoft Visual C++ |
MXML | Flex MXML Component | Adobe Systems Incorporated | Notepad++ |
NDX | dBASE Index File | Unknown Developer | Microsoft Visual FoxPro |
NFG | NewsBin Configuration File | Open Source | DJI Interprises NewsBin Pro |
NGB | Nonogram Puzzle Data | Alexander S. Meshcheryakov | QNonograms |
NSL | NsL Script | Nullsoft | nsL Assembler for NSIS |
OP | OpenPAT Report | Open Source | OpenPAT |
PBO | Packed Bohemia Object | Bohemia Interactive | ArmA: Armed Assault |
PHP | PHP Source Code File | Panic | Microsoft Notepad |
PHP2 | PHP 2 Web Page | Open Source | Vim |
PHP5 | PHP 5 Web Page | Open Source | MacroMates TextMate |
PJX | Visual FoxPro Project | Microsoft Corporation | Microsoft Visual FoxPro |
PKX | Rational XDE Data | IBM | Rational Rose |
PLIST | Property List XML File | Apple | Microsoft Notepad |
POM | Maven Build File | Apache Software Foundation | Maven |
PPD | PostScript Printer Description File | Adobe Systems Incorporated | Adobe PageMaker |
PRC | Product Representation Compact File | Adobe Systems Incorporated | Adobe Acrobat DC |
PTL | Rational Rose Petal File | IBM | IBM Rational Rose development software |
PW | Pointwise Database File | Pointwise, Inc. | Pointwise |
QAM | Omnis Studio Audio Data | Omnis Software | Omnis Studio |
QAP | Omnis Quartz Application File | Omnis Software | Omnis Studio |
QSC | Kaleidagraph Script File | Synergy Software | KaleidaGraph |
RBM | Real Studio Menu File | Xojo, Inc | Xojo |
RC | Resource Script File | Angus Johnson | Microsoft Visual Studio |
RC3 | Vc98/Visual C Resource File | Microsoft Corporation | Microsoft Visual C++ |
RCC | Resource Script File | Angus Johnson | Microsoft Visual Studio |
RED | CADViewer Redline Markup File | Tailor Made Software | Tailor Made CADViewer |
RH | C++ Resource Header Data | Microsoft Corporation | Microsoft Visual C++ |
RIN | Retrieve 4GL Database Index | Protronics | Retrieve 4GL |
RMK | CA Clipper RMake Makefile | Grafx Software Development Tools | CA-Clipper |
RNG | Nokia Composer Ringtone | Nokia | Nokia PC Suite |
RSC | Symbian Application Compiled Resource File | Nokia | Nokia Carbide.c++ |
RST | ReStructuredText File | David Goodger | Microsoft Notepad |
RTP | Gromacs Residue Topology Parameter File | KTH Royal Institute of Technology | Gromacs |
RTS | Resource Tuner Console Script | Heaventools Software | Resource Tuner Console |
RW3 | RapidWeaver 3 Site File | Realmac Software | RapidWeaver |
S | Source Code File | Unknown Developer | Microsoft Notepad |
S43 | IAR Assembly Source | IAR Systems | IAR Embedded Workbench |
SCE | Scilab Script | Open Source | Scilab |
SCHEMAS | GConf Schema Definition File | Open Source | GNU Emacs |
SCT | Scitex Continuous Tone File | Scitex | Adobe Photoshop |
SECURITY | Javasoft Jre 1.3 Lib Security Data | Oracle Corporation | Java |
SH | Bash Shell Script | Unknown Developer | Notepad++ |
SHTML | Server Side Include HTML File | Sublime HQ Pty Ltd | Microsoft Notepad |
SLP | SpectraLayers Pro Project | Magix Software GmbH | SpectraLayers Pro |
SMV | VideoLink Mail Video File | Smith Micro Software | Smith Micro Videolink Pro |
SO | Shared Library | GNU Project | GNU Compiler Collection (GCC) |
SOF | Colour Palettes And Various Style Elements File | Apache Software Foundation | Apache OpenOffice |
SOS | Dynamite VSP Swept Object Style File | 3AM Solutions | Dynamite VSP |
SPS | SPSS Program File | IBM | IBM SPSS |
SR4 | SIR Database | SIR Pty Ltd. | SIR/XS |
SRT | SubRip Subtitle File | SourceForge | VLC Media Player |
SRX | SPARQL Query Results XML Format Result | Sublime HQ Pty Ltd | Microsoft Notepad |
STS | DuoS DSEMU Saved State File | DuoS DSEMU | DuoS DSEMU |
SV7 | Saved Game File | Nintendo | No Cash GBA (No$GBA) |
SYM | Symbols File | The Eclipse Foundation | Eclipse CDT |
TAM | Tame Program Settings | TameDOS | Tame |
TCL | Tcl Script | Open Source | MacroMates TextMate |
TCX | Training Center Database File | Garmin | Garmin Connect |
TDK | Borland Turbo Debugger Keystroke Recording File | Borland | Borland Turbo Debugger |
TIM | The Incredible Machine Level | Sierra Entertainment | The Incredible Machine |
TK | TeKton3D Project | Procedimientos-Uno, S.L. | TeKton3D |
TLD | Tag Library Descriptor File | The Eclipse Foundation | Notepad++ |
TMP | General Temporary File | Mozilla | Internet Explorer |
TMPL | Xfire User Interface Template | Xfire, Inc. | Xfire |
TP | Beyond TV Transport Stream File | SnapStream Media | CyberLink PowerDVD |
TPR | TMPGEnc Project File | Pegasys | Media Player Classic |
TR6 | SPICE Transient Analysis Output Data File | National Instruments | Spice |
TWF | ArcView World Coordinates | ESRI | ArcView |
UCX | Rational XDE Data | IBM | Rational Rose |
V00 | Kretz 3D Ultrasound Image | GE Medical Company | Kretz Software |
VBPROJ.USER | Microsoft Visual Studio Visual Basic Project User Options File | Microsoft Corporation | Microsoft Visual Studio |
VC2 | Microsoft Visual C File | Microsoft Corporation | Microsoft Visual C++ |
VC4 | Visual C++ 4 File | Microsoft Corporation | Notepad++ |
VCP | eMbedded Visual C++ Project File | Microsoft Corporation | Microsoft Visual C++ |
VIP | Virtual Instrument Package | JKI | JKI VIPM |
VIS | Visibility Image File | Microsoft Corporation | Microsoft Flight Simulator 2004 |
VM | Velocity Template | Apache HTTP Project Management Committee | Apache Velocity |
VMC | Windows Virtual Machine Configuration File | Microsoft Corporation | VMware Workstation |
VSP | VideoStudio Project File | Corel | Corel VideoStudio Pro |
VUP | Microsoft Visual Studio Visual C++ Utility Project File | Microsoft Corporation | Microsoft Visual Studio |
VXML | VoiceXML File | Voxeo Corporation | Microsoft Notepad |
WDG | WinDev Procedures | PC SOFT | WinDev |
WFO | Delphi Runimage File | Embarcadero Technologies | Delphi (IDE) |
WSP | SharePoint Solution Package | Microsoft Corporation | Microsoft Visual Studio |
WSW | WebSite-Watcher Bookmark | Aignes | WebSite-Watcher |
WZD | Sharp Wizard Program File | Sharp Corporation | Sharp Wizard |
X3D | Compiled Vertex Shader File | Microsoft Corporation | Microsoft DirectX SDK |
XAF | 3ds Max XML Animation File | Autodesk, Inc. | IMVU |
XFO | XSL-FO Formatted Form | Syncro Soft | Software602 602XML Form Filler |
XML | XML File | Wattle Software | MacroMates TextMate |
XPR | Pro/ENGINEER Part Instance Accelerator File | Parametric Technology Corporation | Dassault Systemes SolidWorks |
XPS | Microsoft XPS (XML Paper Specification) File | Microsoft Corporation | Nuance Power PDF Professional |
YNC | yEnc Encoded File | Open Source | Smith Micro StuffIt Deluxe |
ZSH | Unix Shell Script | AT&T Labs | Unix |
_VCPPXSLN90 | Microsoft Visual C++ File | Microsoft Corporation | Microsoft Visual C++ |
Arquivos DLL Relacionados
Nome do Arquivo | Software | Versão do Arquivo |
---|---|---|
msvcr40d.dll | Microsoft Visual C++ | 4.10.6011 |
mfc42loc.dll | Microsoft Visual C++ | 4.21.7303 |
mfc42rus.dll | Microsoft Visual C++ | 6.00.8267.0 |
mfc40loc.dll | Microsoft Visual C++ | 4.1.6038 |
mfc40rus.dll | Microsoft Visual C++ | 4.1.6140 |
Candy crush king. Instalar (Opcional) - FileViewPro |Licença de Software | Política de Privacidade | Termos | Desinstalar
Navegue Extensões de Arquivo em Ordem Alfabética: #ABCDEFGHIJKLMNOPQRSTUVWXYZ
-->Complete este guia de início rápido para se familiarizar com várias ferramentas e caixas de diálogo que poderá usar ao desenvolver aplicativos em C++ com o Visual Studio.Complete this quickstart to become familiar with many of the tools and dialog boxes that you can use when you develop applications in C++ with Visual Studio.Crie um aplicativo de console no estilo “Olá, Mundo” enquanto aprende mais sobre o trabalho no IDE (ambiente de desenvolvimento integrado).Create a 'Hello, World'-style console application while you learn more about working in the integrated development environment (IDE).
Pré-requisitosPrerequisites
Você não precisa estar familiarizado com C++ para concluir este guia de início rápido, mas precisa conhecer um pouco de programação geral e de conceitos de depuração.You don't need to be familiar with C++ to complete this quickstart, but you should be familiar with some general programming and debugging concepts.A documentação do Visual Studio não ensina como programar em C++.The Visual Studio documentation doesn't teach you how to program in C++.Um bom guia para os recursos de aprendizagem de C++ é a página Introdução no site de C++ da ISO.A good guide to C++ learning resources is the Get started page on the ISO C++ website.
Para acompanhar, você precisará de uma cópia do Visual Studio 2017 com a carga de trabalho Desenvolvimento para desktop com C++ instalada.To follow along, you need a copy of Visual Studio 2017 with the Desktop development with C++ workload installed.Para obter um guia rápido de instalação, consulte Install C++ support in Visual Studio (Suporte para a instalação de C++ no Visual Studio).For a fast guide to installation, see Install C++ support in Visual Studio.
Para acompanhar, você precisará de uma cópia do Visual Studio 2019 com a carga de trabalho Desenvolvimento para desktop com C++ instalada.To follow along, you need a copy of Visual Studio 2019 with the Desktop development with C++ workload installed.Para obter um guia rápido de instalação, consulte Install C++ support in Visual Studio (Suporte para a instalação de C++ no Visual Studio).For a fast guide to installation, see Install C++ support in Visual Studio.
Criar um aplicativo do consoleCreate a console app
Se ele ainda não estiver em execução, abra o Visual Studio.If it's not running yet, open Visual Studio.
Depois de abrir o Visual Studio, você poderá ver as três partes básicas do IDE: janelas de ferramenta, menus e barras de ferramentas e o espaço da janela principal.After you open Visual Studio, you can see the three basic parts of the IDE: tool windows, menus and toolbars, and the main window space.As janelas de ferramentas são encaixadas à esquerda e à direita da janela do aplicativo.Tool windows are docked on the left and right sides of the app window.A caixa Início Rápido, a barra de menus e a barra de ferramentas padrão estão na parte superior.The Quick Launch box, the menu bar, and the standard toolbar are found at the top.O centro da janela contém a Página Inicial.The center of the window contains the Start Page.Quando você abre uma solução ou um projeto, editores e designers aparecem neste espaço.When you open a solution or project, editors and designers appear in this space.Ao desenvolver um aplicativo, você passará a maior parte do seu tempo nesta área central.When you develop an app, most of your time is spent in this central area.
Depois que você abrir o Visual Studio, a janela de início será exibida primeiro.After you open Visual Studio, the start window appears first.Selecione Continuar sem código para abrir o ambiente de desenvolvimento.Select Continue without code to open the development environment.
Você verá as três partes básicas do IDE: janelas de ferramentas, menus e barras de ferramentas, além do espaço da janela principal.You'll see the three basic parts of the IDE: tool windows, menus and toolbars, and the main window space.As janelas de ferramentas são encaixadas à esquerda e à direita da janela do aplicativo.Tool windows are docked on the left and right sides of the app window.A caixa de pesquisa, a barra de menus e a barra de ferramentas padrão estão na parte superior.The search box, menu bar, and standard toolbar are found at the top.Quando você carrega uma solução ou um projeto, os editores e designers são exibidos no espaço central da janela do aplicativo.When you load a solution or project, editors and designers appear in the central space of the application window.Ao desenvolver um aplicativo, você passará a maior parte do seu tempo nessa área central.When you develop an application, you'll spend most of your time in this central area.
O Visual Studio usa os projetos para organizar o código em um aplicativo e as soluções para organizar seus projetos.Visual Studio uses projects to organize the code for an app, and solutions to organize your projects.Um projeto contém todas as opções, configurações e regras usadas para criar seus aplicativos.A project contains all the options, configurations, and rules used to build your apps.Ele também gerencia a relação entre todos os arquivos de projeto e todos os arquivos externos.It also manages the relationship between all the project's files and any external files.Para criar seu aplicativo, primeiro, crie um novo projeto e uma nova solução.To create your app, first, you create a new project and solution.
Para criar um projeto de aplicativo do consoleTo create a console app project
- Na barra de menus, selecione Arquivo > Novo > Projeto para abrir a caixa de diálogo Novo Projeto.On the menu bar, choose File > New > Project to open the New Project dialog box.
- Na caixa de diálogo Novo Projeto, selecione Instalado > Visual C++ se ainda não estiver selecionado.In the New Project dialog, select Installed > Visual C++ if it isn't selected already.No painel central, selecione o modelo Aplicativo do Console do Windows.In the center pane, select the Windows Console Application template.Na caixa de edição Nome, digite HelloApp.In the Name edit box, enter HelloApp.Fallout new vegas pistol mod. A caixa de diálogo pode ter opções diferentes, dependendo das cargas de trabalho do Visual Studio e dos componentes que você instalou.Your dialog box may have different choices, depending on the Visual Studio workloads and components you've installed.Se você não vir os modelos de projeto do Visual C++, execute o Instalador do Visual Studio novamente e instale a carga de trabalho Desenvolvimento para a área de trabalho com C++.If you don't see Visual C++ project templates, you need to run the Visual Studio installer again and install the Desktop development with C++ workload.Você pode fazer isso diretamente da caixa de diálogo Novo Projeto.You can do this directly from the New Project dialog.Para iniciar o instalador, escolha o link Abrir Instalador do Visual Studio na caixa de diálogo.To launch the installer, choose the Open Visual Studio Installer link on the dialog.
- Escolha o botão OK para criar sua solução e projeto de aplicativo.Choose the OK button to create your app project and solution.O projeto e a solução HelloApp, com os arquivos básicos para um aplicativo de console Windows, são criados e automaticamente carregados no Gerenciador de Soluções.The HelloApp project and solution, with the basic files for a Windows console app, are created and automatically loaded into Solution Explorer.O arquivo HelloApp.cpp é aberto no editor de códigos.The HelloApp.cpp file is opened in the code editor.Estes itens aparecem no Gerenciador de Soluções:These items appear in Solution Explorer:
Adicionar código ao aplicativoAdd code to the app
Em seguida, adicione o código para exibir a palavra “Hello” na janela do console.Next, add code to display the word 'Hello' in the console window.
Para editar o código no editorTo edit code in the editor
- No arquivo HelloApp.cpp, insira uma linha em branco antes da linha
return 0;
e, em seguida, digite este código:In the HelloApp.cpp file, enter a blank line before the linereturn 0;
and then enter this code:Uma pequena linha vermelha aparecerá emcout
.A red squiggly line appears undercout
.Se você passar o ponteiro sobre ele, uma mensagem de erro será exibida.If you hover the pointer over it, an error message appears.A mensagem de erro também aparece na janela Lista de Erros.The error message also appears in the Error List window.Você pode exibir a janela ao selecionar Exibir > Lista de Erros na barra de menus.You can display this window by choosing View > Error List on the menu bar.Uma declaração está ausente em seu código para std::cout, que está no arquivo de cabeçalho <iostream>.Your code is missing a declaration for std::cout, which is found in the <iostream> header file. - Para incluir o cabeçalho iostream, digite este código após
#include 'stdafx.h'
:To include the iostream header, enter this code after#include 'stdafx.h'
:Você deve ter notado que uma caixa aparece conforme insere o código.You probably noticed that a box appeared as you entered code.Essa caixa contém sugestões de preenchimento automático para os caracteres que você inserir.This box contains auto-completion suggestions for the characters that you enter.Ela é parte do IntelliSense do C++, que fornece prompts de codificação, incluindo a classe ou os membros da interface e as informações de parâmetro.It's part of C++ IntelliSense, which provides coding prompts, including class or interface members and parameter information.Você também pode usar snippets de código, que são blocos de código predefinidos.You can also use code snippets, which are pre-defined blocks of code.Para obter mais informações, consulte Usando IntelliSense e Snippets de código.For more information, see Using IntelliSense and Code snippets.A pequena linha vermelha emcout
desaparecerá quando você corrigir o erro.The red squiggly line undercout
disappears when you fix the error. - Para salvar as alterações no arquivo, pressione Ctrl+S.To save the changes to the file, press Ctrl+S.
Compilar o aplicativoBuild the app
É fácil compilar seu código.It's easy to build your code.Na barra de menus, escolha Compilar > Compilar Solução.On the menu bar, choose Build > Build Solution.O Visual Studio compila a solução HelloApp e relata o progresso na Janela de Saída.Visual Studio builds the HelloApp solution, and reports progress in the Output window.
Depurar e testar o aplicativoDebug and test the app
Você pode depurar o HelloApp para ver se a palavra “Hello” aparece na janela do console.You can debug HelloApp to see whether the word 'Hello' appears in the console window.
Para depurar o aplicativoTo debug the app
Para iniciar o depurador, escolha Depurar > Iniciar Depuração na barra de menus.To start the debugger, choose Debug > Start Debugging on the menu bar.
O depurador inicia e executa o código.The debugger starts and runs the code.A janela de console (uma janela separada que se parece com um prompt de comando) é exibida por alguns segundos mas fecha rapidamente quando o depurador interrompe a execução.The console window (a separate window that looks like a command prompt) appears for a few seconds but closes quickly when the debugger stops running.Para ver o texto, você precisa definir um ponto de interrupção para interromper a execução do programa.To see the text, you need to set a breakpoint to stop program execution.
Para adicionar um ponto de interrupçãoTo add a breakpoint
- No editor, coloque o cursor na linha
return 0;
.In the editor, put the cursor on the linereturn 0;
.Na barra de menus, escolha Depurar > Alternar Ponto de Interrupção.On the menu bar, choose Debug > Toggle Breakpoint.Você também pode clicar na margem esquerda para definir um ponto de interrupção.You can also click in the left margin to set a breakpoint.Um círculo vermelho aparece ao lado da linha de código na margem da extrema esquerda da janela do editor.A red circle appears next to the line of code in the far left margin of the editor window. - Para iniciar a depuração, pressione F5.To start debugging, press F5.O depurador é iniciado e uma janela de console aparece mostrando a palavra Hello.The debugger starts, and a console window appears showing the word Hello.
- Para interromper a depuração, pressione Shift + F5.To stop debugging, press Shift+F5.
Para obter mais informações sobre a depuração de projeto do console, consulte Projetos de console.For more information about console project debugging, see Console projects.
Criar uma versão de lançamento do appBuild a release version of the app
Agora que você verificou que tudo está funcionando, já pode preparar um build de versão do aplicativo.Now that you've verified that everything works, you can prepare a release build of the application.Os builds da versão deixam de lado as informações de depuração e usam as opções de otimização do compilador para criar um código menor e mais rápido.Release builds leave out the debugging information, and use compiler optimization options to create smaller, faster code.
Para limpar os arquivos de solução e criar uma versão de lançamentoTo clean the solution files and build a release version
- Na barra de menus, escolha Build > Limpar solução para excluir arquivos intermediários e arquivos de saída criados durante builds anteriores.On the menu bar, choose Build > Clean Solution to delete intermediate files and output files that were created during previous builds.
- Para alterar a configuração da solução para HelloApp de Depurar para Versão, na barra de ferramentas, selecione o menu suspenso no controle Configurações de Solução e escolha Versão.To change the solution configuration for HelloApp from Debug to Release, in the toolbar, select the dropdown on the Solution Configurations control and then choose Release.
- Compile a solução.Build the solution.Na barra de menus, escolha Compilar > Compilar Solução.On the menu bar, choose Build > Build Solution.
Quando este build for concluído, você terá criado um aplicativo que poderá copiar e ser executado em qualquer janela de prompt de comando.When this build completes, you've created an app that you can copy and run in any command prompt window.Ele pode não fazer muito, mas é o gateway para coisas maiores.It may not do much, but it's the gateway to greater things.
Parabéns por concluir este guia de início rápido!Congratulations on completing this quickstart!
Consulte tambémSee also
-->| Comunidade de Desenvolvedores| Requisitos de Sistema| Compatibilidade| Código Distribuível| Termos de Licença| Blogs| Problemas Conhecidos || Developer Community| System Requirements| Compatibility| Distributable Code| License Terms| Blogs| Known Issues |
Visão geralOverview
Esta página contém os requisitos mínimos de sistema da família de produtos do Visual Studio 2017.This page contains the minimum system requirements for the Visual Studio 2017 family of products.Para obter informações sobre compatibilidade, consulte Direcionamento e compatibilidade da plataforma Visual Studio 2017.For information on compatibility, see Visual Studio 2017 Platform Targeting and Compatibility.Se precisar de ajuda para melhorar o desempenho, confira Dicas e truques de desempenho do Visual Studio.If you need help with improving performance, see Visual Studio performance tips and tricks.
O Que Há de NovoWhat's New
Confira as novidades do Visual Studio 2017!See what's new in Visual Studio 2017!
- Para o Windows, o IDE do Visual Studio, as notas de versão do Visual Studio 2017 ou Novidades do Visual Studio 2017.For Windows, Visual Studio IDE, the Visual Studio 2017 release notes, or What's New in Visual Studio 2017.
- Para Mac, Novidades no Visual Studio para Mac ou Notas de versão do Visual Studio 2017 para Mac.For Mac, What’s New in Visual Studio for Mac or the Visual Studio 2017 for Mac release notes.
- Visual Studio Team Services.Visual Studio Team Services.
- Visual Studio Code ou as notas de versão do VS Code.Visual Studio Code or the VS Code release notes.
BaixarDownload
Clique no botão para baixar a versão mais recente do Visual Studio 2017.Click a button to download the latest version of Visual Studio 2017.Para conferir instruções sobre a instalação e a atualização do Visual Studio 2017, consulte Atualizar o Visual Studio 2017 para a versão mais recente.For instructions on installing and updating Visual Studio 2017, see the Update Visual Studio 2017 to the most recent release.Além disso, consulte as instruções em como instalar offline.Also, see instructions on how to install offline.
Visite a página visualstudio.microsoft.com/downloads para baixar outros produtos do Visual Studio de 2017.Visit the visualstudio.microsoft.com/downloads page to download other Visual Studio 2017 products.
Observação
O tamanho do pacote de instalação irá variar dependendo da sua configuração atual do Visual Studio.Installation package size will vary depending on your current Visual Studio configuration.
Dica
Para versões mais antigas do Visual Studio, consulte os requisitos do sistema do Visual Studio 2015, Visual Studio 2013 ou Visual Studio 2012.For older versions of Visual Studio, see the system requirements for Visual Studio 2015, Visual Studio 2013, or Visual Studio 2012.
ComentáriosFeedback
Adoraríamos ouvir sua opinião!We would love to hear from you!Em caso de problemas, informe-nos por meio da opção Relatar um Problema no canto superior direito do Instalador ou do próprio IDE do Visual Studio.For issues, let us know through the Report a Problem option in the upper right-hand corner of either the installer or the Visual Studio IDE itself.OTheestá localizado no canto superior direito.icon is located in the upper right-hand corner.Você pode acompanhar os problemas na Comunidade de Desenvolvedores do Visual Studio, em que você pode fazer perguntas e encontrar respostas.You can track your issues in the Visual Studio Developer Community, where you can ask questions and find answers.Você também pode fazer uma sugestão de produto por meio de Comunidade de desenvolvedores ou obter ajuda de instalação gratuita por meio de nosso suporte via chat ao vivo.You can also make a product suggestion through Developer Community or get free installation help through our Live Chat support.
Requisitos de sistema do Visual Studio 2017Visual Studio 2017 System Requirements
Os seguintes produtos dão suporte aos requisitos mínimos de sistema abaixo:The following products support the minimum system requirements below:
- Visual Studio Enterprise 2017Visual Studio Enterprise 2017
- Visual Studio Professional 2017Visual Studio Professional 2017
- Visual Studio Community 2017Visual Studio Community 2017
- Team Explorer para Visual Studio 2017Visual Studio Team Explorer 2017
- Visual Studio Test Professional 2017Visual Studio Test Professional 2017
- Visual Studio Test Agent 2017Visual Studio Test Agent 2017
- Visual Studio Test Controller 2017Visual Studio Test Controller 2017
- Integração do Office para Visual Studio Team Foundation Server 2017Visual Studio Team Foundation Server Office Integration 2017
- Visual Studio Feedback Client 2017Visual Studio Feedback Client 2017
Sistemas operacionais com suporteSupported Operating Systems | O Visual Studio 2017 pode ser instalado e executado nos seguintes sistemas operacionais:Visual Studio 2017 will install and run on the following operating systems:
|
HardwareHardware |
|
Idiomas com suporteSupported Languages | O Visual Studio está disponível em inglês, chinês (simplificado), chinês (tradicional), tcheco, francês, alemão, italiano, japonês, coreano, polonês, português (Brasil), russo, espanhol e turco.Visual Studio is available in English, Chinese (Simplified), Chinese (Traditional), Czech, French, German, Italian, Japanese, Korean, Polish, Portuguese (Brazil), Russian, Spanish, and Turkish. Você pode selecionar o idioma do Visual Studio durante a instalação.You can select the language of Visual Studio during installation.O Instalador do Visual Studio está disponível nos mesmos 14 idiomas e será correspondente ao idioma do Windows, se disponível.The Visual Studio Installer is available in the same fourteen languages, and will match the language of Windows, if available. Observação: a Integração do Office para Visual Studio Team Foundation Server 2017 está disponível nos dez idiomas com suporte do Visual Studio Team Foundation Server 2017.Note: Visual Studio Team Foundation Server Office Integration 2017 is available in the ten languages supported by Visual Studio Team Foundation Server 2017. |
Requisitos adicionaisAdditional Requirements |
|
Visual Studio Team Foundation Server 2017Visual Studio Team Foundation Server 2017
Para obter informações detalhadas sobre os requisitos de sistema para vários cenários de implantação e para saber mais sobre a integração com o Microsoft Office e o Microsoft SharePoint, veja Requisitos e compatibilidade do Visual Studio Team Foundation Server.For detailed information on system requirements for various deployment scenarios, and for information on integration with Microsoft Office and Microsoft SharePoint, see Visual Studio Team Foundation Server Requirements and Compatibility.
Os seguintes produtos dão suporte aos requisitos mínimos abaixo:The following products support the minimum requirements below:
- Visual Studio Team Foundation Server 2017Visual Studio Team Foundation Server 2017
- Visual Studio Team Foundation Server Express 2017Visual Studio Team Foundation Server Express 2017
Commandos behind enemy lines download completo gratis. Sistemas operacionais com suporteSupported Operating Systems | O Visual Studio Team Foundation Server 2017 será instalado e executado nas versões de 64 bits dos sistemas operacionais a seguir:Visual Studio Team Foundation Server 2017 will install and run on the 64-bit versions of the following operating systems:
|
HardwareHardware | Para obter recomendações de hardware em implantações de servidor único e vários servidores, consulte os requisitos e compatibilidade do Visual Studio Team Foundation Server.For hardware recommendations on single-server and multi-server deployments, see Visual Studio Team Foundation Server Requirements and Compatibility. |
Idiomas com suporteSupported Languages | O Visual Studio Team Foundation Server está disponível nos seguintes idiomas:Visual Studio Team Foundation Server is available in the following languages:
|
Requisitos adicionaisAdditional Requirements |
|
Microsoft Visual Studio 2017 para MacMicrosoft Visual Studio 2017 for Mac
Para baixar o Visual Studio para Mac, confira visualstudio.com/vs/visual-studio-mac.To download Visual Studio for Mac, see visualstudio.com/vs/visual-studio-mac.
Dica
Para obter mais informações, consulte Notas de versão do Visual Studio 2017 para Mac, Requisitos de sistema da família de produtos Visual Studio 2017 para Mac e Direcionamento e compatibilidade da plataforma do Visual Studio 2017 para Mac.For more information, see Visual Studio 2017 for Mac release notes, Visual Studio 2017 for Mac Product Family System Requirements, and Visual Studio 2017 for Mac Platform Targeting and Compatibility.
Microsoft Visual Studio CodeMicrosoft Visual Studio Code
Para baixar o Microsoft Visual Studio Code, confira code.visualstudio.com.To download Microsoft Visual Studio Code, see code.visualstudio.com.
Dica
Para obter mais informações, consulte Requisitos do Visual Studio Code, as notas de versão e Perguntas frequentes sobre o Visual Studio Code.For more information, see Requirements for Visual Studio Code, the release notes, and Visual Studio Code FAQ.
Ferramentas Remotas, Ferramentas de Desempenho e Coletor IntelliTrace Independente para Visual Studio 2017Remote Tools, Performance Tools, and IntelliTrace Standalone Collector for Visual Studio 2017
As Ferramentas Remotas, as Ferramentas de Desempenho e o Coletor IntelliTrace Independente dão suporte para os mesmos requisitos que o Visual Studio com as seguintes mudanças:The Remote Tools, Performance Tools, and IntelliTrace Standalone Collector support the same system requirements as Visual Studio with the following changes:
- Também é instalado no Windows 10 Enterprise LTSC, Windows Server 2012 e Windows Server 2008 R2 SP1Also installs on Windows 10 Enterprise LTSC, Windows Server 2012, and Windows Server 2008 R2 SP1
- Requer um processador de 1,6 GHz ou mais rápidoRequires a 1.6 GHz or faster processor
- Requer 1 GB de RAM (1,5 GB se executado em uma máquina virtual)Requires 1 GB of RAM (1.5 GB if running on a virtual machine)
- Requer 1 GB de espaço em disco disponívelRequires 1 GB of available hard disk space
- Requer uma resolução de vídeo de 1024 por 768 ou superiorRequires 1024 by 768 or higher display resolution
- Para obter a melhor experiência, use a atualização mais recente dessas ferramentas de diagnóstico para a sua versão do Visual StudioFor the best experience, use the most recent update of these diagnostic tools for your version of Visual Studio
Ferramentas de Build do Microsoft Visual Studio 2017Microsoft Visual Studio Build Tools 2017
As Ferramentas de Build dão suporte aos mesmos requisitos de sistema que o Visual Studio, com as seguintes alterações:The Build Tools support the same system requirements as Visual Studio with the following changes:
- Também é instalado no Windows Server 2008 R2 SP1 e na opção Server Core do Windows Server 2016.Also installs on Windows Server 2008 R2 SP1 and on the Server Core option for Windows Server 2016.
- Também é instalado em um contêiner do Windows.Also installs into a Windows container.
- Requer 2,3 GB a 60 GB de espaço em disco disponível, dependendo dos recursos instalados.Requires 2.3 GB to 60 GB of available hard disk space, depending on installed features.
Pacotes Redistribuíveis do Microsoft Visual C++ para Visual Studio 2017Microsoft Visual C++ Redistributable for Visual Studio 2017
Para baixar o Visual C++ redistribuível, consulte visualstudio.microsoft.com/downloads.To download the Visual C++ Redistributable, see visualstudio.microsoft.com/downloads.
O Visual C++ redistribuível dá suporte aos mesmos requisitos de sistema que o Visual Studio, com as seguintes alterações:The Visual C++ Redistributable supports the same system requirements as Visual Studio with the following changes:
- Também é instalado no Windows 10 Enterprise LTSC, no Windows Server 2012, no Windows Server 2008 R2 SP1, no Windows Vista SP2, no Windows Server 2008 SP2, no Windows Server 2003 SP2 e no Windows XP SP3Also installs on Windows 10 Enterprise LTSC, Windows Server 2012, Windows Server 2008 R2 SP1, Windows Vista SP2, Windows Server 2008 SP2, Windows Server 2003 SP2, and Windows XP SP3
- Requer 1 GB de RAM (1,5 GB se executado em uma máquina virtual)Requires 1 GB of RAM (1.5 GB if running on a virtual machine)
- Requer 50 MB de espaço em disco disponívelRequires 50 MB of available hard disk space