GithubHelp home page GithubHelp logo

No output for std::cout about apportable HOT 8 CLOSED

donaldking avatar donaldking commented on June 11, 2024
No output for std::cout

from apportable.

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024

Original comment by [email protected] on 1 Aug 2013 at 7:53

  • Changed state: Priority-P2

from apportable.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024

Original comment by [email protected] on 1 Aug 2013 at 7:54

  • Added labels: Priority-P2
  • Removed labels: Priority-Medium

from apportable.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024

Original comment by [email protected] on 1 Aug 2013 at 7:54

  • Changed state: New

from apportable.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024

Original comment by [email protected] on 1 Aug 2013 at 8:14

  • Changed state: Accepted

from apportable.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024

Original comment by [email protected] on 1 Nov 2013 at 8:36

  • Added labels: Milestone-TargetCurrentSDKRelease, SDK

from apportable.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024

Original comment by [email protected] on 1 Nov 2013 at 11:05

  • Changed state: Verify

from apportable.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
The problem is that your code

    std::cout << "APPORTABLE C++ LOG TEST";

wasn't flushing the stream. When flushed, it works:

    std::cout << "APPORTABLE C++ LOG TEST";
    std::cout << " - use endl to flush" << std::endl;
    std::cout << "or flush manually" << std::flush;

    std::cout << std::unitbuf;
    std::cout << "or use unitbuf to";
    std::cout << "enable";
    std::cout << "automatic";
    std::cout << "flushing";

produces:

I/TEST12-C++iostream( 9895): APPORTABLE C++ LOG TEST - use endl to flush
I/TEST12-C++iostream( 9895): or flush manually
I/TEST12-C++iostream( 9895): or use unitbuf to
I/TEST12-C++iostream( 9895): enable
I/TEST12-C++iostream( 9895): automatic
I/TEST12-C++iostream( 9895): flushing

However, I did find (and fixed) somewhat related issue #193.

Original comment by [email protected] on 4 Nov 2013 at 9:03

  • Changed state: Fixed

from apportable.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024

Original comment by [email protected] on 11 Nov 2013 at 9:26

  • Added labels: Milestone-release_1.0.29
  • Removed labels: Milestone-TargetCurrentSDKRelease

from apportable.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.