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

Compilier problem

I got few C programs related to image processing in a CD, when i
bought a text book called "C language Algorithms for Digital Signal
Processing". In a readme.txt file they said that they have tested
those programs by compling the code using Borland's TURBO C version
2.0, Microsoft C versions 4.0 and 5.1 and they may not work with few
other compiliers. I tried compiling them with gcc and Microsoft Visual
C++ Version 5.0, I am getting lot of errors. I tried to correct each
program seperately, but there are like 25 to 30program (few are .C
files & few are .H files) all the programs are connected to each
other(in every program they called the other program and that program
calls some other) So that is like i have to correct all of the 25 to
30 program to make a single program to work. I want to know if there
is any way that i can make programs to work with Microsoft Visual C++
Version5.0 by changing any options in that software.

Thanks
Tene

Mar 22 '07 #1
5 1191
sk******@tenesix.com wrote:
I got few C programs related to image processing in a CD, when i
bought a text book called "C language Algorithms for Digital Signal
Processing". In a readme.txt file they said that they have tested
those programs by compling the code using Borland's TURBO C version
2.0, Microsoft C versions 4.0 and 5.1 and they may not work with few
other compiliers. I tried compiling them with gcc and Microsoft Visual
C++ Version 5.0, I am getting lot of errors. I tried to correct each
program seperately, but there are like 25 to 30program (few are .C
files & few are .H files) all the programs are connected to each
other(in every program they called the other program and that program
calls some other) So that is like i have to correct all of the 25 to
30 program to make a single program to work. I want to know if there
is any way that i can make programs to work with Microsoft Visual C++
Version5.0 by changing any options in that software.
Post (the shortest!) example file, there might be a common problem that
someone here would recognise.

Those are very old compilers.

--
Ian Collins.
Mar 22 '07 #2
Ian Collins said:
Those are very old compilers.
Nevertheless, they are post-1989 and offer ANSI C conformance.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
Mar 22 '07 #3
sk******@tenesix.com wrote:
I got few C programs related to image processing in a CD, when i
bought a text book called "C language Algorithms for Digital Signal
Processing". In a readme.txt file they said that they have tested
those programs by compling the code using Borland's TURBO C version
2.0, Microsoft C versions 4.0 and 5.1 and they may not work with few
other compiliers.
Hmmm, that means that they are referring to ten year old compilers. Some
things changed in between, in particular compilers did get more standard
conformant, a new standard was released and typical OSs changed.
I tried compiling them with gcc and Microsoft Visual C++ Version 5.0,
I am getting lot of errors. I tried to correct each program seperately,
but there are like 25 to 30program (few are .C files & few are .H files)
all the programs are connected to each other(in every program they
called the other program and that program calls some other) So that is
like i have to correct all of the 25 to 30 program to make a single
program to work.
Yes, that could be.
I want to know if there is any way that i can make programs to work
with Microsoft Visual C++ Version5.0 by changing any options in that
software.
VC5 is also ten years old, even the following version, despite its
popularity, isn't supported by the vendor anymore.

BTW: I'm not sure how good your general C knowledge is, but if you want to
learn it, check out the reviews section at ACCU's website for recommended
C beginners' books.

Uli

Mar 22 '07 #4
Ian Collins wrote:
>sk******@tenesix.com wrote:
>I got few C programs related to image processing in a CD,
...
using Borland's TURBO C version 2.0, Microsoft C versions 4.0
and 5.1
... with gcc and Microsoft Visual C++ Version 5.0, I am getting
lot of errors.
>Post (the shortest!) example file, there might be a common problem that
someone here would recognise.
I would expect most errors to be related to the
use of non-standard DOS I/O extensions. That
should be relatively simple to fix.

Are you getting any errors or warnings related to
missing header files? Check those first, a missing
header file can generate torrents of errors in
following code.
>Those are very old compilers.

Roberto Waltman

[ Please reply to the group,
return address is invalid ]
Mar 22 '07 #5
On Thu, 22 Mar 2007 22:14:02 +0000, Richard Heathfield
<rj*@see.sig.invalidwrote in comp.lang.c:
Ian Collins said:
Those are very old compilers.

Nevertheless, they are post-1989 and offer ANSI C conformance.
Would have been nicer if you had quoted enough context to identify the
compilers you were talking about.

Turbo C 2.0 had some ANSI conformance, far from complete. Microsoft
4.0, IIRC, was poorer.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html
Mar 23 '07 #6

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

Similar topics

0
by: Bruce Davis | last post by:
I'm having a problem on windows (both 2000 and XP) with a multi-threaded tkinter gui application. The problem appears to be a deadlock condition when a child thread pops up a Pmw dialog window in...
11
by: Kostatus | last post by:
I have a virtual function in a base class, which is then overwritten by a function of the same name in a publically derived class. When I call the function using a pointer to the derived class...
117
by: Peter Olcott | last post by:
www.halting-problem.com
16
by: SimonYingling | last post by:
I'm a young programmer, but definitly see my self doing this for the rest of my life. I'm 15 and into C++. I was wondering if a good compilier for Windows would be Visual C++ 6.0. I have used Dev...
28
by: Jon Davis | last post by:
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass();...
9
by: Dave | last post by:
Compilier will not recognize DataSet object. As you can see below is from a test simple form with no other code. I'm just trying to get any Aspx form to recognize the DataSet object. You can...
6
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length...
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
2
by: Mike Collins | last post by:
I cannot get the correct drop down list value from a drop down I have on my web form. I get the initial value that was loaded in the list. It was asked by someone else what the autopostback was...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
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...

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.