473,808 Members | 2,832 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using Multiple Source Files with Plato3 in C

Hey guys. I'm currently working through a number of C programming
exercises to get me up to speed with the syntax. Before now I have
been using Fortran and I've found Plato3 in Windows to be an excellent
environment in which to create, compile, debug and run my Fortran
programmes.

I was delighted when I found that Plato3 can also work in C. However,
I am at the stage where I need to be using multiple source files and
to be linking their respective object files together to create a final
working .exe.

Sadly I don't know how to link my files (or get Plato3 to create an
object file without complaining that the functions I use are not
present in that specific source file) in Plato3 so could anyone shed
some light on this?

Kind regards,

Matt

Jul 10 '07 #1
3 1979
Matt <ma*****@hotmai l.comwrites:
Hey guys. I'm currently working through a number of C programming
exercises to get me up to speed with the syntax. Before now I have
been using Fortran and I've found Plato3 in Windows to be an excellent
environment in which to create, compile, debug and run my Fortran
programmes.

I was delighted when I found that Plato3 can also work in C. However,
I am at the stage where I need to be using multiple source files and
to be linking their respective object files together to create a final
working .exe.

Sadly I don't know how to link my files (or get Plato3 to create an
object file without complaining that the functions I use are not
present in that specific source file) in Plato3 so could anyone shed
some light on this?
My advice would be to use a proper C IDE like Eclipse with the CDT plug
in.

http://www.easyeclipse.org/site/home/

or

http://www.eclipse.org/cdt/

Its there. Its free. It works.

Failing that find a plato3 user group. A quick google shows that plato3
does indeed support VS type project management and build procedures.

Jul 11 '07 #2
Matt wrote:
>
.... snip ...
>
Sadly I don't know how to link my files (or get Plato3 to create
an object file without complaining that the functions I use are
not present in that specific source file) in Plato3 so could
anyone shed some light on this?
Sadly, Plato3 is unmentioned in the C standard, and thus off-topic.

--
<http://www.cs.auckland .ac.nz/~pgut001/pubs/vista_cost.txt>
<http://www.securityfoc us.com/columnists/423>
<http://www.aaxnet.com/editor/edit043.html>
cbfalconer at maineline dot net
--
Posted via a free Usenet account from http://www.teranews.com

Jul 11 '07 #3
In article <46************ ***@yahoo.com>,
CBFalconer <cb********@mai neline.netwrote :
>Matt wrote:
>>
... snip ...
>>
Sadly I don't know how to link my files (or get Plato3 to create
an object file without complaining that the functions I use are
not present in that specific source file) in Plato3 so could
anyone shed some light on this?

Sadly, Plato3 is unmentioned in the C standard, and thus off-topic.

--
<http://www.cs.auckland .ac.nz/~pgut001/pubs/vista_cost.txt>
<http://www.securityfoc us.com/columnists/423>
<http://www.aaxnet.com/editor/edit043.html>
As is Vista...

Jul 11 '07 #4

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

Similar topics

9
6904
by: Charley Kyd | last post by:
I'm a newbie who needs advice about how to use external files of JavaScript code. I spent an hour this afternoon browsing through JavaScript books at the local book store. In about 15 different titles, I found a total of about five pages that covered js files. For all practical purposes, these pages said, "You can use js files. But we won't tell you how." Therefore, I hope someone can answer a few questions about js files... 1....
121
10202
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode support IDEs are DreamWeaver 8 and Zend PHP Studio. DreamWeaver provides full support for Unicode. However, DreamWeaver is a web editor rather than a PHP IDE. It only supports basic IntelliSense (or code completion) and doesn't have anything...
4
30444
by: Andrew | last post by:
Hello, I am recieving a multiple definition error from the linker when I try to build a project I am working on. The message states that the functions I defined within an external .c source file are already defined in the main program .obj file. I declared the functions in seperate header files and used the pre-processor conditional #ifndef FILE_H to make sure each header is only included once. Each .c source file includes the...
14
1970
by: vishal | last post by:
Is it possible using any tool to get a single C file containing a combined code of multiple C files. The single file should include the contents of the header file. Example if I have following files: first.c second.c second.h(included in first.c) I want a tool that would combine all the contents of these files in
1
2413
by: svijay | last post by:
hi I have got a strange problem. May I know any solution for this. Here is the detailed description about the problem We have got a mainframe system and also production and development server.
3
2081
by: Claudio Pacciarini | last post by:
Hi everyone, I have a question about .NET code sharing and reuse, and also about application design best practices / guidelines. Currently, we have many different .NET projects in source depot. Although they are different, in some of them we share C# code by referencing source files that are external (not part of the projects) on each project. For instance, some of our projects have the typical “sources” file with:
4
3157
by: wanwan | last post by:
Hi, I have a project with multiple c files. Some of these modules have functions that have the same name and their operations are exactly the same. My rusty memory tells me there is a way with preprocessor directives to make sure these functions are not included more than once, but I forgot how to.
13
9633
by: Toby Newman | last post by:
I started learning XML on Monday. I have an XML file and have written an XSL file to render it to HTML for formatted viewing in a browser. I'd like to create a second alternative view of the same data. I am confused how: If the following line, which dictates which XSL file should be used to transform my XML document for me, is found *in the XML file itself* then how can you use more than one XSL to present multiple views of the same...
6
2420
by: chrisbirk | last post by:
Hi! I want to write an application on windows xp, which iterates n times a model script (exe) and copies every single run the results (multiple files such as text, maps, subfolders,etc) from the existing folder into a new one. The code works, but no files nor folders are copied. This is how far as I got being an absolute beginner in Java. Thanks for any help, CB import java.io.*; public class PCRmain { public static void...
0
9721
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9600
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,...
0
10114
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9196
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 projectplanning, coding, testing, and deploymentwithout 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...
1
7651
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 presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6880
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5686
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4331
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
2
3859
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.