1 parent 5f4ace3 commit aaf0ab3Copy full SHA for aaf0ab3
1 file changed
content/posts/cpp-for-cscharp.md
@@ -449,7 +449,7 @@ Also as you can see for C++ we dont use the ``new`` keyword because in C++ every
449
450
Important differences:
451
- In C# you write ``int[] name``, while in C++ you write ``int name[]``, it differs where you place the brackets.
452
-- In C# arrays are always on the heap and made with ``new``, while in C++ arrays are on the stack.
+- In C# arrays are generally on the heap and made with ``new``, in C++ arrays can be both on the stack or heap
453
- In C# ``int[][]`` is a jagged array while in C++ ``int[][]`` is a multidimensional array.
454
- In C++ a list is called a vector (yes thats really confusing).
455
0 commit comments