General C++ Programming - September 2012 (Page 12)

How to pause the screen
 
Hi.I am doing C++ in dev-Cpp, and my screen doesn't pause, so I cannot see the result of my code.Her...
[15 replies] Last: Thanks all, esp. ne555 that solved the problem.'tail recursion' or sim... (by hooshdar3)
Error that shouldnt be showing up
 
// Includes #include "stdafx.h" #include <iostream> #include <conio.h> using namespace std; // M...
[2 replies] Last: Try to include header <string> . (by vlad from moscow)
Queue using doubly linked list
 
I actually didn't finish my program, but I am not able to remove an element or display all the eleme...
[18 replies] Last: Thanks. (by Keshav2050)
C++ problem
 
Linda is starting a new cosmetic and clothing business and would like to make a net profit of approx...
[5 replies] Last: double is fine (it has 16 significant digits), only need to use float ... (by TheIdeasMan)
inhertience
 
can anybody tell how to make min priority que from a max priority que by inheriting it in a class .....
[2 replies] Last: yaa i am using stl priority queue then how to do... can anybody give ... (by iit2011101)
modifying char** in a function (pass by pointer?)
 
Hi: This is for native C++, a Win32 Console Application; I'm working in Visual Studio 2010. I'm ...
[4 replies] Last: Hi Cire: You're absolutely right. I stepped through the debugger and ... (by nll2010)
How can I access a series of object from an object? - resolved
 
I've made a really simple example situation below (code not finished, need your help for that) to sh...
[4 replies] Last: ne555, thats not quite what i was looking for but after more searchin... (by carebearboy)
by Malica
For loop (1,2)
 
I typed the following coding on turbo c++ compiler #include<iostream.h> #include<conio.h> void ma...
[20 replies] Last: Oh, well, if it's in Java it must be good. (by Moschops)
c++ default constructor
 
I have a class like this example: Class Customer { public: string name; } it has a defau...
[4 replies] Last: The size of the data member name is equal to sizeof( std::string ). ... (by vlad from moscow)
For loop help
 
// Includes #include "stdafx.h" #include <iostream> #include <math.h> #include <stdio.h> #inclu...
[2 replies] Last: Alright thank you for the help, i shall use a while loop. (by Reaper1)
Jedi Scanner v.1.0
 
Hey c++ forums, I have made an scanner called Jedi Scanner v.1.0 . Features: _________________...
[11 replies] Last: host_name = (char*) malloc(sizeof(char*)*128); host_name[strlen(host_... (by closed account 1yR4jE8b)
Concepts needed to write games
 
Hello, I am a C++ newcomer who has also studied java. So far, I understand reasonably well concep...
[2 replies] Last: The ability to think about the problem in a logical, coherent way such... (by Moschops)
by vw4x4
please explain
 
strings are stored in memory as array of characters with a null charactera te the end.in this statem...
[3 replies] Last: Each string literal is stored in memory and whether two equal string l... (by vlad from moscow)
by alend
Delete pointer to pointer
 
Can I delete int **pRows = new int*[*nrow]; pointer with delete pRows or I must use delete pRo...
[5 replies] Last: Thanks, (by wdiLi)
C++ project
 
Hello to all i a making a c++ project... i have some trouble because i have low knowledge about c++....
[1 reply] : use streams: http://www.cplusplus.com/reference/iostream/ifstream/ (by coder777)
optiontips.in
 
class CPop { CBSVector<CTour> pop; CBSVector<double> probability; int popsize; double TotalFit...
[1 reply] : You need the #include for all those classes (CBSVector, CTour, etc) A... (by coder777)
by jquant
Weird output that's not expected
 
Afternoon gang, I tried creating a sample program for learning purposes and failed. I'm trying to h...
[8 replies] Last: Thanks so much for the code writing, that's exactly what I wanted. Th... (by jquant)
LPSAFEARRAY
 
Hey guys! I have a particular function void retrieveFTA (int yr, LPSAFEARRAY * ppsa); But "L...
[2 replies] Last: I did a search for the header " OaIdl.h" in all the files and that did... (by tenpoundbear)
How safely override function
 
Hi all I wanted to ask if anyone knows how I can safely override function. Here is what i am try...
[3 replies] Last: It is enough to have subscript operator for one index. Only you should... (by vlad from moscow)
o
 
-
[1 reply] : // Get the input for the first starting number and check if its positi... (by vlad from moscow)
September 2012 Pages: 1... 1011121314... 32
  Archived months: [aug2012] [oct2012]

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