Search:
Type: Posts; User: greve
Search:
Search took 0.03 seconds.
-
April 1st, 2015, 09:59 AM
... during execution of a program? Background: A thermodynamical simulation which yields unexpected results after less than 1min in release mode. If I start that program in debug-mode it takes more...
-
April 22nd, 2014, 09:37 AM
Besides the initialization-error in your code (see #4) there is also a major design-mistake: If you use nested vectors, you'll loose most of the efficiency a vector provides. You may have a look to...
-
April 22nd, 2014, 05:16 AM
As far as I understood your code you forgot to set the size of the DEPTH-dimension properly:
Instead of:
int main() {
vector<vector<vector<double> > > array3D;
// Set up sizes. (HEIGHT x...
-
April 15th, 2014, 05:40 AM
Is g_navMesh defined inside (1) or outside (2) of any function within the file?
(1) No chance
(2) As it is defined static the scope of g_navMesh is limited from the definition to the end of that...
-
January 26th, 2014, 02:56 PM
Currently your for-loop only iterates over the statement cout << "Judge Please select a number between 0-9:" << Judge << endl; I guess you would like to control everything beyond the for by that...
-
January 20th, 2014, 09:57 AM
See this post: http://www.qtcentre.org/threads/39144-How-to-add-a-lib-to-a-qt-project
By the way: Your question might be handled faster by a forum handling especially qt-stuff, like:...
-
January 13th, 2014, 03:54 AM
The problem you are trying to solve is quite universal. You might find a solution in almost every textbook on c++, e.g.: TC++PL, 4th edition Section 32.5.2., p.937
-
January 10th, 2014, 12:29 AM
The accu runs a database with reviews of IT-related books: http://accu.org/index.php?module=bookreviews&func=search. Scanning for c++ results in far more than 200 reviews.
-
January 10th, 2014, 12:21 AM
#include <iostream>
#include <cstdlib>
using namespace std;
struct name
{
int first;
int second;
};
-
January 9th, 2014, 10:04 AM
... and not with a brace followed by a semicolon like in class-definitions - does anyone know the reason for that?
-
November 14th, 2013, 06:08 AM
Hi,
where do clrscr() and gotoxy() come from (the .h-files you included don't contain declarations of them)?
Cheers,
Thomas
BTW: Your code would be easier to comprehend if you would use a...
-
July 26th, 2012, 05:03 AM
What about making Y a friend of X?
struct X
{
struct Y
{
/*
...
-
The quote in N,N'-dimethylethylenediamine.mol needs to be set as escape sequence as N,N\'-dimethylethylenediamine.mol
Regards,
Thomas
-
setprecision() may help. Consider to include <iomanip>.
-
You may use bitwise filtering plus bitshift to isolate the requested information, probably like:
struct TClimate
{
int m_Temperature;
int m_Humidity;
int m_LevelOfRain;
...
-
September 30th, 2011, 10:57 AM
I'm using a graphics library within an application. Functions of the library were accessed from a different than the application's primary thread. There were crashes which could be traced back to the...
-
September 23rd, 2011, 09:22 AM
The CFileFind-class (of MFC) might be aqppropriate.
-
September 14th, 2011, 02:22 AM
You should bare in mind that
CLASS& CLASS::operator=(const CLASS& rOther)
will be generated for CLASS by the compiler if you don't. The default way functionality is memberwise copy, so you have...
-
September 12th, 2011, 09:27 AM
I'm used to scan through a container in a fashion like this:
vector<int> Data;
...
for (
vector<int>::iterator Val= Data.begin();
Val != Data.end();
++Val
)
-
August 17th, 2011, 09:33 AM
@vcdebugger: As said in the previous post:
-
August 17th, 2011, 07:19 AM
After having done more detailed debugging I've to commit that the posted problem was described correctly in terms of the phenomenon (cursor not set correctly) but my first attempt to solve it was...
-
August 15th, 2011, 09:50 AM
I want to set the cursor into an edit-ctrl preferably to a specific position. As far as I understood I have to set the focus to this ctrl and then doing a selection in that box. As SetFocus() is said...
-
August 4th, 2010, 08:13 AM
@Paul: Sorry for being not more precise. I hoped that generating a console-project would be self-explanatory. What I did:
- Selected File/New
- Selected the project-tab in the New-dialog and...
-
August 4th, 2010, 12:38 AM
I tried to install VC6 on Win7 and got a warning that there are known incompatibilities. The installation nevertheless succeeded - there were no further warnings. It was also possible to start VC...
-
June 10th, 2010, 11:37 PM
I 've now got the same problem as nafnaf 8 years ago. Probably today there's somebody who has an explanation for this? Many thanks for any hints in advance.
Thomas
|
Click Here to Expand Forum to Full Width
|