View Full Version : computer science rant

08-10-2001, 09:43 PM
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

08-10-2001, 10:06 PM
Pascal is easy I havn't programmed in it
in like 2 years though.

comments are { }
braces are begin end

Every program must have



For school you will probably want

program MyProgram
using crt;



Declare varibables like

i : integer;

08-10-2001, 10:16 PM
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.

08-10-2001, 10:47 PM
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++'.

08-10-2001, 10:53 PM
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.

08-10-2001, 10:59 PM
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.

08-10-2001, 11:02 PM
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)