General C++ Programming - May 2012 (Page 5)

CINT Download
 
Any recommended sites to download the CINT compiler? Thanks in advance!
[1 reply] : Er, why not the CINT site? http://root.cern.ch/drupal/content/cint (by Duthomhas)
Need help with a problem
 
So the whole point of this program is to find the next prime number from a billion.I don't get what the problem is here. The code is : #include <iostream...
[4 replies] Last: Oh seriously? I thought it went something like int i when started wil... (by Redfox814)
Parsing Input
 
We are making a text adventure game, albeit a small one. We realized today, that we have an absurd amount of code to examine one thing. For example, we need to ...
[3 replies] Last: I'm sure this is only one of many places in your code where you have t... (by AbstractionAnon)
FFTW with C++
 
Hi, my ultimate goal is to extract all the sound information that is below 15KHz from a mono wave file. The program loads samples into memory and its represente...
[1 reply] : Didn't you make another thread just like this already? http://cplusplu... (by Disch)
FFTW to visual studio?
 
Hi, I want to use FFTW with visual studio 2008. I have used the following precompiled version of FFTW. http://www.fi.muni.cz/~xsvobod2/misc/fftw3/ I'm an...
[6 replies] Last: Again I have another problem. The algorithm takes a fftw_complex, and... (by Disch)
Basic performance testing
 
Hi all, Just wondering what people generally use for small speed tests. I've just been testing the odd thing (whether iterators are faster than overloaded ope...
[1 reply] : You should be familiar with profilers just as you're familiar with deb... (by Cubbi)
by yatici
time dependent loops
 
Hi; I was wondering how I can create loops that work according to the system time. Just as an example I want my code to perform a task at 8:00 AM repeat this ...
[3 replies] Last: In that case, check: http://www.cplusplus.com/reference/clibrary/ctime... (by closed account 3TXyhbRD)
by hrva07
How to copy STL list in copy constructor
 
Hi, I would like to copy list elements in copy constructor of my class. Elements in list are pointers. Of course, it is important to clone list elements, not ...
[2 replies] Last: I didn't remember that.. Thank you.. (by hrva07)
sizeof and class declaration
 
Well, I am slightly confused with the memory allocation during a class declaration. Consider the following program #include<iostream> using namespace st...
[6 replies] Last: @disch - Sorry for the late reply. I was out of town. :) Well, that ex... (by incognito)
tracking by kalman filter
 
I try to make tracking of mobile object in video sequences. I want to implement a simple code in c++, using the OpenCV library, a Kalman filter. who can help ...
[2 replies] Last: thank you (by celinacelina)
by mikecu
SEGMENTATION FRAUD
 
Hi, I have been working on this programme for 3 hours now. And, whenever I try to compile the programme, it says the programme has segmentation fraud. I tried m...
[2 replies] Last: If the text file fails to open, your code has an empty Line variable b... (by Moschops)
OpenGL
 
Hello :) I am getting started with openGL and looked at a few tutorials. When I had to download GLUT, it said the latest version was made in 2001 on this websi...
[4 replies] Last: Yay! Thanks, I'll must try it! (by Muhasaresa)
How do i change my icon? (1,2)
 
I want to change the icon of my Win32 program, but i have no idea how to, im guessing i have to get a rousource file which my program did not start with, how do...
[24 replies] Last: If my memory serves me right: int WINAPI WinMain(HINSTANCE hInstance... (by JLBorges)
by Screed
iPod syntax
 
Does anyone know if there is a text editor app for iPod that has C++ syntax highlighting?
[no replies]
by rucafe
problem with push_back
 
Without going into too much detail about my program, does anybody have an idea of what is causing this. I have loop which is loading values into a vector using...
[2 replies] Last: // ref_secondary is initialized to refer to the last element of stack... (by JLBorges)
What could you make with C++
 
I mean just with standard C++. No pre-made libraries or anything like that. Just standard C++ with the console. What could you actually make that's useful?
[13 replies] Last: http://lmgtfy.com/?q=http%3A%2F%2Fwww.cs.uccs.edu%2F~semwal%2FindexGLT... (by AbstractionAnon)
Help for run the C++ code
 
Hi..everybody! I am new in this forum. Can any one please help me to run the following C++ code? I will be greatfull if any one help me. Thanks //#include<st...
[5 replies] Last: I still see 26 errors using VC++. This includes the error I pointed... (by AbstractionAnon)
help with program
 
how can i get this program to tell me the difference in the date entered to todays date in hours #include <stdio.h> #include <time.h> #include <iostream> usin...
[5 replies] Last: This page shows what ought to be in time.h and shows the members of st... (by kbw)
Help me to write this function by using C++
 
Hello everyone . . How can I write this function by using C++ Function is: sum=1+2^2+3^3+4^4..+n^n . I hope someone is able to help me.
[10 replies] Last: If you know what N^S means, you should be able to write down a functio... (by andywestken)
by sy8119
continue learning C++
 
Hello, I'm sorry my question is kind of very general, but a good answer will be a great help. My major is physics and I have written codes in C++ mainly for ...
[4 replies] Last: C++ is going to be around for a long time. I can't see that sissy-fair... (by closed account zb0S216C)
May 2012 Pages: 1... 34567... 41
  Archived months: [apr2012] [jun2012]

This is an archived page. To post a new message, go to the current page.