Posts by Talles • 121 points
8 posts
-
0
votes1
answer55
viewsA: problem when making a library
If you can get through through through through the end you go through gcc(se for gcc ai ou outro comando) -c biblioteca.o biblioteca.c It will generate a binary and with it you will compile with…
-
0
votes1
answer30
viewsA: My program keeps going down
John see this passage here struct Graph* createGraph(int V, int E) { struct Graph* graph;[[(struct Edge*)malloc(E*sizeof(struct Edge))]aqui também] graph->V = V; graph->E = E; graph->edge =…
-
1
votes1
answer44
viewsA: Problem rendering multiple objects in Opengl Legacy (GLFW)
I still can’t comment so go this way. It will, hypothetically speaking since I haven’t dealt with Opengl yet. I would be more suspicious, from your comment that glTranslatef() would be to rotate the…
-
0
votes2
answers38
viewsA: How and Where to Learn Sockets in C#
Look, I know you’re looking for C#, but if you want to try to dig deeper and go deeper into the business base one of the best materials on the subject and free - to get started - that if you have…
-
0
votes1
answer77
viewsA: When to use a Thread or Process?
Look, first of all the Linux process has at least one thread. Process is a running program that has at its disposal a virtual memory space. It is administered by direct calls to the kernel. They are…
-
1
votes1
answer183
viewsA: Creating a Reverse Polish Rotation Calculator in C
It’s not an algorithm I’ve had before, but it fits the compilers. You have tried to use something similar to shift reduce, stack the numbers until you find a signal token (-+*/) pops with the…
-
0
votes1
answer39
viewsA: Problems to edit items within the struct
If I’ve observed correctly, it’s passing a pointer as a value, and it needs to pass the memoir position of the structure. See if this is not so, as follows an explanatory example below. If you want…
-
1
votes1
answer23
viewsA: How to make an array with arguments that have two variables each?
I don’t know if an array defines, even if possible, is the best solution for this. Probably the use of ENUM, but I don’t remember if PHP would. If not, a close solution could be to create a class…