User profile: goldenchicken

User info
User name:goldenchicken
Name:Michiel Vande Ginste
Number of posts:138
Latest posts:

A* Search G Score calculation.
I am trying to implement the A* search algorithm, and I have the follwing function to calculate the ...

decltype question
Second part of the answer: Since your func2() returns a reference, you have to initialize f2. All re...

decltype question
You can't return a reference to a number, because that would allow you to do: [code] getRefToNumber(...

Your class could look like this: [code] class FileAnalyzer { private: std::fstream file; public:...

cout and cin
You can't, because std::cin and std::cout are already objects. Creating an object from type std::cin...