C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language.

learn more… | top users | synonyms

0
votes
0answers
5 views

gr-osmosdr Could NOT find Boost (C++ libraries)

End goal: Play about with RTL-SDR in GNURadio Companion While following the instructions on this page, I've run into errors concerning the Boost C++ libraries. While building the gr-osmosdr blocks to ...
0
votes
1answer
10 views

fatal error: 'mysql/mysql.h' not found (but added in path)

I use MAC OS X El capitan 10.11.5 I am trying to understand and execute some code on c++ (it is a lot of files and i am new to c++ a), but when i type "make" to compile everything, it returns the ...
1
vote
0answers
15 views

What is the general strategy for troubleshooting visual C++ redistributable install “errors”?

I went to install Autodesk Inventor 2017 and got stuck without errors on "installing microsoft visual c++ redistributable 2012 x86 11.0.61030", so I tried to run the installer manually. It said it was ...
0
votes
0answers
13 views

Qt qbs, compile error: unable to locate 3rd party library file

I am working on a project which has several levels. Personally, I am new to qbs and there are not many document and examples on the internal about qbs. environment: Qt5.6.1; Qt creator 4.01; Ubuntu ...
-1
votes
0answers
17 views

Serial port info in Ubuntu

my first post. This is the actual code: int Open( //Serial port name. const char* pPortName, //Is IEC or DLMS used as starting protocol. bool IEC, //Maximum ...
1
vote
0answers
17 views

Implementation of qsort [closed]

I have been looking for implementation for qsort but using google I find implementation for something like this void qsort(int[] arr, int left, int right); What I want is implementation for ...
1
vote
1answer
35 views

Error while compiling with 'g++' using 'NPPExec' plugin with Notepad++

Everytime I try to run G++ from notepad++ portable I get this error I am trying to compile a simple hello world program. I'm positive that the directories and files exist, but I still get this ...
0
votes
0answers
14 views

Start Mplayer without extra cmd window (on windows)

I know in Linux it's just (nohup mplayer video.flv >/dev/null &) && exit i want to do the same in windows , start the mplayer from cmd without the extra cmd window ,how can i do it ?...
0
votes
0answers
49 views

How do I sync a file between OneDrive and local storage?

Our school prescribed syllabus has only Turbo C++. I code on http://codeanywhere.com. It automatically saves my projects on OneDrive. Now, I want Turbo C++ to pick up files directly from OneDrive, ...
-1
votes
1answer
26 views

Netbeans c++ memory leaks

Is there anybody who knows how can I get to know is there are memory leaks using netbeans IDE? My code is written in c++.I tried to use valgrind but it does not work. Provided I got a an app and im ...
1
vote
2answers
45 views

Where is my TrueTypeFonts located in my computer?

I am not sure if this or Stack Overflow is the right place to ask it. I am having trouble finding where my TrueType font files are. For example arial.ttf, I need it for Allegro C++. I am using ...
0
votes
1answer
17 views

g++ 4.9.2 in Cent OS 6.7 will compile but not link

I am using Centos 6.7 and have installed the devtools-3 distribution and "enabled" it to make gcc 4.9.2 the default. A simple C++ program that uses regex will compile , but does not link. // ...
0
votes
0answers
8 views

how to compile ActionScript code in FlashDevelop IDE for creating a project file?

I am working on a project in which i need to compile ActionScript source code using FlashDevelop IDE but after successful compilation i cant see output window?
0
votes
0answers
68 views

Command prompt begins running .exe files but then stops working

I've been attempting to run some easy hello world programs on my command prompt in c++ and c# but after I compile them and attempt to run the .exe files the command jumps a line like it's going to ...
0
votes
1answer
186 views

How to properly send GET and CONNECT requests from proxy to client?

I'm making an HTTP proxy in C++; when a client sends a GET or CONNECT request to the proxy, the proxy parses the HTTP header of the packet, resolve the hostname in it, opens another socket to the ...
0
votes
0answers
25 views

VS 2015 - download standard c++ libraries

Currently I am developing the c++ homework in CodeBlocks but I want to switch to visual Studio 2015. In vS c++ is not installed and I have to download all the visual C++ Tools wich include the WIndows ...
1
vote
1answer
51 views

openSSL Key and Certificate

As far I know, in an authenticated SSL connection, both the client and server have private keys and provide their certificates (with the corresponding public keys) across the connection before ...
-1
votes
1answer
128 views

How can I compile C++ code into an independent Windows executable? [closed]

I've got a C++ program that I can compile and run on Mac OS 10.11 using g++. I also was able to compile and run it on Windows 10 using Visual Studio. However, when I tried to run the .exe file on a ...
0
votes
0answers
251 views

Visual C++ 2012 Redistributable Setup Failed

I'm having a major problem with Windows 10 and Microsoft Visual C++ 2012 Redistributable - 11.0.61030 package. After Windows installed it's latest updates all of my most important development programs ...
0
votes
0answers
58 views

prevent asl message to show up on /var/log/system.log

I'd like to define new asl facility in my project, and use it to generate asl log messages that wouldn't show up in /var/log/system.log (but only in the my pre-defined log file) here's my entire asl ...
-1
votes
1answer
136 views

Execute Cloud9 compiled C++ code on Windows

I am currently using C++ in my Cloud9 (c9.io) workspace. I have created a program in Cloud9 that I would to distribute to a few other people. They are running Windows. How would I compile my C++ code ...
0
votes
1answer
73 views

Nginx serving C++ cgi script: response is binary format

I am trying to run C++ CGI script on nginx. I am using FCGIWrap with script from nginx website. The program code is like this: #include <iostream> using namespace std; int main () { cout &...
-1
votes
1answer
135 views

How to compile C++ code in Notepad++

I'm trying to code in C++ using Notepad++. As far as I know, Notepad++ needs to have scripts compiled by an external compiler (if this is not true please let me know) so I'm looking at using Eclipse ...
0
votes
1answer
724 views

DEV C++ : No error while compiling any program but it is not running

All are working fine with DEV C++. Suddenly it stop working well. Program is compiling with no error messages. But when i hit run button nothing is happened. This is happening with all program. So ...
0
votes
1answer
128 views

Why do i get command prompt “… is not recognized as an internal or external command, operable program or batch file”

I got this problem as described by the link below, C++ Hello World not showing output and I was suggested to try opening the file using command prompt. Here was what i did, Command Prompt Is ...
1
vote
3answers
1k views

Can not run basic C++ program VS 2015

I have installed Visual Studio 2015 on my Windows 10 PC in order to create a C++ simple program. Even if I try to run a basic Hello World program like this: #include <iostream> int main() { ...
0
votes
2answers
70 views

How to stop infinite loop program after compilation [closed]

I am using turbo c++ , in college we were learning loop structure and were implementing it. But when I wrote while loop it shows the result infinite times and the turbo program get hanged . Is there ...
1
vote
2answers
141 views

Upgrading gcc for a specific user account

I work on a computing cluster running CentOS6/RHEL6 that I share with ~100 other users, overseen by a single IT admin. Recently, I started writing in C++, and some of my code depends on C++11. ...
3
votes
1answer
94 views

Where is Cordbg?

I'm trying to debug a C++ application recently ported from linux, and I'm used to a command-line debugger. I'm not using Visual Studio, rather NMake Makefiles. I hear cordbg.exe is a command line ...
0
votes
0answers
39 views

What is DDD trying to do when it gets busy after stopping on breakpoints and can I stop it preemptively?

Here's a common annoyance with DDD which I've experienced with many C++ projects. set a breakpoint, run and hit the breakpoint, right-click the display window and go to "New Display", click-drag to ...
0
votes
1answer
121 views

Saving from PuTTY (vim) to my local computer

I'm new to SSH stuff, linux, etc, but it's what my University uses for my introductory computer science class. With that in mind, how do I save a file I opened from my University's server in PuTTY ...
1
vote
0answers
154 views

Cannot run program due to “device is not ready” error

I have a 32bit Matlab mex function that was linked against OpenDDS libraries as well as my own custom ones. I made a Visual Studio 2010 setup project to deploy the necessary dlls to other machines. I'...
0
votes
0answers
15 views

Windows driver for new image format?

I have designed a new image compression algorithm in my free time that sometimes even manages to reduce the file size of jpeg images! I have written it in c++, is there any way that I can install it ...
0
votes
1answer
121 views

c++ console application on raspberry pi

how to run a VS2015 c++ console application on raspberry pi 2. I installed mono, copied the .exe file and try to run it. But it said "Cannot open assembly abc.exe: File does not contain a valid CIL ...
0
votes
0answers
24 views

Deskband on second monitor?

Is it possible to have a Deskband (taskbar toolbar) to be on the taskbar that is on Monitor #2? (Not the primary taskbar) I have two monitors in extending mode and the default Windows Taskbar on each ...
2
votes
0answers
161 views

SSH2 connection issues on Ubuntu 14.04 - it randomly works when it wants to

So I've been digging around for a solution and cannot find an answer for this. Setup: I am using Eclipse Mars (v4.5) running on Win7 with a Linaro ARM-Linux tool chain. Eclipse has a remote host setup ...
0
votes
1answer
102 views

error installing cmder, which visual c++ redistributable do you suggest?

I have visual studio 2014 2013 cmder.exe says this page https://github.com/bliker/cmder/issues/501 seems to suggest installing the visual c++ redistributable.. some say 2010, some say 2015. I ...
2
votes
1answer
93 views

Does a better/newer C or C++ compiler produce more performant compiled code? Or do they just perform faster/better while compiling?

I am not a C or C++ programmer myself, but I often use software that needs to be compiled or otherwise depends on a compiler, like some R packages. Will that software actually perform better if I use ...
0
votes
1answer
375 views

How to add/delete rules in Windows Firewall [closed]

I need to implement a tool which adds and deletes rules in Windows Firewall. The rules can be inbound or outbound, forbidding communication on specified protocols, IPs and ports. I am having trouble ...
0
votes
0answers
426 views

Why doesn't visual studio 2015 RC compile properly?

I downloaded Microsoft Visual Studio 2015 RC after using Code::Blocks for a long time. To test it I just created a simple Hello World program, but it won't compile properly. This is the output from ...
0
votes
0answers
130 views

How to kill all obtrusive messagebox recursion manually when they are opened very quickly and very many in Windows

Firstly, I do not asking for programming solutions, I just publish this code to show how this program work. I tried this program below (in Virtual Box): #include <iostream> #include <string....
1
vote
1answer
251 views

No function name highlighting in this special case

if I write a function in the following way: int foo(int bar) {} Sublime highlights foocorrectly. However, in this case: int foo (int bar) {} foo loses all highlighting. One of the things I ...
1
vote
0answers
241 views

Change screen resolution without monitor under Linux?

I got a GUI program which will be executed along the OS (CentOS 6.6) boots. The resolution configuration is programmed in the init part of the GUI program, my solution right now is get the resolution ...
1
vote
0answers
104 views

Compiling this (C++) git repository code [closed]

I'm reading a statistical paper and the author was kind enough to post his code publicly on github at the following link https://github.com/mosco/crossing-probability I have a Windows operating ...
0
votes
1answer
9k views

MSVCP120D.dll is missing from your computer

I made a C++ program in Visual Studio, and I wanted to show it to my friend. However, I'd never set up the visual C++ runtime libraries before, and so I started up a windows 8.1 virtual machine and ...
0
votes
1answer
142 views

Which GUI framework is used to make Ubuntu?

I'm interested to know, Which GUI framework is used to build ubuntu? As well i know it is built in C/C++. But what GUI is used to make Ubuntu? Help would be appreciated!
1
vote
1answer
992 views

How to make Sublime Text 3 take user input?

I tried ctrl+shift+b when no user input was required and works just fine. But when I had user input in my program, it shows me a “segmentation fault.” How do I make it take user input? EDIT : I ...
0
votes
1answer
242 views

How to delete a particular line in a text file after some operation on that text file at the same time

I am perl bginner (but i guess logic is same for all programming languages like C++ and C in my case its perl). What i want to achieve ? I have a text file i read that file which contains different ...
1
vote
0answers
2k views

Compiling gcc-c++ 4.9.2 -std=c++14 in CLion JetBrains IDE [solved]

I was trying to compile a cpp program using option -std=c++14 in CLion. But I got an error saying g++ error: Unrecognized command line -std=c++14 It's working fine using -std=c+11. My cmakeList.txt: ...
1
vote
0answers
109 views

How to disable antialiasing in Eclipse?

My settings are OSX Mountain Lion java version "1.7.0_17" eclipse cpp 4.4.1 Thunderbolt display I have tried running in the terminal: defaults write org.eclipse.eclipse AppleAntiAliasingThreshold ...