473,385 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Watcom printf to stdout, I got it (was: I don't get it :-(

Sorry, I wanted to post a followup to my own question, but
google was "Unable to retrieve message
00********************************@4ax.com" ...

I found a solution for printf directly, without fflush or setvbuf or
other workarounds/addons.

It was my fault, because I was using some of the samples\*..\makefile
which had system nt_win inside, instead of nt (or 386) only. So in
fact I created a win-compilation to use from a DOS-box or mksnt shell
environment commandline/character-based.

I just wanted to add that in case that there's someone out there as
new to that stuff as I'm and facing the same kind of trouble.

bine
Nov 14 '05 #1
2 1571
bine wrote:
Sorry, I wanted to post a followup to my own question, but
google was "Unable to retrieve message
00********************************@4ax.com" ...

I found a solution for printf directly, without fflush or setvbuf or
other workarounds/addons.

It was my fault, because I was using some of the samples\*..\makefile
which had system nt_win inside, instead of nt (or 386) only. So in
fact I created a win-compilation to use from a DOS-box or mksnt shell
environment commandline/character-based.

I just wanted to add that in case that there's someone out there as
new to that stuff as I'm and facing the same kind of trouble.

bine


:)

Regards,
Jonathan.

--
Email: "jonathan [period] burd [commercial-at] gmail [period] com" sans-WSP

"We must do something. This is something. Therefore, we must do this."
- Keith Thompson
Nov 14 '05 #2
Jonathan Burd <jb***@nospam.com> wrote in message news:<36*************@individual.net>...
bine wrote:
Sorry, I wanted to post a followup to my own question, but
google was "Unable to retrieve message
00********************************@4ax.com" ...

I found a solution for printf directly, without fflush or setvbuf or .... bine


:)

Regards,
Jonathan.


are you smiling abouot google or me?
did I miss something in your posting?
just curious,
bine-won't-bother-comp.lang.c-too-often-I-swear
Nov 14 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Mantorok Redgormor | last post by:
Would this by any chance invoke undefined behavior? extern int printf(const char *, ...); int main(void) { printf("Hello\n"); return 0; } That is, providing my own printf prototype would...
17
by: G Patel | last post by:
E. Robert Tisdale wrote: > > int main(int argc, char* argv) { > quad_t m = {0, 1, 2, 3}; > int r; > fprintf(stdout, "m = ("); > for (size_t...
1
by: bine | last post by:
Sorry, I found a lot of old stuff, even kind of flamewars about good+bad style whatsoever.. I simply want any hint that works! I try to migrate older stuff from NT and newer stuff from...
4
by: I_have_nothing | last post by:
Hi! Is there any easy way to printf an integer in a way like 1,234,567? I know "%d" can be usd to print it as 1234567. Any type field in format specification can do that? Or any easy way to do...
8
by: jchludzinski | last post by:
Is there a format specification for printf that will result in: 1000000 being printed as 1,000,000? Or 1000000.0 as 1,000,000.0? ---John
8
by: pemo | last post by:
I've just been trying out the Watcom compiler from http://www.openwatcom.org, and almost immediately compiled some working source that errored. The code is char buffer; ...
14
by: Turner, GS \(Geoff\) | last post by:
Out of curiosity, why do programmers insist that the following piece of code printf("%d", 10); is wrong and should be printf("%d\n", 10); It's application specific, isn't it? GST
4
by: user | last post by:
Hi, I am extending python with C and trying to debug with printf. The code below succssfully returns the string "hello" when compiled and called, but the "can print from in here phrase" does...
10
by: Rahul | last post by:
Hi Everyone, I had a query reg printf(). I heard that it can't be used in ISR's as it is non-re-enterant. I didn't get as to why printf is non-re-enterant and why non-re-enterant library can't...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.