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
180 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 ...
2
votes
1answer
664 views

Is there a way to copy the file paths of ALL active windows' opened files? (for saving and restoring your Windows session across a restart)

There is a program I know of called Twinsplay - Professional Edition, which among its other functions, can 'session save' your current open files (i.e. user-opened files - whatever is actively ...
1
vote
1answer
78 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
559 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
550 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
221 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
356 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
155 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
125 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
98 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
124 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
334 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
141 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
564 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
274 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
123 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
308 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
586 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
188 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
315 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
315 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
39 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
204 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
0answers
36 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
188 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
139 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
627 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
35 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
46 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
24 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
452 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
28 views

vim indentation gets screwed up

I work on a lot of C++ files and it seems that after a while my indentation gets screwed up. I have a function like so. I have :set cindent set. Vim is putting the curly brace under the return ...
0
votes
0answers
174 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
134 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
464 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
196 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
94 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
298 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
215 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
884 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 ...