delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/09/27/17:28:51

From: wrh AT placer1 DOT wimsey DOT com (William Hughes)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Troubles with manipulators...
Reply-To: wrh AT placer1 DOT wimsey DOT com
Date: Tue, 27 Sep 94 08:16:27 PDT

I would like to add a few questions to Chris' problem...

I seem to have grief using manipulators as well (in 1.11m5) in that
they behave oddly.  Everything links okay, but the output of strings
is not set to the right width, or the numerical precision of output
is not truncated...?

Also, when I mix stdio with streams, all of the stream output seems
to happen first, then the stdio, even when they are adjactent in the
same loop.  Is this normal?

ie:

for (...)
{
  cout << "\nSure, check it out...";
  printf("%s","\nThis is the other thing...";
}

I would end up with a bunch of Sure, check it out... lines, followed
by all of the This is the other thing... lines.  Am I doing a no-no?

William


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019