General C++ Programming - June 2012 (Page 15)

100% of my cpu :(
 
ok i know this is may seem malicous but its just some fun with my it teacher but any ways heres the ...
[6 replies] Last: Nope .. as said by kbw .. you show open the file out side while loop ... (by bluecoder)
adding numbers in permutations...
 
I am given a 2D array of ints need to find the maximum number generated when adding only one number ...
[4 replies] Last: This is one way (recursion) to generate all possible combinations. The... (by JLBorges)
Process returned -1073741819 (0xC0000005)
 
What does this error mean? I wrote a program with recursion, and the number of recursions before I g...
[17 replies] Last: I think that at that very number (113383) the program crashes becouse ... (by viliml)
Scoring
 
Guys, I need help on how to make my program add score whenever I guess the correct word. It should a...
[9 replies] Last: YEAH! You solved it!!! Thank you very much for the patience :D Thank y... (by markgreen)
STL vector<MyClass> problem
 
Hello! I am working on a basic game in SDL/OpenGL its a tilebased tower-defence game. I was go...
[4 replies] Last: > I will take a look at your reply tomorrow im too tired now. Yes. T... (by JLBorges)
by hbNp
Making Algorithms Using Random Numbers
 
Hello! I'm new to C++, and I'm trying to create a program that will use an algorithm which adds t...
[2 replies] Last: Sweet. Thank you! I managed to figure out extra errors that I had hidd... (by hbNp)
by sanyam
Socket protocols for http
 
Hi. I'm trying to send a html form(that uses http POST method) data without clicking the submit butt...
[3 replies] Last: Well, as you no doubt know, HTTP is a text-based protocol. So you "jus... (by andywestken)
How to display textures in glut tutorial (2d or 3d)
 
Hello, I'm looking for a good tutorial on how to make a texture and attach it to an object WITHOUT u...
[no replies]
by Rayvan
Dynamic Array,HeapSort need help please..
 
Could someone please help me with a heap sort that would work with an dynamic array,i have the dynam...
[5 replies] Last: Surely it's just a matter of implementing the algorithm, there's a des... (by kbw)
c++ vector swizzling cont'd
 
Hi, I got a little stuck while implementing vector swizzling. I tried to templatize the vector cl...
[6 replies] Last: hmmm ok, this is going to be tedious, but at least it will work :) (by Yours3lf)
Drawing a line to a handle process
 
I want to draw a line in a solitaire process, or any process in general, but it doesnt work. I've ma...
[2 replies] Last: thanks it works! i've just changed to GetDC(app). (by psynchronized)
Constucting a vector in a class - need help
 
If anyone has the solution for how to accomplish this, that would be awesome. What I want to do with...
[14 replies] Last: Because he wants to use polymorphism. If you std::vector< Base > v; ... (by ne555)
by tw3tye
Passing struct intro function
 
Hello. Title says it all, i got problem Passing struct intro function to change its values. (this is...
[4 replies] Last: Love the humor, i was prototyping. That's why it looks like pile of ju... (by tw3tye)
by soranz
Rotating an array of strings issue...
 
Hello ! I'm trying to do a rotation of strings but I'm having trouble with the last element. Everyth...
[5 replies] Last: Fixed it ! for(int i=0; i<=6; i++) was a typo sorry (program would ... (by soranz)
by dthkai
Class Templates... With Classes?
 
Hi everybody! You know... recently I started a research on Templates, and I found this, but I don...
[4 replies] Last: cVector3df& operator+ (const cVector3df& rhs) Warning: returning re... (by ne555)
by Canvas
SFML st::texture out of scope :(
 
Hey guys, im trying to get a image to display using SFML with C++, here is the code gState just d...
[1 reply] : I dont think its a scope issue, the texture is a class member so as lo... (by naraku9333)
Curious SDL question - What should it return
 
Hey everyone, haven't posted in a while! Just a curious question... I've been working with SDL (m...
[3 replies] Last: hmm yes, i saw how to do it as a GUI application, but how would i do d... (by SuperStinger)
which method would you recomend
 
(thread moved from beginners to general) Hi, im relatively new to c++, doing great so far, and p...
[4 replies] Last: cheers iseeplusplus! checking it out now! (by hushpromo69)
Segmentation Fault. Please Help
 
My program prints out segmentation fault. It sounds like my pointer tries to access invalid address....
[5 replies] Last: Why don't YOU take a look at that link, and maybe you will see that so... (by viliml)
Need help with type conversion
 
Here is the original code: // Get the time wchar_t timeString ; GetTimeF...
[3 replies] Last: yea, I didn't notice kbw's post untill now, so actualy you can make it... (by viliml)
June 2012 Pages: 1... 1314151617... 33
  Archived months: [may2012] [jul2012]

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