• Pascal
    28 replies, posted
  • [QUOTE=esalaka;24980080]Anything you could do with C, I believe.[/QUOTE] Is there a huge difference between C and C+ and C++? Or is C+ and C++ versions of C but with more commands and stuff? Also what kind of platform can you get on C++? As in, is it just cmd code like pascal?
  • There is no C+. C and C++ are different. There are no 'commands'. All languages mentioned, including Pascal, can be used to create both graphical and command-line applications using the appropriate libraries.
  • [QUOTE=esalaka;24980195]There is no C+. C and C++ are different. There are no 'commands'. All languages mentioned, including Pascal, can be used to create both graphical and command-line applications using the appropriate libraries.[/QUOTE] So you're telling me one can create graphical images with pascal using a different library. For example crt? How many libraries are there anyway? And if there are a lot, what are the best to use and most popular?
  • I don't know which are the best to use, neither which are the most popular ones. I do believe there are SDL bindings for... Which version of Pascal are you using, anyway?
  • [QUOTE=esalaka;24980595]I don't know which are the best to use, neither which are the most popular ones. I do believe there are SDL bindings for... Which version of Pascal are you using, anyway?[/QUOTE] I don't really know which is the latest, but 0.6.4
  • [QUOTE=pascalkiller;24980664]my name is pascal[/QUOTE] No it isn't. There's a person named pascall in this forum and you're not him
  • There seems to be at least [url=http://jedi-sdl.pascalgamedevelopment.com/]Jedi-SDL[/url], but it seems a bit outdated. [editline]08:00PM[/editline] But his name [B]IS[/B] pascal.
  • [QUOTE=esalaka;24980719]There seems to be at least [url=http://jedi-sdl.pascalgamedevelopment.com/]Jedi-SDL[/url], but it seems a bit outdated. [editline]08:00PM[/editline] But his name [B]IS[/B] pascal.[/QUOTE] His name is pascalkiller :I
  • You can do stuff with it, but it will be a tad more annoying then doing it on C. So I guess you better go the C way.
  • [QUOTE=cdBiohazard;24981584]You can do stuff with it, but it will be a tad more annoying then doing it on C. So I guess you better go the C way.[/QUOTE] But isnt C++ better than C?
  • [QUOTE=RapistSanta;24982354]But isnt C++ better than C?[/QUOTE] If you consider stricter type-casting rules, larger standard library and easier OOP better, then yes, it is.
  • For a general reply, yes, C++ is better. That's not to say that C isn't great for a lot of other stuff.
  • [QUOTE=RapistSanta;24980673]No it isn't. There's a person named pascall in this forum and you're not him[/QUOTE] I'm known even deep within the recesses of the H&S forum? Well this is a surprise.
  • [QUOTE=Chris220;24983137]For a general reply, yes, C++ is better. That's not to say that C isn't great for a lot of other stuff.[/QUOTE] I don't want this to become an argument, but no it is not a valid general reply, though it may be your opinion.
  • pfft. Every knows Small Basic is the best language ever made, it's got a turtle!
  • [QUOTE=RapistSanta;24980673]No it isn't. There's a person named pascall in this forum and you're not him[/QUOTE] her :eng101:
  • [QUOTE=ZeekyHBomb;24984104]I don't want this to become an argument, but no it is not a valid general reply, though it may be your opinion.[/QUOTE] Sorry, I probably shouldn't have used the word "general", it's too... well... general Now that I think about it, what I ACTUALLY meant doesn't even make sense in the context of this thread, so I'll shut up now :)
  • [QUOTE=Pascall;24983164]I'm known even deep within the recesses of the H&S forum? Well this is a surprise.[/QUOTE] oh hi. [editline]11:31PM[/editline] broke my automerge.
  • [QUOTE=Pascall;24983164]I'm known even deep within the recesses of the H&S forum? Well this is a surprise.[/QUOTE] Saw you being BFF's with Rong which I thought was wr- fuck this :I /off-topic. Could someone tell me what can one do with C and C++? I mean, why would one choose one over the other?
  • C is slimmer. This makes it more wide-spread (as in available on more platforms) and you don't have to wrestle with stupid compiler errors (anyone else often getting errors in g++ with template-stuff that wouldn't fit on a A4 Page? <3 clang) as C++ has more formal correctness rules. It's also simply a different philosophy one could say. C++ introduces more high-level concepts, such as OOP and template meta-programming build right into the language and adds stuff like operator-overloading. The language is based on C, but do not think it's a superset or an upgrade or something. It's just another language, which happens to also compile most C code. Any program you can write in C, can also be written in C++ and vice versa. Mostly it will just be preference which one is chosen. This is also the case with Pascal. You could write any program in Pascal that is possible to code in C or C++. Though I think Pascal is less popular in todays world.
  • [QUOTE=ZeekyHBomb;24999656] Though I think Pascal is less popular in todays world.[/QUOTE] Tell that to my bloody school ... :I
  • Still works for teaching programming. Delphi was one of my first languages. I think the second language that I wrote programs with more complexity of a hello world-like program. A friend of mine started with Delphi (Object Pascal) in school and though he's no programming whiz (didn't really intend to become one) he understood all stuff when I talked about my programs with a bit simplified terms. Unlike in my class, where we learned Java and 2 of 7 understood what really is going on, though that was the fault of the teacher.
  • [QUOTE=RapistSanta;25000647]Tell that to my bloody school ... :I[/QUOTE] I feel for you. We have to use turbo pascal 7.0.