Thread: Beginning in programming

  1. #16
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    >>> you can not write proper C++ programs

    Why do you say that Dean?
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  2. #17
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    Because it does not allow you to write standard c++ programs. It does not meet the international standard. Where it fails is with the STL, templates, containers, as well as variable scope issues. When I use the better C++ books in my library to practice how to program in C++ they do not compile on VC++6. There are some work arounds however this leads to very ugly code that should not have to be used.

  3. #18
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    Ah, I would certainly agree with you that VC++ 6 does not comply to the ANSI standard, but then, I have never found a compiler that did. I think the nearest I've got was DEC's CXX compiler for 64 bit Alpha machines running the VMS operating system.

    Does VC++ 7, (VC++ .net I guess), comply or are there again, a few MS specifics in there?
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  4. #19
    TK
    Guest
    Yeah, I'm not sure what to call it either because they have two C++ compilers, one for managed code, and the other for the framework.

    Microsoft hired Stanley Lippman to help with the VC++7 effort. I asked Bjarne Stroustup about it and he said that VC++7 is more compilent with Standard C++ than VC++6. He said that the standards committe is working with Microsoft but in additon the committe is working with many other vendors. I have tested VC++7 and it is noticeably better.

    I would like to test out a Sun Solaris OS however I need the computer first!

  5. #20
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    > I would like to test out a Sun Solaris OS however I need the computer first!

    They've got Solaris boxes at school. Admittedly, I don't have much experience with other *nixes, but they didn't seem like anything special to me.

  6. #21
    TK
    Guest
    What do you mean by special? Pink elephants flying across the screen and stuff like that? If that's what you are talking about than that's advertising.

  7. #22
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    > Pink elephants flying across the screen and stuff like that? If that's what you are talking about than that's advertising.

    Actually, I was looking for toasters. What I meant was that it just seemed like a normal *nix environment, and I couldn't see why you'd pick that over Linux or whatever (unless Sun donated them, as they did in our case). There could be(and probably is) more to it than what we covered, but from what I saw, there was nothing to differentiate it.... This makes another question pop into my head.... We know why some people use Linux over Windows, etc., but what would be the rationale for picking different flavors of UNIX instead of some others.

  8. #23
    TK
    Guest
    Once again from my conversation with Bjarne Stroustrup it seemed that he was suggesting that Unix was more capable than Linux, but in terms of the largest of servers. He said that Unix is still the leader in that area, but than he said that Linux is a very good way to learn C++. He didn't use those exact words but he suggested GNU because I said that I was having trouble with MS Windows not meeting the standard.

    Well for Sun Microsystems it is obvious that they are pushing Java, however I believe that their C compiler is quite good. I was reading a book written by a former Sun compiler writer. I liked what he had to say but I wanted to see for myself. I am finding the Linux environment very different than Windows. I might take some extra training and acquire certification with Linux. Not sure if I'll graduate to Unix or Solaris, but than again I might not want to. I'd just like to try them out. I want to use Linux as a research source, which in my mind is the way it should be used. The desktop is nice, better than I would have imagined, but I didn't convert to Linux for the desktop. I think I'll be turning this computer into a file server in a few months. The great thing with this Linux installation is that I can choose to make either a workstation installation, a server install, or a notebook install. I can create an email server, web server, file server, ftp server, all for free.

  9. #24
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    Solaris is not as POSIX compliant as it should be. Sure you can make it POSIX compliant, but you have to jump through some special hoops to do it, hoops that shouldn't be necessary. Sun, however, claim that they are reluctant to change the OS behaviour in those areas because they have a large user base that "depend" to a greater or lesser extent on these oddities. Same old problem.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  10. #25
    Unregistered
    Guest
    but what would be the rationale for picking different flavors of UNIX instead of some others.
    Well, we use Solaris where I work, mainly due to the fact that application we run is only supported under Solaris. Also - you get the whole package with Sun, i.e. Sun hardware + software, (Not good for the wallet though )

    We then use FreeBSD as workstations as it "feels" more like Solaris than Linux.

    Depends on what school of Unix you grew up with I guess. BSD or Sys V etc.

  11. #26
    Unregistered
    Guest
    Originally posted by Kelvin


    Is it possible to write a operating system?
    why use C, not C++ ?
    EVERYTHING'S an object

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 12-06-2008, 07:54 PM
  2. Replies: 15
    Last Post: 05-13-2006, 09:28 PM
  3. writing to the beginning of a file
    By cloudy in forum C++ Programming
    Replies: 7
    Last Post: 04-12-2006, 01:47 PM
  4. writing to the beginning of the file
    By Jules in forum C++ Programming
    Replies: 1
    Last Post: 05-19-2004, 01:31 AM
  5. Replies: 2
    Last Post: 05-10-2002, 04:16 PM