I'm currently working on PHP and realized that at the time of implementing classes I can not just instantiate and then implement below the class using the :: scope selector.
Example:
class Lista{
public:
Lista(){
first = last...
I have a table in Lua like this:
myTable={
one = {a=1, b=2, c=3},
two = {a=4, b=2, c=1}
}
The file has already been loaded, how do I read the table data through C ++?
Using the code below I type the two numbers, but if I give enter after entering the second number the answer appears quickly and the debug closes.
int main(){
int num1, num2, answer;
cout << "Digite um número:";
cin >> num1;
cou...
When debugging the accented words deconfigure. How do I correct this?
Using Visual Studio.
int main(){
int apples = 50;
cout << "Há"<< apples <<"maçãs."<< endl;
return 0;
}
I have an application, where the user uploads a file to the remote server,
this same server when receiving this file should run this application.
I'm using the CreateProcess method.
The problem is, the file directory is already defined in a std...
I have an application running on the Windows platform. In one of my methods I need to capture the directory where the application is running, what is the correct way to do it?
Good night, I wrote a file in c ++ but it is no longer working, the code compiles everything right, but if I put it to run it appears the message that the program stopped working, if anyone can help me I will be very grateful. code below!
#inc...
I have a Picture Box , and in a certain part of the code I edit the horizontal size (x) of it, then down in the code, I need to edit only the vertical size (y). I want the size of (x) to continue the same as it is currently.
Just one example:...
Is there any way to reset the variable without assigning all the values again?
ex:
int number = 5 + rand() % 5 + 1;
cout << number << endl;
cout << number << endl;
If the randomization is equal to 3, in both cout's w...
The function switch and I do not know what I'm doing wrong I want to put the name marcos ai appear "marks and legal" and put murilo "murilo e bacana". I'm doing this:
#include <stdio.h>
#include <conio.h>
int...