473,411 Members | 1,918 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,411 software developers and data experts.

Compiler io problem!

I'm using the Borland 5.5 Standard Edition compiler and recently started having
an io problem. When I Run my applications, after compiling and linking, there
is no output to the output window! it's as though the output is being
redirected elsewhere. I've tried removing and re-installing Borland 5.5 several
times but the problem persists. I've been using this Borland package for well
over a year with no problems and feel safe to rule out the Borland package as
the problem. Perhaps some setting on my system has changed, I'm using windows
98.

I contacted Borland about the problem and am still awaiting a reply. In the
meantime I'm hoping some of you Pros out there might have some ideas to help me
resolve the problem.

JB
Jul 19 '05 #1
4 1768
jbruno4000 wrote:
I'm using the Borland 5.5 Standard Edition compiler and recently started having
an io problem. When I Run my applications, after compiling and linking, there
is no output to the output window! it's as though the output is being
redirected elsewhere. I've tried removing and re-installing Borland 5.5 several
times but the problem persists. I've been using this Borland package for well
over a year with no problems and feel safe to rule out the Borland package as
the problem. Perhaps some setting on my system has changed, I'm using windows
98.

I contacted Borland about the problem and am still awaiting a reply. In the
meantime I'm hoping some of you Pros out there might have some ideas to help me
resolve the problem.

JB


The easy way for us to help you resolve your issue is for you to post
the smallest compilable program that demonstrates the issue.
Tell us the expected behavior and the actual behavior.

The problem is that I/O is quite vague. Are you using the correct
functions for outputting to a window? Are you writing to the correct
window? Is this a console window? Are you mixing "C" style streams
with C++ streams? Did your program execute the code to output to
the window? Was there any data to be output? Did the output function
return any error?

Many of the above questions could be resolved by posting, not
attaching, code. Just paste into the post, don't retype.

Reread your post and see if there is enough information in it for
you to figure out what is going on.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book

Jul 19 '05 #2
to test the compiler I entered some simple code. i.e.

#include <iostream>

using namespace std;

int main()
{
cout << "Hello everybody!";

return 0;
}

Before the problem began this program would execute correctly by displaying the
message "Hello everybody" to the output screen.
Jul 19 '05 #3
jbruno4000 wrote:

cout << "Hello everybody!";


It might not matter, but change that to:

cout << "Hello everybody!" << endl;

(You might need to #include <ostream> for that to compile)

Neither C nor C++ makes any promises about what happens when text output
isn't terminated by a newline. endl puts in a newline and will also
flush the output, which sometimes makes a difference.

--

Pete Becker
Dinkumware, Ltd. (http://www.dinkumware.com)
Jul 19 '05 #4

From your response I can tell I'm not comminicating the problem effectively.
This is probably not the best place to address this sort of problem, too many
unknowns. I think I'm just going to have to restore my system as much as I
dread it!

Thanks anyway!
Jul 19 '05 #5

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

Similar topics

6
by: paul calvert | last post by:
I hope somewhere here has encountered and solved a similar problem in the past. 1) on a new Win2000 PC: installed Visual C++ 6.0 download & install single file Service Pack 5.0 2) try to...
8
by: jon morgan | last post by:
OK, I'm going to be brave. There is a bug in VS.Net 1.1 that causes random compiler errors. I have raised this issue in posts at least three time in the past couple of months without attracting...
102
by: Skybuck Flying | last post by:
Sometime ago on the comp.lang.c, I saw a teacher's post asking why C compilers produce so many error messages as soon as a closing bracket is missing. The response was simply because the compiler...
16
by: pj | last post by:
(Was originally, probably wrongly, posted to the vc subgroup.) (This doesn't appear to be a c# problem, but a problem with a bug in the Visual Studio c# compiler, but, any help will be welcome...)...
0
by: rollasoc | last post by:
Hi, I seem to be getting a compiler error Internal Compiler Error (0xc0000005 at address 535DB439): likely culprit is 'BIND'. An internal error has occurred in the compiler. To work around...
3
by: Mark Rockman | last post by:
------ Build started: Project: USDAver2, Configuration: Debug .NET ------ Preparing resources... Updating references... Performing main compilation... error CS0583: Internal Compiler Error...
4
by: David Sworder | last post by:
Consider the following line of code (it's not important what it does): resp.DocItem=Relations.SelectDocItems_BySearchString(req.SearchPhrase); It turns out that this line is in error. The...
6
by: David Lack | last post by:
Hi, I recently installed a 60-day trial of .NET 2003 on my development system. I made tests with previous personal projects (which compiled ok with VC6) and some open source files, and keep...
19
by: David W | last post by:
float nanometers(long pm) { return pm / 1000.0f; } void f() { if(nanometers(309311L) == nanometers(309311L)) { // do something }
41
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.