C++ in Linux/Windows

This is a discussion on C++ in Linux/Windows within the C++ Programming forums, part of the General Programming Boards category; Hello!! I am getting more and more fed up with microsoft and am really tempted to change to linux and ...

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    36

    C++ in Linux/Windows

    Hello!!

    I am getting more and more fed up with microsoft and am really tempted to change to linux and only use windows 2000,which
    that stupid company doesn't sell or support in a few months time
    for gaming.

    So...how is c++ under linux??Can someone who codes on linux and windows tell me about it??Does it have really big API's
    like in windows (i.e creating windows)??
    Is everything gone from what one's learned in windows??

  2. #2
    geek SilentStrike's Avatar
    Join Date
    Aug 2001
    Location
    NJ
    Posts
    1,141
    C++ is C++. All the stuff about the langauge you know holds over. gcc is the most popular compiler on Linux, and is more standard compliant than MSVC. Although there are many IDEs for C++ in Linux, none of them are quite as good as Visual Studio. There are a lot of APIs in C++ for Linux. The one that comes to my mind immediately is Qt by Trolltech.

    The only stuff that is gone is the windows specific stuff, no win API (which, by the looks of others code, is likely not a bad thing ). Qt is a lot like MFC, though I know neither . The real nice thing about Linux is ease of getting open source stuff to run on it, vs on windows.
    Prove you can code in C++ or C# at TopCoder, referrer rrenaud
    Read my livejournal

  3. #3
    Registered User
    Join Date
    Jun 2002
    Posts
    36

    Windows 2000

    Have you guys heard that microsoft wants to abolish windows 2000 and the previous versions.They are trying to push that
    .NET stuff into our lives.... ...they're not gonna sell
    any copies of Win 2000 and down from august(or sometin).
    That made me really !!!!

    Ah....so is there something like msdn for linux??
    Or are there no real central libraries in linux , which many use??

    Thanks
    Time for TOTAL WAR

  4. #4
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    Another nice thing about Linux is that you can download it an install it on your computer for free as long as you have CD Burner software, you have to download the ISO files and burn them as ISO images. Redhat Linux 7.3 uses 3 iso files, each requires it's own CD.

    Open Source is superior to any vendor operating system as far as research and learning is involved. Use it to learn about writing software, but as soon as you plan a large program you'll find that objective modeling languages will tie you closer to object oriented principals (heuristics) and you will be able to use any toolkit (aka API library) for any platform. There is so much to describe but not here.

    I would suggest getting a second hard drive. Installing Linux on the second drive and work with a duel boot system until you are accustomed to Linux. You know what, that's the way they should sell computers in the first place. If you want detailed instructions in plain english how to set up a duel boot, than I can provide you with that, but download and burn the installation CD's for Linux first.

  5. #5
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    Ah....so is there something like msdn for linux??
    Or are there no real central libraries in linux , which many use??
    It's not the same software architecture as MS Windows. There is no one Interface. Linux is a networking oriented environment and the graphics system is called X Windows. It was invented at M.I.T.

  6. #6
    Registered User
    Join Date
    Jun 2002
    Posts
    36

    Heeehee

    Actually i already have a dualboot one harddisk with two operating systems: windows 2000 and mandrake linux....
    I made a dualboot because my windows 2000 had a SystemCed
    error and so i installed mandrake on my other partition on my 40 gigs drive.I found out about SystemCed problem by searching in the net with linux.I installed the bootloaderprogram from linux on
    the harddisk,so i could select the os i wanted to boot...
    Wow...I fell in love with linux(at least mandrake),easy to install,
    got it set up in like 30 minutes,could surf the net,connected to our LAN and other stuff.Then i returned to windows emergency console and reloaded the old registry settings...and the problem was solved.

    After reading about micro$$$soft's 'big' .NET 'plan',my face turned from to and then to ......Do you have a dualboot too??

    I am sure that the only thing i am gonna miss about windows are
    their wider variety of games....

    Micro$oft will dig it's own death in Tux's Universe....



    I understand your interfaces stuff Troll_King,so how does one learn...are there any sites or documentation as in msdn??
    Last edited by Zionaster; 07-10-2002 at 01:33 AM.
    Time for TOTAL WAR

  7. #7
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    Yes, I have a duel boot set up on both of my desktops, each has Win2k Pro and Linux RedHat 7.3.

    You only need a few games on Linux in order to study how they are implimented. The sales of games take place on the console and on the Microsoft OS. It's just a matter of time before we get our hands on an Open Source framework like Java or .net. I'm talkign about the implementation ofcourse.

  8. #8
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    Documentation is provided with the installation as long as you included them, so are development tools. There are also websites for the various toolkits, QT, GDK+, Mesa GL, etc. I'm also new to Linux. I picked up a few books on the subject from the bookstore and I'm currently working through them. There are a plethora of websites.

  9. #9
    Registered User
    Join Date
    Jun 2002
    Posts
    36

    thanks

    thanks Troll_King i'll look into it
    Time for TOTAL WAR

  10. #10
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    Sorry I could not be more specific with informaiton. I spent most of my time trying to understand the big picture, and I was mostly doing that from the standpoint of the Microsoft operating system. I didn't understand the advantages of Open Source at first because they did not apply to my situation. Even now I believe that the best course of action is to use objective visual modeling and to be platform independent for as long as possible, even language independent, however I like to pay attention to paradigms (OOP). At some point I believe that the Microsoft OS gets lost, it is outgrown, just like a child becomes an adult.

  11. #11
    TK
    Guest
    open a shell and type: man g++

    The letter 'q' exits. The man pages cover issues such as:

    Section 1: shell commands and user level programs

    Section 2: system calls

    Section 3: C and C++ library calls and macros

    Section 4: Special files and devices that you might find as kernel modules, /dev entries, or /proc entries.

    Section 5: Configuration file formats

    Section 6: Games.

    Section 7: SQL and mini languages

    Section 8: Daemons or other sysadmin-only commands.

  12. #12
    TK
    Guest
    There's documentation for QT3.0. The library runs on both MS Windows and Linux.

    http://doc.trolltech.com/3.0/

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Extended character ASCII in LINUX/WINDOWS
    By intmail in forum Linux Programming
    Replies: 2
    Last Post: 01-26-2006, 03:24 PM
  2. what % of you use linux/windows?
    By chiatello in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 08-07-2003, 12:53 AM
  3. Linux/Windows partition
    By Fyodorox in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 04-24-2002, 09:16 AM

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