General C++ Programming - October 2012 (Page 50)

Help with array
 
I would like to understand what is going on in this array within the for loop: #include <iostream> ...
[2 replies] Last: I would prefer for(int i=1;i< size ;i++) When a constant is defined... (by Chervil)
Operator + member function crashes about 1/8th of the time... implemented in terms of working member functions?
 
I have a STRING class I have created that does more or less what you would expect a class called "ST...
[14 replies] Last: I received the grade from my project today, I scored 98%! Thank you al... (by mothergoose729)
Read in/write out to/from Micrsoft excel 2010
 
I need to know what to include, as well as the operable commands I can use, to have my c++ program r...
[18 replies] Last: If your topic is still urgent and the amount of data you have can be a... (by oxod)
SDL Program not responding(is handling events) (1,2)
 
I'm doing this SDL program, and I wrote a lot of it on windows, where it worked fine. Then I had to ...
[22 replies] Last: It worked. Keeping the threads down to a minimum solved it. (by TheBreadCat)
by krat
When i start after building the program won't run
 
Any program I attempt to run without debugging, will run, the window pops up, and then closes itself...
[3 replies] Last: http://cplusplus.com/forum/beginner/1988/ Programs that use cout , ... (by Mathhead200)
having some trouble with online class problem
 
I have a problem for my online class and cant get help from my instructor. Im completely lost on whe...
[1 reply] : I just have no clue where to start i can open the file and write to f... (by clanmjc)
Efficient if nesting.
 
Hello, My current project uses a MAX Heap to keep a number of things organized. It's a simple Binar...
[6 replies] Last: The way I drew my decision table made it seem like nesting. Thanks for... (by Gaminic)
alphabetical order
 
// Includes #include "stdafx.h" #include <iostream> #include <conio.h> #include <string.h> #...
[3 replies] Last: That's because the closing bracket ) was added to the link, i edited m... (by AleaIactaEst)
Random Looping
 
I am trying to find a random number in between two variables that the user inputs max and min.I need...
[1 reply] : (high - low + 1) = double you cannot apply mod [%] operator on non ... (by SIK)
switch within switch HELP :(
 
Hi i have a problem when i am using switch within switch can u help me please?? :) so heres my code ...
[4 replies] Last: and then?? what should i do next? (by angelo levantino)
pragma data_seg
 
Ive seen this for the first time in some dll: #pragma data_seg (".HookSection") // Shared i...
[1 reply] : Look at this: http://msdn.microsoft.com/en-us/library/thfhx4st%28v=vs... (by coder777)
by JJ123
passing arguments
 
hello, So i have a program A that is sending a string to a another program B and uses that string a...
[5 replies] Last: I don't program IPC code very often. If you are using Linux, here is ... (by doug4)
function problem in structure
 
the programme is nOt compiling ..........the main problem is with functions!!!! have a Look......he...
[4 replies] Last: @bilmilk Please read the post carefully before replying otherwise peop... (by Raman009)
swapping the values of a vector , so that it has unique values.
 
Hello , I have a vector which stores positions . CRectangle *_final_positions;// CR...
[1 reply] : Hi, there is an stl function called random_shuffle which does what you... (by ljs)
Complex No: Input from user
 
I am writing a programme for my circuit class that can find determinent of complex no. 3x3 matrix. f...
[7 replies] Last: @Raman00: thanks.. works. (by asad393)
by krow
How can I improve my code?
 
Hello, The following program compiles and it does just what I need. What I'd like to know is if t...
[6 replies] Last: Guys, thank you for your comments, they're all useful. I was sure some... (by krow)
plz some 1 help me i stuck in this code
 
//heder file??test.h #ifndef TEST_H #define TEST_H #include "stdafx.h" class test { public: char a ,...
[6 replies] Last: void test::revarray() { for(i=len-1;i>=0;i--) { b[len - i%len - 1]... (by raghvendra26)
Having trouble with Constructor
 
Hi All, I can't seem to understand why I am getting this error for the embedded code: Error 2 err...
[1 reply] : You have written the name of the constructor function the wrong way. I... (by AleaIactaEst)
Sorting a Vector of Class Object
 
I am trying to do a selection sort with a vector passed as a reference and compare different vector ...
[2 replies] Last: Add the following to your Order class. This will allow line 93 to wor... (by Stewbond)
October 2012 Pages: 1... 484950
  Archived months: [sep2012] [nov2012]

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