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

learn more… | top users | synonyms

0
votes
2answers
2k views

Is there a possible connection between a Microsoft Redistributable and a virus?

I have a question about Microsoft Visual C++ Redistributables. I understand in general that I - a complete amateur - should not remove them. But - there are 7 all of which were installed when I ...
0
votes
2answers
1k views

Error 1935 (image included)

I'm having an issue where the Error 1935 comes up every time I try to install Adobe, Open Office, AutoDesk, or anything that uses InstallShield. This has gotten too intrusive to ignore for any longer. ...
3
votes
1answer
186 views

how to tune libstdc++ to the native architecture when building gcc

I recently found that when I build my C++ software, I get about a 10% speedup by using the g++ march=native option. When compiling gcc and libstc++, is it possible to tune the libstdc++ library to ...
1
vote
1answer
286 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 ...
1
vote
1answer
86 views

Error compiling unittest++

I'm installing unittest++ on MacOS maverick, and come accross this compiling error: src/tests/TestXmlTestReporter.cpp src/tests/TestCurrentTest.cpp Linking TestUnitTest++... Running unit tests... ...
1
vote
1answer
618 views

How to generate class skeleton from given C++ class definition (header) file in Vim?

Are there any plugins / snippets that can generate a C++ class skeleton from a given header file, for Vim? (I tried ccimpl but there does not seem to be much information on implementing it).
1
vote
1answer
597 views

Is it possible to run a Windows Visual C++ program in Linux?

I am trying to run this code on PAGE 7. of this document, and successfully ran it on Microsoft Visual Studio 2010 for Windows. The problem is that I need to get this code working on linux. I read up a ...
1
vote
1answer
224 views

How to install Lagrange in Cygwin?

I need to install a script for biogeographical analyses in Windows XP using Cygwin. The program is named Lagrange and is written in C++. It actually comes with instructions to install in Linux and ...
1
vote
1answer
381 views

How is character encoding inside Sakura done?

In the Sakura editor, you can have a .txt file with UTF-8 encoding, which contains 2 characters that are not available in EUC charset. When I saved a .txt from UTF-8 to EUC in the editor, it all ...
0
votes
1answer
26 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 ...
0
votes
1answer
183 views

Port forwarding and C++ Winsock Client-Server applications

As the title says, I'm creating a TCP client and a server program in C++. My question is, when running the client and server on two separate machines that go through a different firewalled router over ...
0
votes
1answer
146 views

Compile C++ 11 on Damn Small Linux?

DSL does not include any compiler (aside from a very basic ANSI C compiler), so I need to install g++ on it. Unfortunately the only gcc/g++ I could find for DSL linux is a version from 2006 (here). ...
0
votes
1answer
119 views

Visual Studio C++ 2010 Express - the system can not find the file specified

I installed Visual Studio on Windows XP, I created project and imported files in it. E.g. when I click on the header file which I imported in the "Header Files" then the document is not opened in the ...
0
votes
1answer
145 views

Slackware ./configure error

I'm new to slackware. i'm trying to install freetds on my slackware 14.0 but i get this error when i run ./configure config.log say: gcc: error: unrecognized command line option '-V' gcc : fatal ...
0
votes
1answer
20 views

Lost fform design view in MS express 2010

Working on a windows forms project in MS C++ express 2010. It builds fully with no errors, runs correctly as a forms based application but in the solution explorer the icon for form1.h shows it as a ...
0
votes
1answer
397 views

Unable to install linux tools in Eclipse

I am trying to install linux tools in my Eclipse (I want to use valgrind and some other tools that are inside the package). The problem is that while trying to install them I get the following error: ...
0
votes
1answer
2k views

How to upgrade to g++ 4.7 in SUSE linux

I am new to linux. I am trying to upgrade my g++ to version 4.7 If I type g++ -v it shows currently version gcc version 4.1.2 20070115 (SUSE Linux) I am trying to do the following sudo zypper ...
0
votes
1answer
175 views

Additional source directories using Geany

I'm using Geany in Ubuntu as an IDE for a C++ Project, and I want to use some external libraries (from Webots). However, I don't find the option to specify additional library paths (as one can find in ...
0
votes
1answer
623 views

running app in anjuta gives me **Error**: You must have `glib' installed

I get this error when I try to execute an application in anjuta in Fedora 16 and 18. Error: You must have `glib' installed. I did run 'yum install glib glib-devel' but the problem persists I ...
0
votes
1answer
294 views

getting global IP address when using a vpn

How can I get my global IP address? I can see my global IP address via a site: www.whatismyipaddress.com It shows correctly about information of my computer including IP address. But if I use a VPN ...
0
votes
1answer
126 views

route command not executed in rc.local

i need to execute the following command on every startup route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0 so i add it to rc.local touch /var/lock/subsys/local route add -net 224.0.0.0 netmask ...
0
votes
1answer
325 views

Mingw Shell Console Issue

I recently installed MingW/Msys on my XP Pro box (SP 3). When I attempt to open a Mingw shell as a console it behaves incorrectly. The shell window opens for perhaps 5 seconds and then the window ...
0
votes
1answer
609 views

The backspace key doesn't work while editing C++ source files and it encounter a line break,Why and how to fix it?

I just updated my favorite edit tool notepad++ to version 5.8.1. But when i am editing a c++ source files, i can't use the backspace key to delete the current line when the cursor is at the begining ...
-1
votes
1answer
6 views

Is there a Vim plugin for C++ Boost Test?

I would like to use Vim for running unit tests written in C++ Boost Test, just like in an IDE. I mean running tests with a keystroke, displaying test results in a special window using red and green ...
-1
votes
1answer
207 views

C/C++ programs hang in Windows 7 console

I've installed Windows 7 Home Premium. It's working fine, except one major problem. When I run any C or C++ program in the console, using any software like Dev-C++, Code::Blocks or Visual Studio, it ...
2
votes
0answers
351 views

Where is the console ST2/GDB

I'm using sublime text 2. I got GDB to work but I don't see a console window anywhere. I see the GDB console but nothing that outputs text from my C++ program. How do I use GDB and see my the console ...
2
votes
0answers
342 views

LNK1256: ALINK operation failed (80040405) : The key container name 'x' does not exist

Every day I get this error: LNK1256: ALINK operation failed (80040405) : The key container name 'NameOfKeyContainer' does not exist The only solution I have is to delete the key container with: ...
1
vote
0answers
85 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
55 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 ...
1
vote
0answers
207 views

guide to create debian package in netbeans

I've written a C++ application aided by netbeans on ubuntu. In netbeans there is a build feature to build debian package. When I build the package using it I am not getting desired result. The files I ...
1
vote
0answers
141 views

Sublime TextEditor 2 in Vintage mode completion

I have several problem with my autocompletion which I want to fix: I have completion by Space. I want that when I press Space means I don't want completion I want a space symbol now. I want to ...
1
vote
0answers
17 views

VS2010 Dissembly window goes on forever?

When I am looking at the assembler code in VS2010, in the Dissembler window- if I scroll downwards why does the assembler continue? Is this because it is representing the assembler of my mouse ...
1
vote
0answers
633 views

C++ Eclipse in Windows, when the run button is clicked nothing is showing in the console

I am in the middle of the process for installing Eclipse CDT in a Windows environment, and I got everything working, except when I press the "run" button nothing is showing up in the Eclipse console. ...
0
votes
0answers
19 views

My Single-Threaded CPU-Overloading apps use a percent of a thread, graphs shows different results

I made very simple C++ app that contains an empty while(true); loop, I tried with both optimized (-O2) and without optimization, both gave the same result in Task Manager, I even tried same Java and ...
0
votes
0answers
22 views

Is it possible to create a window or an image that only appears visible on the teamviewer client's screen?

Teamviewer comes with a feature to "Black the screen" of the client when being the viewer, or in other words, the client's screen will be shown a black image screen, while the viewer is still able to ...
0
votes
0answers
30 views

Disable all power options from the Start menu

I'm working on an application that resembles a kiosk. After the application starts, it creates a new desktop and using a key combo I can move back and forth between desktops. This newly created ...
0
votes
0answers
222 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
55 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 ...
0
votes
0answers
89 views

How to Specify Max Number of Concurrent Visual Studio C++ cl.exe instances

There are two ways I know of to enable concurrent C++ builds in Visual Studio: Tools > Options "maximum number of parallel project builds" Property Pages "Multi-processor Compilation" Is ...
0
votes
0answers
26 views

Netbeans keeps compiling from the beginning

I have quite a big C++ project in Netbeans. Its taking about 2 minutes for it to successfully compile (-j6 mode). My problem is that, everytime I build my project (not making clean!) it keeps ...
0
votes
0answers
689 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: ...
0
votes
0answers
201 views

Running exe generated with GCC using cygwin without admin rights

So this awesome company that I work for has a picky IT department that doesn't allow developers to have admin rights. What is the best way to go about running a .exe generated from Cygwin GCC without ...
0
votes
0answers
156 views

File timestamps inconsistently update on network drive in Windows 7

This problem has been bugging me for a couple years now, and I have not been able to find a good solution. I develop code in both C++ and VB6. When I compile my C++ code in Visual Studio 2005, the ...
0
votes
0answers
533 views

-std=c++11 not working with Sublime Text 2 on Mac

So, I installed gcc 4.7 with ports. Manually compiling my file with g++ file.cpp -o file It spots an error. By appending the -std=c++11 it works like a charm. Now I edited my C++.sublime-build: { ...
0
votes
0answers
1k views

Installing boost asio on CentOS 5

I tried running: yum install boost boost-devel boost-doc (1/3): boost-1.33.1-15.el5.i386.rpm (2/3): boost-doc-1.33.1-15.el5.i386.rpm (3/3): boost-devel-1.33.1-15.el5.i386.rpm Then it ...
0
votes
0answers
222 views

How do I get a voltage on a PCIe Parallel Port?

I'm trying to use a PCIe Parallel port from C++. (http://www.amazon.com/StarTech-com-Express-Profile-Parallel-PEX1PLP/dp/B004G7O2AC) I can't seem to change the status of any of the registeres and my ...
0
votes
0answers
104 views

Where to find mono libraries to link with my visual studio project?

I'm looking for mono-2.lib but I can't find it. I have installed mono 2.10.8. The lib folder inside installed mono doesn't contain mono-2.lib. Is there any package so I can download static libs of ...
0
votes
0answers
315 views

Eclipse (Juno) Plugin: CDT does not work properly

I installed CDT plugin for Eclipse Juno, but I can't create new C++ projects in eclipse. I tried re-installing it. I also tried executing: eclipse -initialize in the folder containing eclipse.exe ...
0
votes
0answers
221 views

Intel VTune Performance Analyser 9.1 not working on Win 7 64

Got the 32bit and 64 bit versions of the Intel VTune Performance Analyser. I installed the 64bit version (I think the installed was the "EMT" one) and when I go to create a new project, upon clicking ...
0
votes
0answers
889 views

Visual C++ Runtime Error R6034 - firefox.exe

Unfortunately my brother in law is using Windows and everytime he chats with me in Facebook, an error box comes up that says "Visual C++ Runtime Error R6034", and refers to the firefox.exe file. I've ...