Posts by Douglas Oliveira • 66 points
5 posts
-
3
votes3
answers124
viewsA: How can a pointer point to a function?
Your question is how the memory of a program is structured. Search for articles about the organization of the memory of a process for a broader view. Here I will give you only the most basic notions…
-
0
votes1
answer180
viewsA: Automatic generation of Controllers and Views with . NET Entity Framework and Mysql
I was able to generate the controllers and views, but I had to solve many problems besides the ones I posted here. I’ll list the problems with the solution I found. Object reference not set to an…
-
0
votes1
answer180
viewsQ: Automatic generation of Controllers and Views with . NET Entity Framework and Mysql
EDIT: I solved the problem below and others that appeared later. See my answer. I created a Business project using the Entity Framework (EF) Code First approach. I have a database in Mysql with 8…
-
2
votes1
answer88
viewsA: Increase multidimensional array size at runtime
If you want to increase the size of the array (#rows and #columns), then the array itself needs to be dynamically allocated. You have not shown how this->data was allocated, but if it is equal to…
-
0
votes1
answer57
viewsA: Exercise with a map
An Std::map has two fields: Key and Value. The key is the identifier, from which you can recover the value associated with that key. The exercise says: crie um map com três chaves (“Local”, “Resp”,…