Questions tagged as 'c++'

0
answers

Socket between C ++ and C #

I'm facing a problem. I have the server code made in C ++, running on ubuntu. And I have the client code done in C #, running on windows. In the code made in the server (C ++) I came across a problem //recebe tamanho arquivo read(idSo...
asked by 03.03.2017 / 13:13
0
answers

The menu does not appear in the wxWidgets frame

I have a small wxWidigtes application in C ++, where I have a frame that has a status bar and menu. However, the manu bar is not displayed in the frame. What to do? #include "MenuMain.h" #include <wx/msgdlg.h> //(*InternalHeaders(MenuFr...
asked by 18.02.2017 / 15:33
0
answers

Text color in QTableView

Hello, I am trying to implement the color of the text in certain column of my QTableView, without success To paint the cell, just use the code below in my working delegate: painter->fillRect(option.rect, QColor(255, 40, 0)); To change...
asked by 02.01.2017 / 20:59
4
answers

Is it possible to develop websites with C / C ++?

I know a bit of PHP, but I see that on content sites, sometimes it fires and so on. Researching, I have seen (very shallow) reports that it is possible to develop web applications with C / C ++, and that these, in turn, would have far more pe...
asked by 15.12.2016 / 10:15
0
answers

How to disable the full screen of another program?

For example, a game that is full screen (with full screen does not mean maximized, but "fullscreen same"). How do I get into windowed mode with C ++? I've tried using "SendMessage": #include <windows.h> int main() { while (true)...
asked by 28.12.2016 / 03:29
3
answers

Why is not it a good practice to use namespace "std" in C ++?

I was using using namespace (nomeDaBiblioteca); in my code and I ended up having some conflicts with another library. Why do these conflicts happen and what is the best solution?     
asked by 28.10.2014 / 19:02
1
answer

How to stop a for loop that stores strings values entered in C ++?

So I've tried everything I tried to compare type typed a "." or set a threshold value and even then the program does not continue, it stays within the infinite loop. The code comes next: vector<string> inserir(){ vector<string>...
asked by 20.01.2017 / 16:51
0
answers

FastCGI with C ++ and NGINX

I'm trying to make a small server to study using fastCGI with C ++ without using any library. My problem is that via socket NGINX even connects but does not give me any information about the request, and if I write some callback it generates err...
asked by 09.01.2017 / 02:46
0
answers

How to compile a .C / C ++ on my site

Is there any way to compile a .C / C ++ file inside a website? let's say that a ".c" file will be generated and this file will be compiled ... maybe you can do this in PHP or with some add-on.     
asked by 12.12.2016 / 17:35
2
answers

How to receive multiple values on the same line?

How can I receive multiple values on the same row? For example, the user types the number of values and then the values:    5 (how many values, greater than or equal to 4)       -5 1 -3 5 7 (separated by blanks) How can I receive these v...
asked by 16.12.2016 / 17:41