[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 ...
1
vote
1answer
30 views
Compile C/C++ on Chrome OS
with the release of the newest Chromebook and Chromebox (where the latter is an interesting choice for a family PC for people who don't need apps like photoshop etc.), I wanted to check out a ...
-1
votes
0answers
31 views
Analyzing given code by GCC [closed]
I would like to analyze a given code via GCC e.g. generating a usage graph which shows how the given code's source and header files include each other!
Does GCC provide such services currently?
...
1
vote
1answer
53 views
Linking WXWidgets in C++ on Mac OSX 10.7 objects not working
For a cross-platform project, we are using wxwidgets to create a cross-platform GUI in c++. WxWidgets was installed on Mac OSX 10.7 using macports. We have no problems with compiling our source-code ...
-2
votes
1answer
139 views
Best desktop environment for programming? [closed]
Currently, I am trying to learn C++. I plan on installing Linux on one of my extra laptops, just for some fun and experimentation. Now, I have seen quite a few posts on the internet asking which ...
0
votes
1answer
18 views
How do I find the version of Sun Studio 11 installed on my Solaris 10 server?
When I do :
pkginfo | grep SPROapplication SPROatd,
it only shows me Sun Studio 12. But, the installer( a Rogue wave library installer) I am using detects Sun Studio 11 as well on the server. But, ...
0
votes
0answers
22 views
Network Change event registration failed in MAC OS X 10.7 (Lion) [closed]
I tried to register network_change event in MAC OS X 10.7 (lion) by the following code:
#define kNotifySCNetworkChange "com.apple.system.config.network_change"
void init()
{
status = ...
0
votes
1answer
36 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
0answers
39 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
1answer
64 views
Deterministic navigation of c++ class tags in VIM. ctags doesn't work well
Currently, to navigate a.run() tag, I put the cursor on run and press g], which opens a window with enumerated list of tags for all files that have run(). I have to manually find an option that ...
2
votes
0answers
123 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 ...
0
votes
0answers
43 views
Accessing target file on remote system with chains of symbolic links in Vista
I am creating a chain of symbolic links (up to max, which is 64 chains) on a remote target file on vista. While connecting a new symlink to this chain, i am verifying whether i am able to open target ...
0
votes
0answers
285 views
ctags in sublime text\
i've just download sublime text 2 beta 2182 under ubuntu 10.10 with Exuberant Ctags 5.8
i want to use it for c++ coding and i need some auto completition and code navigation. (i was used to eclipse ...
2
votes
2answers
106 views
compiler for c++ (thought it was g++?)
After installing the 'Developer Tools' from the mac os installation DVD, I can now execute 'gcc /path/to/input/' and create an executable shell script from .c code..
I though the C++ compiler to ...
1
vote
0answers
46 views
Free Drive letter issue in windows
Say i have network mapped a UNC path in Z:.
And after this i am creating a new volume in diskmanagement but the drive letter Z:\ is shown there in drop down box as free drive letter.
[When i try to ...
1
vote
1answer
224 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 ...
2
votes
2answers
315 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
95 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 ...
5
votes
6answers
141 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
326 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
87 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
181 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
138 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
149 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
97 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
186 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
226 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?
-2
votes
3answers
206 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
452 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
54 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
137 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
895 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
199 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
168 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 ...
1
vote
0answers
283 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
59 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
941 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
118 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
43 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!
3
votes
1answer
226 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
3k 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
254 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
986 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
288 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
1k 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
118 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
250 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
3k 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
52 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
141 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
505 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 ...