Source Code

This is a discussion on Source Code within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Hi, I'd like to know the source code for the following program, anything will be appreciated: Port Communication, Input: N/A ...

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    5

    Source Code

    Hi,
    I'd like to know the source code for the following program, anything will be appreciated:

    Port Communication,
    Input: N/A
    Process: The Program demonstrates the use of Turbo-Pascal to communicate with the Serial Port, check the status e.g. 'Port Address' and 'Baud Rate' whether it's open or closed or connected to an external Device such as Modem.
    Output: Display the status of the Serial Port.

    Thanks in Advance..

  2. #2
    Registered User
    Join Date
    Feb 2003
    Posts
    5
    Hello!
    The program is in Pascal- I'm doing this for my course-, but C is most welcome. I do apology for the above matter.

  3. #3
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >I'm doing this for my course
    If you are doing this for your course, why are you asking us to write the code for you?

    -Prelude
    My best code is written with the delete key.

  4. #4
    Registered User
    Join Date
    Feb 2003
    Posts
    5
    Hi,
    I don't know where to start, any idea?
    It's not an assignment, it's just a thought on computer devices etc.

    Tnx..

  5. #5
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    Location
    Budapest
    Posts
    463
    You are really looking for a quick answer, aren't you? May the Internet be with you
    Ascentia everywhere:
    http://www.computing.net/programming...orum/5554.html

    Why don't you use the net to find the source - if you really don't want to bother with it - perfroming a quick search on e.g. google?
    Just type "Serial port AND Pascal AND source" in google's search box, and you're done.

    However, I must say, the world is getting full of "programmers" who get their diplom this way. Why don't you try to figure out yourself how to do such - not too complicated things - by yourself?

    Nowadays you can see many "professional" programmers, who have chosen this job only because it's worth it -financially!

    I'm dissappointed, really. When I started programming there was no Internet, me and those of my kind spent days and nights looking for solutions, worked over the summer just to buy a bigger hard drive and expensive books - and I never thought of doing this for money.

    That's my problem! Programming has become a "trendy" job, it's all about the money...where money interferes, the art dies!

  6. #6
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,263
    Originally posted by Carlos
    That's my problem! Programming has become a "trendy" job, it's all about the money...where money interferes, the art dies!
    May I suggest China or North Korea?

  7. #7
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    Location
    Budapest
    Posts
    463
    Ok, I don't mind if I'm well-payed for my work

    My idea is that no one should start programming *just* because it's well-payed.

    By the way, China has become a "threat" for software companies, as they have skilled programmers, and work cheap!

    Not speaking of russians...

    However, I get the joke, SMurf

  8. #8
    Registered User
    Join Date
    Feb 2003
    Posts
    5

    Smile

    Hi!
    Yes, I have posted this message in computing.net forum as well, :-) that was quick!

    Here's a book:

    'Interfacing with C'
    H. Hutchings, ISBN: 0-7506-4831-7

    I'm sure there's something in that, as far as I'm concern!

    Good work guys,
    God bless..

  9. #9
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    Location
    Budapest
    Posts
    463
    May the CODE be with you, Ascentia! :)

  10. #10
    Registered User
    Join Date
    Feb 2003
    Posts
    5

    Question

    Hi,
    The project.. it was cancelled. The idea was mine and wanted to do some exercise, however my tutor encouraged me to do other, easier for this stage, assignments.
    I still have the idea(!) and I'll prepare it, sure I'll post the source code.
    Thanks..

  11. #11
    Registered User
    Join Date
    Mar 2003
    Posts
    40
    The art does not die until the artist do...
    ..."GSXR1300"...

  12. #12
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Originally posted by GGrrl
    The art does not die until the artist do...
    Art isn't art until after the artist dies. How much do you think Picasso's masterpieces were worth at his time?
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  13. #13
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    Location
    Budapest
    Posts
    463
    Originally posted by Salem
    It's supposed to be "may the source be with you"
    "Code" and "source" are sinonyms, don't you think?

    Magos, maybe I'm wrong, but Picasso's pictures were really trendy - even in his life.
    But e.g. Van Gogh was indeed really poor, nearly starving - he has eaten his left ear

  14. #14
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Originally posted by Carlos
    Originally posted by Salem

    "Code" and "source" are sinonyms, don't you think?

    Magos, maybe I'm wrong, but Picasso's pictures were really trendy - even in his life.
    But e.g. Van Gogh was indeed really poor, nearly starving - he has eaten his left ear
    Ya, maybe. I'm no expert on artists .

    Regarding the "code" and "source", "source" sounds more like "force" than "code" does, that's his point.
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  15. #15
    Registered User
    Join Date
    Mar 2003
    Posts
    40
    Originally posted by Magos
    Art isn't art until after the artist dies. How much do you think Picasso's masterpieces were worth at his time?
    ...I understand what you are saying...and of course art lives forever...but the subject of how programming has lost it's art form...and that there are only a few programmers who see it as art and not money...but if you do not see programming as money...and you enjoy what you do...the art form will not disapear unless you die and you have not transmitted that passion to someone else...so the key is to pass on the passion for the art and not for the money...before you go...

    ...I perhaps did not verbalise well what I wanted to say...I am known for that...verbage is not my strength... ...
    ..."GSXR1300"...

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Seven Kingdoms I: Ancient Adversaries for Linux
    By MIH1406 in forum Projects and Job Recruitment
    Replies: 13
    Last Post: 01-17-2010, 04:03 PM
  2. How do you call another source code file?
    By nifear4 in forum C Programming
    Replies: 2
    Last Post: 10-28-2008, 12:16 PM
  3. DxEngine source code
    By Sang-drax in forum Game Programming
    Replies: 5
    Last Post: 06-26-2003, 05:50 PM
  4. Lines from Unix's source code have been copied into the heart of Linux????
    By zahid in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 05-19-2003, 03:50 PM
  5. Source Code Beautifier
    By Hammer in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 05-05-2002, 09:21 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21