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\*..\mak efile
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 2 1585
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\*..\mak efile 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
Jonathan Burd <jb***@nospam.c om> wrote in message news:<36******* ******@individu al.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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 invoke undefined
behavior in anyway? Assuming the implementation is c89 of course.
|
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 j = 0; j < 4; ++j)
Why did you declare j as type size_t ?
|
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 Linux/AIX to
run on Windows2003 as well. I use the
Open Watcom C32 Optimizing Compiler Version 1.3
Portions Copyright (c) 1984-2002 Sybase, Inc. All Rights Reserved.
|
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 that?
How about to do that same thing in float type?
such as make 987564321.85 into 987,564,321.85 ?
|
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
| |
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;
...
|
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
|
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 not reach python stdout.
Is there something screwy with my environment or is there some trick to
this that I don't know. Any help would be greatly appreciated!
|
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 be
used in an ISR?
Thanks in advance ! ! !
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |