We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 346cd09 commit d1d59ddCopy full SHA for d1d59dd
include/0001_Basics/Node.h
@@ -1,10 +1,8 @@
1
#pragma once
2
3
-class node
+class Node
4
{
5
-private:
6
- int val;
7
public:
8
int value;
9
- node();
+ Node();
10
};
source/0001_Basics/Node.cc
@@ -1,7 +1,6 @@
#include "../include/0001_Basics/Node.h"
-node::node()
+Node::Node()
- val = 1;
value = 8;
}
0 commit comments