You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After replacing std::cout with hpx::cout, and using
#include <hpx/include/iostreams.hpp>
no output is shown on the screen. For example, the line
hpx::cout << "Done.\n";
produces no output.
Am I doing something wrong? Do I need to add "<< hpx::flush" to the cout line? (Shouldn't there be an implied flush?)
Why does the include file path have "include" in it? Am I using the right include path?
Is there documentation somewhere that describes all HPX functions, and which include files one needs for them? I'm having a hard time finding out include paths and namespace prefixes (such as e.g. hpx::threads::thread_id_type, where hpx::thread_id_type doesn't work).
The text was updated successfully, but these errors were encountered:
Am I doing something wrong? Do I need to add "<< hpx::flush" to the cout line? (Shouldn't there be an implied flush?)
Yes, you need to use hpx::flush in order to send the buffers to the console. There should be an implicit flush at program termination. I added this as a feature request to #190.
Why does the include file path have "include" in it? Am I using the right include path?
There is no particular reason, it is a convention we adopted from other libraries we wrote in the past where foo/include holds forwarding headers to the actual library headers.
After replacing std::cout with hpx::cout, and using
no output is shown on the screen. For example, the line
produces no output.
Am I doing something wrong? Do I need to add "<< hpx::flush" to the cout line? (Shouldn't there be an implied flush?)
Why does the include file path have "include" in it? Am I using the right include path?
Is there documentation somewhere that describes all HPX functions, and which include files one needs for them? I'm having a hard time finding out include paths and namespace prefixes (such as e.g.
hpx::threads::thread_id_type
, wherehpx::thread_id_type
doesn't work).The text was updated successfully, but these errors were encountered: