Posts by Luiz • 106 points
6 posts
-
-1
votes4
answers456
viewsA: Memory allocation for pointers
In fact it possesses, but is not quite like the other objects. Imagine the memory as a whole, many and many bytes there. The pointer is just one of those bytes with a value there, and that value is…
-
2
votes1
answer1018
viewsA: Convert string char* to Std:string
Conversion of Std::string to const char * just use the c_str() function of str::string, eg: std::string str= "String"; const char * ch_prt= str.c_str(); Conversion of Std::string to char * just use…
-
0
votes1
answer89
viewsA: Calling a class by the value of a member
The following code will illustrate well how this works, so I understand this is what you need to understand the process... #include <iostream> class foo{ protected: int id; public: foo() :…
-
1
votes1
answer1674
viewsA: Chained lists in Java
Use common sense, the student can(and should) have X grades. I think it’s a data structure job or something, make a generic list, and then specialize it for what you want. public class…
-
1
votes1
answer666
viewsA: Commands on the Mac terminal
use : wget https://getcomposer.org/installer | php or curl -k https://getcomposer.org/installer | php
-
7
votes2
answers111
viewsQ: Access to specific memory points
How do I access an exact address in memory on Windows? unsigned char * mem = {??};