General C++ Programming - December 2012 (Page 4)

Creating a Class variable Based on the Constructor?
 
Again, sorry for the bad title, but hopefully it'll be understandable. Basically, I'm creating a cla...
[3 replies] Last: Last thing: Into "Screen" struct/class you must hold BOTH the SDL's Sc... (by EssGeEich)
Computer guess my number
 
I know this has popped in other areas on this site but please bare with me. I just started programmi...
[7 replies] Last: Thanks alot!! Alot of the things you mentioned I have not come across... (by erock 88)
Bank Automatic Teller Machine (ATM)
 
Urgent please.. Project Description:- • This project is a software that runs on an ATM of a ba...
[5 replies] Last: Okay, well, that's a bit limited. What i would really recommend for ... (by Thumper)
by Denver
Its Got Linker Errors!
 
I am just new to c++ prog but i did this as my project with help the problem i am having is a link...
[7 replies] Last: When adding a new function yu have three seperate and very important s... (by martianxx)
DirectShow TIMER
 
Im coding a music player and I want the timer to stop when the music stops. I got a static text wi...
[2 replies] Last: bump? (by terryeverlast)
hi pleas help me with this my cplusplus functions
 
hi people i am very happy to talk here once again, i have a problem i want you to help me with. i h...
[2 replies] Last: I agree with Need4Sleep, your formatting of code makes it really hard ... (by martianxx)
Help my Computer Tic Tac toe is not working.
 
// Computer Tic tac toe, // Include the iostream library #include <iostream> #include <string>...
[2 replies] Last: Thanks again FredFlinstone! (by TananTanTananTanToink)
Strange non-error (What DOES it do?)
 
I have been playing with some code generation and I ran across something that would seem like it sho...
[3 replies] Last: http://yosefk.com/c++fqa/ctors.html#fqa-10.2 (by Catfish3)
Uint32 Flags?
 
Sorry I couldn't think of a better title, but hopefully you'll understand. I've worked with the SDL ...
[4 replies] Last: Yeah, I told you in case you wanted to do your enumeration. Almost eve... (by EssGeEich)
Shortening the code
 
I have 9 pushbuttons with the same onclick event: void MainWindow::on_pushButton_8_clicked() { ...
[7 replies] Last: Conecting each object seperatedly, I don't think that would help eithe... (by zoran404)
by rdate
Help needed for file operations with string and ints!
 
I have outfile generated in txt format. as follows.. 1 2-22 4 ATTTCTTATGGCATTTGTTC . . . . . ... ...
[no replies]
by Dyana
display and insert an element into an array
 
I have a problem with my c++ program. I have to insert and delete an element from an array. The two ...
[1 reply] : There are many problems with this code. First of all, the global varia... (by KRAkatau)
function arguments and returning, how to set my code out!
 
Hi all! I have a struct that i want to return from a function, but i think it is a bit inefficien...
[6 replies] Last: int loadFont ( char* fileName, font *f ) { //Blah blah load struct ... (by kev82)
by werlay
searching problem (help needed asap) (1,2,3,4,5)
 
i need to search through a .dat file for the positions of a string but my code only reads the first ...
[80 replies] Last: @JLB thanks alot i got it (by werlay)
Why overloading operator= return reference?
 
class Test { public: int a; Test() : a(0) {} Test(int x) : a(x) {} Test& operator=(co...
[2 replies] Last: Thanks a lot, vlad from moscow , you helped me a lot!!!!!... (by ylxin1993)
by dumb0t
c++ allow gets but not sets
 
i was wondering if i theres a way to make a bunch of variables and only the class functions can chan...
[4 replies] Last: i havent tested it yet though but im sure the nValue and fValue will w... (by dumb0t)
Templated iterator functions
 
I've been trying to make a range-based function for a statistics library, but I'm having trouble mak...
[4 replies] Last: I wanted to do mean, median, mode, standard deviation, min, max, vari... (by Cubbi)
HELP!!!arrays and sorting
 
You are to create an application which stores information about people, along with a ‘task list’...
[3 replies] Last: anyway first things first for me. How should I be storing this informa... (by faieq92)
Matrices using templates
 
I have to make a program in which I have to make matrices using class and templates in which user ...
[1 reply] : You shouldn't have to use pointers for anything in this task. What ki... (by Cubbi)
Segment faul when calling a method
 
Hi, I'm new to this forum and i have a problem in C++. The code is not very long but i feel that th...
[3 replies] Last: Thank you, really. I've removed the castings and made the sizes unsign... (by matitou)
December 2012 Pages: 123456... 43
  Archived months: [nov2012] [jan2013]

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