Search:
Type: Posts; User: Amleto
Search:
Search took 0.03 seconds; generated 49 minute(s) ago.
-
December 11th, 2012, 03:07 PM
hint: you don't have to do everything on one line!
-
December 11th, 2012, 03:04 PM
Just this time? Well.... no.
-
December 8th, 2012, 08:22 PM
no... visual studio doesn't work too well on linux.
-
December 8th, 2012, 04:03 PM
I was looking at some open source project that I thought was interesting and wanted to compile the code for myself. Unfortunately my visual studio 2010 isn't c++11 compliant enough so I installed...
-
March 17th, 2012, 06:47 PM
Could be anything. Could be that your code doesnt do what you say. Could be that you wrote '1' instead of '2' somewhere....
-
February 12th, 2012, 10:56 AM
bool graph::cmp_val (edge& a, edge& B)
why pass by reference? Should be value or const ref.
-
February 12th, 2012, 10:01 AM
-
January 16th, 2012, 03:15 PM
Do you want to add a new object in the middle of the container?
If yes, you could consider deque std::deque or std::list. Otherwise I would suggest std::vector. For 1. you would could do a...
-
December 27th, 2011, 07:59 AM
void Board::setPiece(int sourceRow, int sourceCol, int destRow, int destCol) {
//implement this
} //end of setPiece
I guess you need to implement it.
-
December 25th, 2011, 05:40 PM
do you know how to get user input? If not look at <iostream> header and examples with std::cin, std::cout.
You'll need a third party lib for the regex match, unless you have c++ 0x compiler (in...
-
December 23rd, 2011, 06:31 AM
-
December 19th, 2011, 08:51 AM
acclerated c++ does not appear to be available in ebook
-
December 19th, 2011, 08:44 AM
what other possible causes have you considered, and why have you rejected them? e.g. threading issue.
I'm sure googling will throw up plenty of information. You may need to read up on 'placement...
-
December 18th, 2011, 09:30 AM
why is qt awful? I think it's pretty good!
If you want to code in c++ (why else are you posting in this forum), then I think doing the gui in .net is more trouble than it's worth.
-
December 17th, 2011, 07:10 AM
you said you have assumed all roads are connected. Simply, you have to remove that assumption and follow through the consequences.
In general, showing only a snippet is not very helpful,...
-
December 16th, 2011, 01:25 PM
struct - holds your data
struct manipulator - provides getter/setters. could take a reference to a struct in ctor, or possibly accept a pointer in some kind of init method.
manager - defines...
-
December 16th, 2011, 12:27 PM
dont post same thread in multiple places, please
http://www.codeguru.com/forum/showthread.php?t=519351
-
December 16th, 2011, 12:25 PM
I see you have asked this in several places and seem to ignore the general advice - your problem is your bad design - it is bad because your gui(s) are highly coupled to your data.
Break the...
-
October 20th, 2011, 05:17 PM
well, you have all the numbers, and you spelt out all of the maths, so just code it up.
-
September 18th, 2011, 03:53 PM
not quite sure I understand where you are stuck. Do you have a method/function that takes time as an argument?
-
September 17th, 2011, 10:50 AM
so much code. so few code tags :(
-
September 17th, 2011, 10:48 AM
-
September 17th, 2011, 10:45 AM
??
int main(int argc, char *argv[])
int main(int argc, char** argv)
are for handling command line arguments. You know there's a difference between command line args and user input?
-
September 7th, 2011, 12:12 PM
:confused:
nobody said otherwise.
-
September 6th, 2011, 01:46 PM
I said, in effect, which is true. You have one possible accessor, and one possible update method.
That doesn't work if the timers are meant to be used independently. Since the op wanted...
|
Click Here to Expand Forum to Full Width
|