Skip to content

Commit da1842b

Browse files
author
mikeblome
committed
removed references to stdafx.h in a few obvious places
1 parent 8b38f69 commit da1842b

4 files changed

Lines changed: 2 additions & 8 deletions

File tree

docs/build/walkthrough-creating-and-using-a-dynamic-link-library-cpp.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ When the **MATHLIBRARY_EXPORTS** macro is defined, the **MATHLIBRARY_API
167167
168168
```cpp
169169
// MathLibrary.cpp : Defines the exported functions for the DLL.
170-
#include "stdafx.h"
171170
#include <utility>
172171
#include <limits.h>
173172
#include "MathLibrary.h"
@@ -228,7 +227,6 @@ To verify that everything works so far, compile the dynamic link library. To com
228227

229228
```Output
230229
1>------ Build started: Project: MathLibrary, Configuration: Debug Win32 ------
231-
1>stdafx.cpp
232230
1>MathLibrary.cpp
233231
1>dllmain.cpp
234232
1>Generating Code...

docs/cpp/source-code-organization-cpp-templates.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Source code organization (C++ Templates)"
3-
ms.date: "11/04/2016"
3+
ms.date: "04/22/2019"
44
ms.assetid: 50569c5d-0219-4966-9bcf-a8689074ad1d
55
---
66
# Source code organization (C++ Templates)
@@ -72,7 +72,6 @@ public:
7272
#endif
7373

7474
//MyArray.cpp
75-
#include "stdafx.h"
7675
#include <iostream>
7776
#include "MyArray.h"
7877

docs/cpp/unions.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ int main()
5555
In the previous example, any code that accesses the union needs to know which member is holding the data. The most common solution to this problem is to enclose the union in a struct along with an additional enum member that indicates the type of the data currently being stored in the union. This is called a *discriminated union* and the following example shows the basic pattern.
5656

5757
```cpp
58-
#include "stdafx.h"
5958
#include <queue>
6059

6160
using namespace std;

docs/parallel/amp/walkthrough-debugging-a-cpp-amp-application.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ Before you start this walkthrough:
4646

4747
6. Clear the **Precompiled header** check box, and then choose the **Finish** button.
4848

49-
7. In **Solution Explorer**, delete stdafx.h, targetver.h, and stdafx.cpp from the project.
50-
51-
8. Open AMPMapReduce.cpp and replace its content with the following code.
49+
7. Open AMPMapReduce.cpp and replace its content with the following code.
5250

5351
```cpp
5452
// AMPMapReduce.cpp defines the entry point for the program.

0 commit comments

Comments
 (0)