Skip to content

Commit 5c49059

Browse files
committed
Change modules directory for MSVC 17.5
1 parent 00f5f56 commit 5c49059

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+92
-91
lines changed

modules/01-hellow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// 01-hellow.cpp : prints a line of text to the console
22

3-
import std.core;
3+
import std;
44
using namespace std;
55

66
int main() {

modules/01-title.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// 01-title.cpp : output the title page of a well-known book
22

3-
import std.core;
3+
import std;
44
using namespace std;
55

66
int main() {

modules/02-assign.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// 02-assign.cpp : assign to local variables
22

3-
import std.core;
3+
import std;
44
using namespace std;
55

66
int main() {

modules/02-constants.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// 02-constants.cpp : introducing the const keyword
22

3-
import std.core;
3+
import std;
44
using namespace std;
55

66
const double PI = 3.14159265358979;

modules/02-constexpr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// 02-constexpr.cpp : introducing the constexpr keyword
22

3-
import std.core;
3+
import std;
44
using namespace std;
55

66
const double PI1 = acos(-1.0); // acos is not (yet) constexpr

modules/02-height.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// 02-height.cpp : define the same variable name in two different namespaces
22

3-
import std.core;
3+
import std;
44
using namespace std;
55

66
namespace Wonderland {

modules/02-references.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// 02-references.cpp : introducing l-value references
22

3-
import std.core;
3+
import std;
44
using namespace std;
55

66
int alice_age{ 9 };

modules/02-scopes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// 02-scopes.cpp : define three variables with the same name in one program
22

3-
import std.core;
3+
import std;
44
using namespace std;
55

66
auto a{ 1.5f };

modules/02-swap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// 02-swap.cpp : attempt to swap the values of an int and a double
22

3-
import std.core;
3+
import std;
44
using namespace std;
55

66
int main() {

modules/02-uniform.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// 02-uniform.cpp : avoid compiler error with uniform initialization and explicit narrowing cast
22

3-
import std.core;
3+
import std;
44
using namespace std;
55

66
int main() {

0 commit comments

Comments
 (0)