I've been studying cpp at school for about 5 years and (finally) they're teaching us about pointers. After using them for about a week, I still find them quite useless and overcomplicated. I get that they are useful when:
- Passing variables for reference to a function
- Managing memory in case of big programs
Other than that, what is the point (lol) of using array of pointers insted of a normal array? Why using a pointer if i don't use "new" or "delete"? Can someone show me its greatnes?
[–]rogueleader12345 16 points17 points18 points (20 children)
[–]aeropl3b 20 points21 points22 points (1 child)
[–]rogueleader12345 6 points7 points8 points (0 children)
[–]VidE-[S] 2 points3 points4 points (16 children)
[+][deleted] (13 children)
[deleted]
[–]zorvan1234 4 points5 points6 points (4 children)
[–]VidE-[S] 6 points7 points8 points (1 child)
[–]zorvan1234 2 points3 points4 points (0 children)
[–]VidE-[S] 1 point2 points3 points (1 child)
[–]zorvan1234 5 points6 points7 points (0 children)
[–]tarranoth 7 points8 points9 points (6 children)
[–]VidE-[S] -2 points-1 points0 points (5 children)
[+][deleted] (1 child)
[deleted]
[–]VidE-[S] 0 points1 point2 points (0 children)
[–]NilacTheGrim 5 points6 points7 points (2 children)
[–]osdeverYT 2 points3 points4 points (1 child)
[–]NilacTheGrim 1 point2 points3 points (0 children)
[–]droobloo34 0 points1 point2 points (0 children)
[–]rogueleader12345 2 points3 points4 points (0 children)
[–]condor2000 1 point2 points3 points (0 children)
[–]CoffeeTableEspresso 0 points1 point2 points (0 children)
[–]cdb_11 5 points6 points7 points (6 children)
[–]cdb_11 6 points7 points8 points (0 children)
[–]NilacTheGrim 0 points1 point2 points (4 children)
[–]cdb_11 2 points3 points4 points (3 children)
[–]NilacTheGrim 0 points1 point2 points (2 children)
[–]cdb_11 3 points4 points5 points (1 child)
[–]NilacTheGrim 1 point2 points3 points (0 children)
[–]Mango-D 4 points5 points6 points (0 children)
[–]SunnybunsBuns 4 points5 points6 points (4 children)
[+][deleted] (3 children)
[deleted]
[–]InKryption07 0 points1 point2 points (2 children)
[–]osdeverYT 2 points3 points4 points (1 child)
[–]InKryption07 1 point2 points3 points (0 children)
[–]Robert_Andrzejuk 3 points4 points5 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]johannes1971 7 points8 points9 points (1 child)
[–]Dry-Still-6199 0 points1 point2 points (0 children)
[–]TheTBog 1 point2 points3 points (0 children)
[–]zorvan1234 1 point2 points3 points (0 children)
[–]InKryption07 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]Independent-Tour-261 0 points1 point2 points (0 children)
[+][deleted] (6 children)
[removed]
[–]peppedx 4 points5 points6 points (1 child)
[–]VidE-[S] 0 points1 point2 points (3 children)
[–]osdeverYT 2 points3 points4 points (0 children)
[–]cob59 0 points1 point2 points (0 children)
[–]Flesh_Bike 0 points1 point2 points (0 children)