Questions tagged as 'c++'

0
answers

Unable to open the ServerTCP executable file

I just wanted to run the sample code in Microsoft on the server TCP . I get the error that the executer can not open and I do not understand why. The sample code that I used and executed without further ado is: link That is: #und...
asked by 14.01.2017 / 15:25
0
answers

CMake and pkg-config

I have no experience creating files CMakeLists.txt to compile my project and I was trying to do one for the first time. Originally, from the command line, I compiled the project in the following way: g++ -Wall -std=c++11 src/main...
asked by 24.01.2017 / 20:29
1
answer

C ++ error: can not convert '' :: Vectordouble 'to' double 'in assignment sum_aux = A [f] [j] * xk [j];

Good! I am having problems with the exposed error when I try to multiply the matrix A with the vector xk. The matrix A lame from an external input file. Would anyone know how to fix it ?. Thank you very much in advance! I attach the interesting...
asked by 23.01.2017 / 20:20
0
answers

Help with switch and getopt

I am trying to read the arguments in the main with this code, what I need is that, when the arguments are -v then a = 10 keep this and when they are -g pass flag a true , but when I run it with -g send me "file: unkno...
asked by 20.11.2016 / 08:59
3
answers

Implementing a mathematical operation and the result throws me [Error] stray '\ 226' in program

#include <iostream> #include <conio.h> using namespace std; main() { double x = 7 + 1 * (4 * ( 5 - ( 9 + 3 ) / 6 ) ) ; cout << "el resultado de x es: " <<x; getch(); }     
asked by 13.11.2016 / 16:36
0
answers

How to decompile a .exe file [closed]

I have a "program" .exe file that when opened opens the interface as if it were CMD, I do not know in what language it is written, and I would like to know how to decompile it to look at the source code.     
asked by 29.10.2016 / 07:12
1
answer

32-bit Windows functions

I have the following code, which compiles me as is. The problem is that I do not understand why he does not receive me or send data from one computer to another. I would also like to know why I can not configure the speed of the data, I have tri...
asked by 15.11.2016 / 17:29
1
answer

Cygwin1.dll missing when executing * exe generated in NetBeans

I have a simple code in C ++ in the IDE of NetBeans 8.0.1 . I have already configured the entire Cygwin suite. #include "stdio.h" #include "iostream" int main(){ printf("hola como estas"); return 0; } When compiling it within Ne...
asked by 18.10.2016 / 23:24
0
answers

Does not load dll in mwindows (C ++) mode

I want to load a dll from a hidden process that I compiled with -mwindows in g ++ but it does not load but I remove the flag > -mwindows is loading well. Here's the code:    load_dll.cpp HINSTANCE hGetProcIDDLL = LoadLibrary("Mi...
asked by 11.02.2017 / 21:20
0
answers

Change color to an image in SDL (c ++)

I have an object in the game where its color depends on several circumstances (scenario, collisions etc ..) The problem is that for each situation, in the sprite sheet I have to add the object with the different color again. Is there any w...
asked by 09.02.2017 / 01:33