Skip to content

Commit 9523a91

Browse files
committed
progress to fixing C++
1 parent e52adc9 commit 9523a91

File tree

324 files changed

+105146
-627
lines changed

Some content is hidden

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

324 files changed

+105146
-627
lines changed

cpp/src/main/cpp/bitmanipulation/long_primitive.h renamed to cpp/main/bitmanipulation/long_primitive.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@
33

44
#include <algorithm>
55

6+
// Not Finished
7+
68
class long_primitive {
79
private:
810
const short int *data;
911
const std::size_t size;
1012
long_primitive() : data(nullptr), size(0) {}
1113
public:
12-
long_primitive(int size_)
13-
: data(new short int[size_]), size(size_) {}
14+
long_primitive(int size)
15+
: data(new short int[size]), size(size) {}
1416

1517
~long_primitive() {
1618
delete[] data;
File renamed without changes.
File renamed without changes.
File renamed without changes.

cpp/src/main/cpp/datastructures/trees/binarysearchtrees/avltree/AVLTree.h renamed to cpp/main/datastructures/trees/binarysearchtrees/avltree/AVLTree.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#ifndef AVL_TREE
22
#define AVL_TREE
33

4-
#include "../BinaryTree.h"
5-
64
template <typename T>
75
class AVLTree : public BinaryTree<T> {
86
private:

cpp/src/main/cpp/datastructures/trees/binarysearchtrees/binarysearchtree/binary_search_tree.hpp renamed to cpp/main/datastructures/trees/binarysearchtrees/binary_search_tree.hpp

File renamed without changes.

cpp/src/main/cpp/datastructures/trees/binarysearchtrees/binarysearchtree/BinarySearchTree.h renamed to cpp/main/datastructures/trees/binarysearchtrees/binarysearchtree/BinarySearchTree.h

File renamed without changes.

cpp/src/test/cpp/datastructures/trees/binarysearchtrees/binarysearchtree/binary_search_tree.hpp renamed to cpp/main/datastructures/trees/binarysearchtrees/binarysearchtree/binary_search_tree.hpp

File renamed without changes.

cpp/src/main/cpp/datastructures/trees/binarysearchtrees/binarysearchtree/test.cpp renamed to cpp/main/datastructures/trees/binarysearchtrees/binarysearchtree/test.cpp

File renamed without changes.

cpp/src/main/cpp/datastructures/trees/binarysearchtrees/redblacktree/RedBlackTree.h renamed to cpp/main/datastructures/trees/binarysearchtrees/redblacktree/RedBlackTree.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
#include <vector>
55
#include <algorithm>
66

7-
#include "../BinaryTree.h"
8-
97
template<typename T>
108
class RedBlackTree : public BinaryTree<T> {
119
private:

0 commit comments

Comments
 (0)