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

learn more… | top users | synonyms

0
votes
2answers
424 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
968 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. ...
2
votes
1answer
161 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
483 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
46 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
373 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
316 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
4k views

Installing Cygwin C and C++ compilers for NetBeans IDE 7.2

I am very new to Cygwin, C, C++ and NetBeans IDE 7.2. My PC is running MICROSOFT WINDOWS 7 OS. I have read the documentation on how to install the Cygwin C C++ compilers. ...
1
vote
1answer
204 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
289 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
18 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
83 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
661 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
257 views

What is a SIG_0 when looking at an strace

Attaching strace to a process that is using a lot of cpu, shows that the pid is 'killed' over and over. The process is using 130% cpu. What is a tgkill( SIG_0) ? strace -p 3876 nanosleep({0, ...
0
votes
1answer
53 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
267 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
182 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
111 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
268 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
469 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
91 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
185 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
203 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
98 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
558 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
7 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
0answers
79 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
15 views

Eclipse search results have no labels

I'm running Eclipse "Version: Indigo Release Build id: 20110615-0604" Up until recently using "search" in my workspace worked fine. However, now when I do it the search tab has been stripped of all ...
0
votes
0answers
50 views

Does cin work in XCode 5?

I'm just trying to get a simple input via command-line with cin, but there's no where to type the input. Is this possible in XCode 5?
0
votes
0answers
66 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
30 views

Building php module on linux - lpsolve55

I'm trying to install a php model called lpsolve. I installed it on OS, now trying to make a use of it for php. I installed them as explained here: http://jeyroz.tumblr.com/post/605709794/lpsolve-php ...
0
votes
0answers
269 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
81 views

Is it possible to create a C/C++ file using XCode file templates?

I'm writing some C++ code without XCode and compiling it manually via terminal and g++. I'd love to use the so convenient XCode template files to create my classes right from the terminal, so I don't ...
0
votes
0answers
109 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 ...
0
votes
0answers
103 views

C++ running inefficiently in Bash

I have a query regarding bash. I have been running some of my own C++ programs in conjunction with commercial programs and controlling their interaction (via input and output files) through Bash ...
0
votes
0answers
136 views

how to TLS encrypt socket connection

In a simple server-client C++ socket program how do I TLS encrypt the connection? Where can i find good tutorials? I couldn't get a good guide through google. Actually I want my client talk to https ...
0
votes
0answers
420 views

How to install downloaded version of GCC?(4.8.1, Windows)

I want to make sure before I download anything unnecessary or do something stupid. Currently I'm using Code::Blocks IDE (nightly build, svn 8982), and my compiler is GCC 4.4.1. However, I would like ...
0
votes
0answers
833 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
119 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
69 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
195 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
181 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
172 views

Empty non-empty file

Yesterday I was working on one file, it worked great! Today, I tried to open this same file, but it is now empty. Even when I try to open it with Notepad, the file is completely empty. If I look at ...
0
votes
0answers
806 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 ...