General C++ Programming - August 2013 (Page 2)

Sharing data between 2 files
 
Hello all, I'd like some design advice. The problem is I have a function which sets some variables a...
[2 replies] Last: My takeaway from this is that maybe you need structure x that's define... (by ciphermagi)
insertion sort problem
 
the problem here is at " insertionSort in_sort ; " error:no matching function for call to "inserti...
[8 replies] Last: You should watch the video here http://en.wikipedia.org/wiki/Insertion... (by andywestken)
how to address files having spaces in their names
 
i wonder how does any os address file having spaces in their names. Even cmd.exe in windows can't ac...
[4 replies] Last: dir "* *" and in Linux, it uses "\ " to escape a blank (by Hzj jie)
Layout Design Matrix Calculator
 
Hi guys, I want to ask on how to put a layout design in the program when it is being ran. It should ...
[2 replies] Last: for such a design you need GUI (wxwidgets, qt, etc) but not the consol... (by coder777)
by h4ever
How to start with C++
 
Where can I download C++ and some simple tutorial how to make first program compiled? What I need to...
[1 reply] : http://www.cplusplus.com/search.do?q=How+to+start+with+C%2B%2B (by tath)
Threading Advice (1,2)
 
From this post: http://www.cplusplus.com/forum/lounge/109303/#msg595161 I'd like to create the s...
[28 replies] Last: thread is simple as where the code is running, every program has at le... (by Hzj jie)
how to change the ordinary picture with only red channel in c++ programming?
 
URGENT with using SDL_Maprgb and SDL_GetRgb. I am new to programming. can someone help me to solve...
[8 replies] Last: SDL_Surface *Redchannel (SDL_Surface *surface) { SDL_Surface *temp = ... (by innyong)
I/O stream
 
Suppose I have a text document with lines as such: 1 4 3 2 3 6 1 7 2 4 3 3 Using I/O str...
[3 replies] Last: Open the file. If opened succesfully then loop through the values wit... (by vin)
I need help with arrays in c++
 
I need to create a program that will find the total of all the elements in array. I need to use for ...
[16 replies] Last: thank you guys. your help is appreciated. (by Hummer1)
verifying loop in a linked list
 
I was trying to implement Floyd's cycle finding algorithm to find loops in linked list. I implemente...
[5 replies] Last: I did try to make it clear that my code (which was just basically a cl... (by ciphermagi)
Displaying Function from Reference
 
Having a little trouble getting my function to display the results. I got my getNumber function work...
[13 replies] Last: Solved!! Thank You very much LB (by seansabour)
Applying Data Types. Computer Programming
 
Alright so I'm in a computer programming class and I was given the following problem: Write a pro...
[5 replies] Last: What The ferror Not supposed to just post an answer to questions that... (by ciphermagi)
by Ceset
what my loop stops working?? (1,2)
 
when i hold and dragged the window for some purpose my loop stops. here is an example output: 40 ...
[25 replies] Last: thx. that was pretty explanatory(srry if i m using the wrong word, en... (by Ceset)
Changes in epsilon & binary cubic roots
 
Hi again, I'm wondering if the epsilon variable is machine dependent, and what changes it (architec...
[no replies]
How do I ignore the case of something that I am inputting?
 
I have tried tolower() and toupper(), but these don't seem to work on the string I am using. I am ...
[3 replies] Last: Or you could use google and get a more correct solution: http://stacko... (by LB)
how can we add two matrices in the example given below?
 
class Matrix1 { Protected: int ** data; int...
[2 replies] Last: See: Matrix addition http://en.wikipedia.org/wiki/Matrix_addition An... (by andywestken)
closed
 
closed
[1 reply] : http://www.youtube.com/watch?v=ywWBy6J5gz8 (by Smac89)
how can we make resize function for Matrix2 Class in c++ ?
 
class Matrix1 { Protected: int ** data; int row,col;...
[1 reply] : Derived class has access to protected members of its base class. So yo... (by vlad from moscow)
by AMOLED
Displaying Pyramid
 
Guys I am having trouble coding this one :( Any help please? Input You are to ask the user to inp...
[12 replies] Last: well so funny same question over and over hah :D :D these deitel dudes (by Ceset)
by Ceset
pixel format flags??
 
well i made a reserach but couldnt find anything here is the link http://wiki.libsdl.org/SDL_Conver...
[no replies]
August 2013 Pages: 1234... 27
  Archived months: [jul2013] [sep2013]

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