+ 1

Is data structures use in c++?

yes, it has array, linked list implementation and also with stack and queue

25th Aug 2017, 11:51 AM
Mohamed Rizwan
Mohamed Rizwan - avatar
2 Respuestas
+ 1
You can make data structure using struct keyword. Ex. struct users{ string username; string password; } int main() { users James = { "Jmi21", "Jamesblunt645" } cout << James.username; users Jacob; Jacob.username = "Qwer"; cin >> Jacob.password; } You can also create struct objects like arrays: users New[3];
25th Aug 2017, 6:32 PM
SKELU21
SKELU21 - avatar
0
Yes, they are used
25th Aug 2017, 8:47 PM
Andrés04_ve
Andrés04_ve - avatar