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

learn more… | top users | synonyms

0
votes
0answers
33 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 ...
-1
votes
0answers
33 views

Visual Studio 2013 - How can I prevent a console app from opening an external Command Prompt for output?

Is there a way to have Visual Studio display the output of a console application within itself, instead of having to open up an external command line window and outputting there? In essence, I don't ...
0
votes
2answers
35 views

Number of lines in a video file

Okay guys copying and pasting video file with hex editor or with notepad++ hex editor plugin works totally fine.Now,i want to find the number of lines in a video file- first)I opened the video file ...
0
votes
2answers
21 views

Run same executable multiple times in parallel

I have an executable (e.g. test.exe) that is compiled c++/cli that can support multi threads. How can I run that same executable multiple times in parallel? The easiest way is to open several cmd ...
0
votes
1answer
47 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
2answers
27 views

How to choose which project is built on F5 in Visual Studio?

I have a solution file for IntraFace, which contains two projects, namely IntraFaceTracker and IntraFaceDetector (see the image). By default, IntraFaceTracker is selected, you can see its name is ...
0
votes
0answers
14 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 ...
-1
votes
1answer
33 views

c++ redistributable error

I'm trying to install Itunes on a Windows 7 64 bit I've seen similar questions on the web, most from 2010, I need new solutions, I saw many solutions, I need a definitive one, I can't try this and ...
0
votes
0answers
36 views

Visual studio source code recovery? [closed]

I am fucked, after an unexpected reboot, file index for Windows have corrupted, and after chkdsk, now I found one important source file (C++ text) has been corrupted, instead of contain source codes, ...
0
votes
3answers
140 views

How do I escape spaces in command line in Windows?

I have a similar problem like this How do I escape spaces in command line in Windows without using quotation marks? But it seems I can't use the carets C:\>C:\Program^ Files^ (x86)\Adobe\Reader^ ...
0
votes
0answers
30 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?
-1
votes
1answer
61 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 ...
0
votes
0answers
53 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 ...
-1
votes
1answer
67 views

Fastest Database Software [closed]

I would like to make my own search engine. I would like to know the best way to go about this. I just have some questions ... Should I use Facebook's HipHop PHP to C++ compiler for speed? What would ...
0
votes
3answers
73 views

Do I need both x64 and x86 versions of the C++ redist

If I have both the x64 and the x86 version of a Microsoft C++ Redist package, can I uninstall the x86 version? If I did uninstall the x86 version, would the x64 version cover the dependencies on the ...
0
votes
0answers
21 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 ...
1
vote
1answer
24 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... ...
2
votes
1answer
41 views

How can I measure speedups on my application when performance varies on my machine?

I work on a monolithic program running on Linux that's very memory intensive. We're having trouble tweaking the speed of this program on most of our large memory machines because the performance is ...
0
votes
2answers
3k views

Visual Studio 2013 MSVCR110d.dll is Missing

I'm not really sure if this belongs on SuperUser or StackOverflow, but it doesn't seem to be a coding problem so I'm gonna run with this. I've started working on a C++ game using Visual Studio 2013 ...
-4
votes
1answer
50 views

Someone is hooking me? [closed]

I have some ticket on customer site I'm dealing with. My application uses 3rd party app (written in Python & c++) which I don't have the code - and in my code is always failing on one server, and ...
0
votes
2answers
48 views

How to install libraries without sudo?

I want to run a lengthy computation on a cluster computer. The cluster computer has a Linux OS and a compiler but no GUI, just a command line. The problem is that I cannot use the sudo command to ...
1
vote
0answers
38 views

How to control a Wi-fi voice transmission? (gstreamer) [duplicate]

I am trying to build a telephony transmission through Wi-Fi What i am trying to do is, connect a programmable Wi-Fi Headset( it does not really exist,it is actually a Linux computer) with a cellphone ...
0
votes
0answers
179 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
62 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
2answers
260 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 ...
-3
votes
4answers
81 views

Suggestion for C++ compiler [closed]

I am looking for a free C++ compiler compatible with Windows 8. Please add link of the web page from where it can be downloaded. DEV C++ is giving much trouble. Turbo C++ is available for DOS ...
0
votes
1answer
375 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 ...
-2
votes
2answers
84 views

Remove Memory From a Program

Say you have program.exe that is taking up 100kb of your memory. Are you able to reduce it to 0kb so it theoretically can't run? Taskmgr.exe may say that it is running, but if it's reduced to 0kb, ...
2
votes
0answers
166 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 ...
0
votes
1answer
71 views

wake computer up when IP is pinged

i want to wake my computer using WoL or a "VTL"(Virtual Tripline). but, because i am on a router with other devices, i cannot use WoL. Then I looked for a Virtual Tripline on google - no results that ...
2
votes
1answer
102 views

How to install gzopen library on CentOS 6.4?

I'm compiling a program using gzopen library. How can I install this library in CentOS 6.4? I have tried to install it with yum but package not found! No package gzopen available!
0
votes
0answers
34 views

how do you hook into a live stream of 802.15.4 packets? [closed]

Using a packet sniffer I am able to detect and successfully read a "hello word" payload within an 802.15.4 frame. It's great can see the frames in the sniffer, but now I'm at the point where I ...
0
votes
0answers
72 views

C++ Standard Libraries do no exist Qt open-source [closed]

I am cross compiling code using the Qt-everywhere-opensource-src-4.7.3 kit to be used on an ARM device. In Qt I have changed the PATH to include /home/user/gumstix/gumstix-oe/tmp/cross/bin/ and I have ...
0
votes
0answers
88 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
94 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
3answers
408 views

In linux, how to find whether CMOS battery is working or not?

I want to programatically determine whether CMOS battery is working or not. In my C++ program on linux I want to connect to internet and update system time if CMOS battery is not present or not ...
0
votes
0answers
112 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
382 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 ...
-1
votes
1answer
182 views

Building LuaPlus with VS2012 [closed]

I've been trying to build luaplus with vs2012 but jamplus report missing files in projects. Vs2012 report same errors when i'm building from the ide. I've checked ...
3
votes
1answer
1k views

Error while installing boost_1_54

On trying to install boost I get this error during configuration checks. Googling did not give any pointers. [root@heracles boost_1_54_0]# ./b2 install Performing configuration checks - 32-bit ...
1
vote
2answers
177 views

Building Fish 2.0 shell under Cygwin

I wanted to have a fish shell under my cygwin instance and I wanted it so bad that I've event tried to build it but with no luck. I've gone through all the prerequisites like installing autoconf, ...
0
votes
0answers
49 views

Programming for Linux and RTLinux

I developed a caching server in c++ using boost and curl under Linux, and I want to run it in a device running RT-Linux (real time Linux), and I don't have much information about the device or the ...
1
vote
3answers
190 views

How can I know how much memory a program has used under Linux?

Get process memory consumption this question is about getting the memory usage of running program. I need to know how much RAM a program has used after it has finished. Say I am compiling a C++ ...
0
votes
1answer
209 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
0answers
180 views

Additional compiler options for Sublime Text 2 project

I've been using Sublime Text 2 for some C++ Projects. The project management features are however, somewhat limited. It is possible to create a new build system for a specific project, but I was ...
0
votes
1answer
706 views

Install CodeLite on CentOS

I have CentOS 6.4 I want to install CodeLite. Their website http://codelite.org/LiteEditor/Download#toc5 says that you need to compile it (as they don't have a package for CentOS). I did git clone ...
0
votes
0answers
718 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
106 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
62 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
1answer
40 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 ...