Posts by David Lucas • 65 points
3 posts
-
0
votes2
answers74
viewsQ: When to use new and delete in c++?
I’m studying on pointers in c++, I still don’t quite understand how to use but I already have a notion, and one of the utilities I’ve seen is "dynamic allocation". I’ve heard of it in C language…
-
1
votes1
answer30
viewsQ: Problems with C/C++ Struct Array
I’m trying to make a program that reads a string and int and stores its values in one struct and then print it on the screen, I’m still learning, forgive me if it’s a very obvious mistake. Code:…
-
5
votes1
answer168
viewsQ: Why does Std::Cout use <<?
I am very beginner in language, maybe I am being rushed, but I would like to understand why std::cout and std::cin use respectively << and >> different from its "mother language" C,…