English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language

 
 
Thread Tools
Old 09 February 2014, 14:04   #1
Yesideez
(2b)||!(2b)
 
Yesideez's Avatar
 
Join Date: Mar 2007
Location: Cranbrook, Devon, UK
Age: 50
Posts: 241
Teething trouble in SAS/C

I think my first post was in the wrong place and I've now found this place

First, please accept my apology for appearing a bit backwards as I've only just got back from hospital from an ambulance trip due to a severe back problem. I've been sent home with a bottle morphine, packet of diazepam and a box of extra strong ibuprofen. I've stopped taking the morphine as I think it's making me nauseous.

Right, down to C.

A few days ago I installed SAS/C v6.5 from floppy disk images and thanks to someone on here, have finally managed to upgrade it to v6.58.

Yesterday evening I spent about an hour going through the dev/c on Aminet downloading loads of C stuff to try and make my learning process a bit quicker. Some I found interesting and I've not yet finished looking through as all I seem to find at the moment is stuff I don't need.

With help I've managed to finally open a couple libraries and close them again. It's nothing like assembler, seems so much easier using that at the moment but I'm determined to crack this.

Just wondering - I know the basics of what includes to include in but how do you know which ones to includes? A couple times I've found myself including something which I thought was the right one only to discover the compiler doesn't like it and I've had to try another, sometimes using PPMore to view the files to try and figure it out.

Last edited by Yesideez; 09 February 2014 at 14:12.
Yesideez is offline  
Old 09 February 2014, 15:09   #2
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,041
Is most cases you get all you need automatically by just including the library prototypes. For example if you want to use windows and screens you would use intuition.library and thus #include <proto/intuition.h>. If you also want to draw something you'd use graphics.library and #include <proto/graphics.h>, too. Similarly for other libraries.

Only for some advanced topics you have to include other files in addition. For example if you wish to use BOOPSI images you'd need to #include <intuition/imageclass.h>. You'll find this out by trying.
thomas is offline  
Old 09 February 2014, 21:58   #3
Yesideez
(2b)||!(2b)
 
Yesideez's Avatar
 
Join Date: Mar 2007
Location: Cranbrook, Devon, UK
Age: 50
Posts: 241
Thanks, I forgot I made thi topic - just spent ages trying to find where GA_Disabled is set.

I'm going to head off to bed shortly although as much as I have loads of determination to learn but my head is stuffed full of meds and I can't type easily.
Yesideez is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
SAS/C 6.58 on 1.3 marduk_kurios Coders. C/C++ 25 29 July 2018 18:17
Sas C 6.58 AmiCoder request.Apps 3 06 February 2010 01:19
SAS/C v6.50 zerostress request.Apps 3 08 October 2007 10:35
Sas C V 6.0 Jherek Carnelia request.Apps 1 20 March 2007 10:13
Sas C Scoglio request.Apps 0 28 October 2002 11:13

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:31.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09621 seconds with 13 queries