Some common Linux Questions???

This is a discussion on Some common Linux Questions??? within the Tech Board forums, part of the Community Boards category; Hello guys. I have some basic questions about linux. I have never even seen linux so be gentle. I will ...

  1. #1
    Registered User code2d's Avatar
    Join Date
    Nov 2006
    Location
    Canada
    Posts
    87

    Question Some common Linux Questions???

    Hello guys. I have some basic questions about linux. I have never even seen linux so be gentle. I will be starting to program a windows application with Dev C++. Im hoping I can make this program compatible with as many operating systems as possible but especially Linux because I've heard good things about it.

    1. I have heard that red hat enterprise supports many windows applications. Is this true, and to what extent.

    2. If I build a program that works with one comman linux operating system such as ubuntu would it work with the reast (Red hat,fedora, gentoo)

    3. Were is there good reference to programming the linux operating system.

    4. (This is a dum question but hey) Does Linux runs of ANSI C,C++ code...right

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    0) Questions about Linux itself don't really belong here.

    1) The WINE project supports many Windows applications. This is nothing particular to RedHat. For the extent, check out WINE's homepage, http://www.winehq.org/ .

    2) The program itself will work. Installation routines might need adaption, because not all distros use exactly the same path schema.

    3) Really depends where you want to go. For libraries and console programs, the POSIX APIs are the most important. The Linux manpages usually contain a complete reference to those functions, although finding those you need can be tricky.
    GUI apps, on the other hand, are usually written a toolkit, and the three most popular toolkits (Qt, GTK and wxWidgets) all are very complete, i.e. you don't really need anything beyond them.

    4) I'm afraid the question is quite incomprehensible.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    Registered User Jaqui's Avatar
    Join Date
    Feb 2005
    Posts
    416
    4) yes, linux can compile ansi c++ into valid executable binaries, if the includes are done without using MS specific calls.
    [ no MFC, no .net framework support for os use, shared libraries are .so not .dll .. a few things like this. ]

    generally ansi c or ansi c++ means no code that is os specific anyway, so it compiles on any os, if the makefile is built right for the os.

    a better place for general linux question would be the tech board, or even better, linuxquestions.org.
    where the membership are focussed on helping people learn linux.
    Quote Originally Posted by Jeff Henager
    If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology.

  4. #4
    Registered User code2d's Avatar
    Join Date
    Nov 2006
    Location
    Canada
    Posts
    87
    Thx for the help. Im very sorry for posting here. I should have posted in tech board.

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,855
    Moved to tech board.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Thinking of upgrading to linux...
    By Yarin in forum General Discussions
    Replies: 37
    Last Post: 07-24-2009, 12:40 PM
  2. Linux Version reccomendation
    By Pobega in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 10-05-2006, 07:48 PM
  3. Why Linux, for the average user?
    By Hunter2 in forum A Brief History of Cprogramming.com
    Replies: 32
    Last Post: 07-07-2006, 03:36 PM
  4. A couple questions
    By punkrockguy318 in forum Tech Board
    Replies: 4
    Last Post: 01-12-2004, 10:52 PM
  5. Linux? Windows Xp?
    By VooDoo in forum Linux Programming
    Replies: 15
    Last Post: 07-31-2002, 09:18 AM

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