Thread: computer science rant

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    403

    computer science rant

    I'm a sophomore in high school this year, last year i didn't take CS 1&2 like the others b/c i didn't know they were there. I talked to the teacher and she said I could take CS 3&4 if i passed the exam. The catch was that I had taught myself C and C++, and the class was in pascal. She gave me a C++ version of the test though and I did fine. Now going into CS 3&4 we'll be using advanced pascal for half of the year. I am fairly sure I have more experience than any of her students but i'm afraid that me lacking in pascal experience may hurt me. Does anyone know pascal? Will me going into a semi-advanced pascal class be tough (I'm learning about advanced RTTI and some containers derived from the STL ones right now).

    Thanks for any insight

  2. #2
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    Pascal is easy I havn't programmed in it
    in like 2 years though.

    comments are { }
    braces are begin end

    Every program must have

    begin

    end

    For school you will probably want

    program MyProgram
    using crt;

    begin

    end

    Declare varibables like

    i : integer;

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    403

    bleh!

    I've read some tutorials.. it's not a pretty language to me. What is advanced pascal though? Are there ADT's and operator overloading? I'm just wondering what to expect.

  4. #4
    Anti-Terrorist
    Join Date
    Aug 2001
    Location
    mming, Game DevelopmentCSR >&<>&2Minimization of boolean functions, PROM,PLA design >&0>&WA, USA guitar, dogsCommercial Aviation >&>>&USAProgramming
    Posts
    742
    I don't think that Pascal is an OOP language. It is likely a procedural language which uses functions and where the data is not tied to the operations that perform on it. I am not sure of this though. It could be object based. I just don't think it is OOP.

    So find out which methodology you need to use. If it is procedural than treat it like 'C', otherwise it is more like 'C++'.
    Last edited by Witch_King; 08-10-2001 at 10:51 PM.
    I compile code with:
    Visual Studio.NET beta2

  5. #5
    Registered User
    Join Date
    Aug 2001
    Posts
    403

    newer pascal has some OO functionality

    that's what a site i was at claimed.. i didn't see any examples.. i'd be suprised if my school new of pascal after they added the OO if it's new then.

  6. #6
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    c to pascal is basicaly as one to one relationship.
    You use records instead of structs and there's basicaly
    a few more stuft you have to remember. If you find
    a tutorial you could learn it in a day. c++ to pascal
    is harder because pascal doesn't ordinary have objects
    but there's a extention that borland has.

  7. #7
    Registered User
    Join Date
    Aug 2001
    Posts
    403

    what do you think they meant by advanced pascal though?

    i'm really curious (kinda nervous) especially because i know my school has a borland contract so they probably have the OO stuff. And as to what advanced pascal means.. i hope we dont' have to do stuff like RTTI (because i really don't grasp it well enough to be tested on it yet)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Computer Science vs Computer Engineering degree
    By PCG33K in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 10-03-2007, 07:13 AM
  2. Computer Science Major
    By Dark_Oppressor in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 11-20-2006, 09:18 AM
  3. Starting C++ & Computer Science Major
    By learning C++ in forum C++ Programming
    Replies: 8
    Last Post: 12-26-2003, 12:17 PM