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

by maliks
printing character patterns
help me i need a program using for loop the output should be a b c d e d c b a a b c d d c b a a ...
[3 replies] Last: the code should like pant i mean first print a b c d e a b c d a b c a... (by maliks)
by Prog24
Rewriting my program using a class?
Would anybody be able to explain to me how I could rewrite a program that I already have written but...
[1 reply] : could you post your code? and not neccesarily every program can be imp... (by Aramil of Elixia)
Looking for help in exception handling
CS127 Programming 2 In Class Exercise #3 Title: Cashier 1.2 Maximum Mark: 200 points Description...
[no replies]
Image Manipulator
How to load an image using C++ in visual studio 2010 ?? need help please .. thnx in advance
[1 reply] : I just started practicing how to do this. I used a DIB 24bit. Essenti... (by pogrady)
[DirectX]An Invalid parameter was passed to the returning function?
Hi, Am trying to follow http://www.braynzars...x.php?p=D3D11BD This tutorial but I keep getting An...
[no replies]
problems with argc, *argv[]
Here's my code: const unsigned short NB_TOTAL_ELEMENTS = 81; int main(int argc, char *argv ) { ...
[6 replies] Last: it's working thanks a lot! (by AeonFlux1212)
Operator []
Hey guys, i can't figure out how i do the overloading of the operator this is my code and what i t...
[no replies]
New C++ Program Free to Test (1,2)
This program took 3 months to develop and is now ready to be tested by other users. The purpose of ...
[25 replies] Last: and dont worry, i didnt get it either. i spent hours on the most trivi... (by Aramil of Elixia)
Unknown problem with vector pushback with class variables
Dear all, I'm writing a simple 2d sprite game in my spare time. I'm fairly experienced in C++ and...
[10 replies] Last: I added debug code within the loop to print out "Area_Enemy = " and "E... (by Jutebox5)
Urgent need help please :(
So I lost alot of important information and it needs to be handed in the end of the week can someone...
[8 replies] Last: ok my problem is with the cases some of the lines wont let me give any... (by Joshutsu)
set of functions
Consider this code: int main() { typedef std::function<void()> tvFun; std::set<tvFun> sFun; f...
[8 replies] Last: [quote=morando] return o.target_type() == f.target_type() If you're ... (by Cubbi)
by bbeth
Roman Numeral with Parallel Array
I am working on a program taking numbers and turning them into roman numerals both capital and lower...
[2 replies] Last: pogrady-- I want to thank you for the information given! It has helped... (by bbeth)
binary file creation
i have a problem with the program creating a file #include <iostream> #include <fstream> #includ...
[1 reply] : (by Zaita)
by LB
operator=(type &&)
When does it get used? Some googling gives me the move constructor, not this "move operator".
[3 replies] Last: It gets the same (well, similar) special treatment: http://en.cpprefe... (by Cubbi)
toupper compare array to string
I need to compare user input to an array and find the index. I want to use toupper bot having some t...
[5 replies] Last: The problem with that approach is that it has to modify both strings, ... (by andywestken)
Array problem
[no replies]
by doon
pointer error (1,2)
bool FindElement(int array ,int *ptr,int size); bool FindElement (int array ,int *ptr,int size) {...
[28 replies] Last: oh thanku (by doon)
How did you learn C++?
Please only people who know how to program well in c++ answer. Ive been looking for good sources to ...
[3 replies] Last: I recommend using C++ primer and Accelerated C++ together if your look... (by closed account 3qX21hU5)
Pointers to functions with unknown arguments?
Hi. I was wondering if it is possible to create a generic function pointer that can pass any given ...
[3 replies] Last: Whoa, that's a good one. Although I probably don't fully understand th... (by Ramses12)
How to pass a type as a parameter to a function?
For example: void AddService(Type type); And when I call the function send a type: AddSe...
[no replies]
November 2012 Pages: 1... 34567... 51
  Archived months: [oct2012] [dec2012]

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