Tagged Questions

[Above excerpt quoted from Wikipedia.] New to C++? Welcome! Whether you are new to programming or are coming to C++ from another programming language, it is highly recommended to have a good book from which to learn the language. If you are looking for a good compiler, g++ is the most commonly ...

learn more… | top users | synonyms

0
votes
1answer
15 views

cv.h not found in fedora 15 install of opencv and highgui

I'm writing object tracking software in C++ and using OpenCV and highgui. The problem I have right now is that even after sudo yum install opencv and using the yumex frontend to ensure that all of the ...
1
vote
2answers
37 views

audacity - convert multiple .aup's to .mp3's

I have a bunch of about 130 .aup files (all recordings of vinyls) that I would like to convert to mp3. Each .aup is an entire side of the vinyl (I don't want to split the tracks - the whole side as ...
0
votes
6answers
41 views

g++ compiler : unable to compile

This is the first time that I'm using the g++ compiler to compile my c++ programs. I have installed cygwin g++. and I'm trying to run a very simple program to display "hello", to see wether it would ...
0
votes
1answer
132 views

Which multi-threaded PaaS offering for Java/Scala or C++ [closed]

I would like to know how you actually "run an application in the cloud" (if you allow me this expression). I took a look at Eucalyptus and OpenStack and still haven't understood this. They seems to me ...
-4
votes
1answer
37 views

Where to get C++11 standard documents? [closed]

As the question above says, Where can I get an electronic copy(e.x PDF version) of the official C++11 standard or any books that explain the new standard's features? Thanks.
5
votes
6answers
84 views

notification upon program completion

I'm going to run prog.cpp on my university's Linux cluster (compiled with gcc). I project that the program will take 3-6 days to complete. I was thinking of running it as ./prog & to run it in ...
1
vote
1answer
246 views

libstdc++ library not loaded on Mac OS X Lion (10.7.2)

I recently updated my Mac, running Mac OS X Lion (10.7.2) with some EFI Firmware Updates. Since then, certain applications (Pages, Keynote, and Google Chrome for me) don't load. The error Apple is ...
0
votes
0answers
46 views

Does Netbeans support hints, auto include, etc.. for C++ like it does for Java?

I'm using Netbeans 7.0.1 and last night i installed cygwin so i could see how netbeans behaves for c++ programming. I noticed it lacked many equivalent features it had for java. For example with the ...
1
vote
1answer
109 views

How do I use “cin” and “cout” in C++ with TextMate?

I am new to both C++ and TextMate, and I'm running into a problem. When I run my extremely basic "programs" in TextMate using C++, it completely ignores the statement "cout >>" and just either ignores ...
0
votes
1answer
63 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
91 views

Make Tor use Unique IP for each instance open

How can I get Tor to use a unique IP for each instance of Tor open in C++, Python or Perl? Is there a command to force it to use a unique IP that I can just call using subprocess? *cheers
1
vote
1answer
70 views

How do you add RefocusIt to Gimp?

I'm trying to compile Gimp with a special plugin called Refocus-It. I know that I need to compile something. Can somebody please explain what needs to be done? I would like to accomplish this using ...
0
votes
2answers
125 views

Why is C++ faster than JAVA, and why has the “gap” been closing over the years? [closed]

Basically, I was wondering why C++ is considered a "faster" language than Java is, and how come they say that this is not as true as it used to be anymore... Also, I don't understand the whole ...
0
votes
2answers
70 views

How to access RamDisk Drive from non Admin user account on Windows XP

I am successfully able to create/access a Ram disk drive of 20MB using the RAMDISK sample in WinDDK using my admin account. However when i login as non-admin user on the same machine i get an access ...
1
vote
2answers
113 views

Microsoft Visual C++ 2010, 2008, 2005: removeable?

I have about one million different Microsoft Visual C++ Runtimes installed... 2005, 2008, 2010. Can I remove some of them, or will I have issues?
0
votes
0answers
49 views

What is more reliable: using separate Eclipse packages or all the components in a single installation [closed]

My primary purpose is to develop web apps, so I use Eclipse for that, but I also would like to use it for my student projects which are most oftenly in C++ or Java. Should I just install 3 editions in ...
-1
votes
3answers
147 views

How to find missing brace in .cpp / search within comments?

File has one fewer } than {, however all seem matched. Therefore, it is probably in a comment. How do I search within a comment or otherwise find the missing brace?
1
vote
2answers
187 views

Ubuntu/C++ : Make directory in /usr/local/bin/

I usually use mkdir function to make directory (e.g mkdir("/home/dhw/test", S_IREAD|S_IWRITE) ) But I can't make directory in /usr/local/bin. I guess it is problem with authority. I already know I ...
1
vote
1answer
39 views

Getting CDT as an Eclipse plugin

I've always used Eclipse for Java development. However recently, I've wanted to add other language functionality to my favorite IDE. I got it to work with python and no I need C/C++. A search on the ...
0
votes
1answer
82 views

Vbs Message Box Alternative [C++]

I'm trying to output a oftstream with a text on it that can run as a Message box But I would like to know if there is an alternative to do this witouht .vbs. If it can be done with .exe or another ...
1
vote
4answers
477 views

Why doesn't my executable execute when I click on it?

Why does it seems like I can't open A executable file created on C++ by double clicking it. I have a file that I ran from an IDE an I would like to know if there is a Way to set that file to Open the ...
2
votes
1answer
154 views

What's the most easy-to-install Neural Network C++ library with command-line for Linux?

I'm a fan of the "test first" approach to programming. My C++ program needs a neural net. I've been trying FANN (http://leenissen.dk/fann/wp/) but it's been a struggle, as it requires a language ...
0
votes
2answers
108 views

How to install Sally on Mac? How to install libconfig package on Mac OSX

I want to install Sally http://www.mlsec.org/sally/ on MacOSX when I run ./configure, I get stuck at: No package 'libconfig' found even after installing libconfig through macports. Can anyone ...
0
votes
0answers
151 views

Runtime errors when coding OpenCV programs using codeBlocks in linux

When I try to compile a C++ program which uses the openCV library in CodeBlocks it gives me a runtime error : error while loading shared libraries: libopencv_calib3d.so.2.2: cannot open shared ...
1
vote
0answers
249 views

C++ eclipse in windows, when run button is clicked nothing is showing in console

I am in middle of process for installing Eclipse CDT in Windows environment and I got everything working, except when I press the "run" button nothing is showing up on eclipse console. I have ...
2
votes
1answer
56 views

Visual Studios build C++ in background?

Is there a way to have visual studios build my C++ project in the background every few seconds? Note: I generate code using another tool so if i don't need to be in visual studios to kick off the ...
2
votes
4answers
490 views

How to test if gcc is installed?

How can I find out if I have gcc installed on my machine? I am trying to run CodeRunner, but it isn't responding. I know you have to have gcc installed in order for it to work properly. I do have ...
1
vote
1answer
93 views

Can setrlimit be used to put limitations on firefox?

I noticed that firefox sometimes uses a lot of memory. Can something like setrlimit be used to control it? I tried to use it on the command line, but it didn't work.
0
votes
1answer
35 views

What does mcs stand for in VTUNE?

I am using Vtune (9.1) and noticed that it says things like "Self Time 103,425 mcs" - but what does mcs stand for? If I search in the help system I get no results!
0
votes
0answers
57 views

is there any converter which can convert code written in wireshark to c/c++ or matlab? [closed]

please help me and guide me if u know about any converter which can convert wireshark into c/c++ or matlab... Waiting for kind response... regards.. kazmi
1
vote
0answers
233 views

3ds export to .obj and .tga

I'm trying to export my .max file to a .obj and .mtl and .tga to load in C++ via the glm library. I am able to generate the .obj and the .mtl however the generated .tga's are not the correct ones. It ...
3
votes
1answer
163 views

emacs — C/C++ jump to beginning of containing block

While editing C or C++ files in emacs, I'd like to be able to go to the beginning of the containing block of code. I was expecting to find a c-beginning-of-block function, but alas, no such function ...
3
votes
2answers
2k views

How can I let TextMate show line numbers when I'm coding C++?

How can I let TextMate show line numbers when I'm coding C++?
1
vote
1answer
217 views

Why a 200 MB text file overloads 4gB ram

I wrote a simple program in c++ that does some calculations, outputs a number to a textfile, and repeats. Several million times. The final text file was around 215 megabytes, yet when I opened it, ...
9
votes
5answers
593 views

How to cause a BSOD on Windows XP and newer versions?

Is there a way to programmatically cause a BSOD on Windows XP and newer versions? How? BTW just to clarify, this is not for malicious purposes. The client requested to be able to shut down/reboot a ...
1
vote
1answer
192 views

Add GCC into Netbeans

I want to make programs in Netbeans (C++ language), but Netbeans doesn't detect C++ libraries and compiler. How can I add GCC into Netbeans?
1
vote
2answers
977 views

Problem using c++ library

i'm trying to use an executable file (written in c) that calls a c++ library. I'm getting this error in my Windows 2008 box: Faulting application name: sample.exe, version: 0.0.0.0, time stamp: ...
2
votes
1answer
101 views

C++ 64bit page faults

I have a C++ server application running on Windows Server 2003 64 bit. Machine has 16 cores and 16 GB of ram. Once the app gets to about 2GB memory usage its Page Fault delta shoots up to ~200,000 and ...
0
votes
2answers
153 views

Installing C++ on Mac

What is the best way to install C++ on Mac? I was looking at this: http://bloodshed-dev-c.en.softonic.com/download
5
votes
2answers
2k views

Which versions of C++ redistributables can I remove?

I have a number of Microsoft Visual C++ 2005 and 2008 Redistributable and I would like to know which ones are safe to remove, because there are actually more than 10 installed on my computers. ...
0
votes
1answer
44 views

How can I locate the header + object file of cksum in Mac OS X

I'm trying to locate the header + object file of cksum in Mac OS X, but with no lack. Any suggestions?
0
votes
2answers
118 views

Some questions on threads and processes

I was asked these questions in interview (C++ interview). I'm not confident of the answers and would like to know more. Can thread create another thread ? Can process create another process ? Can ...
0
votes
0answers
370 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 ...
0
votes
4answers
481 views

How do I execute a script or program on Windows Shut Down

I want to run a exe or bat file when window shut down? I want to unmount few drives , which are mounted by my application , when user shutdown the system. For that I need to execute another exe on ...
2
votes
2answers
250 views

Running a computer in kiosk mode for a custom Linux C++ program

I want to create a C++ application that is to run on some Linux platform on a specific laptop computer. I do however not want the users of this laptop to use any other applications/system features ...
0
votes
1answer
132 views

G++ Compile and Run Without Output

This is just a convenience thing. Is there a way to use C++ sort of like an interpreted language, only in the sense that you could compile and run it without outputting a binary file. This is of ...
0
votes
1answer
89 views

Error while installing geany

I have recently downloaded geany 0.19.1. Installation Guide. Autotools based build system The Autotools based build system is very mature and has been well tested. To use it, you just need the Make ...
5
votes
9answers
498 views

How can I recover source overwritten by a bad compile command?

I had written a source code of C++ and complied it with the same name using the following command line. For example: c++ source-code.cpp -o source-code.cpp Now my source code has been replaced by ...
1
vote
2answers
424 views

Java, C# or C++ Qt? [closed]

This semester, we have to choose between Java, C# or C++ Qt as a new programming language to learn. I already had C++ last semester, so I'm quite familiar with it. What do you people recommend? I know ...
0
votes
1answer
213 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 2