Basics

This is a discussion on Basics within the Linux Programming forums, part of the Platform Specific Boards category; I just started programming in linux. And Iam amazed by how many free resources there are. I have the following ...

  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    161

    Basics

    I just started programming in linux. And Iam amazed by how many free resources there are. I have the following questions.

    1. How do I create a window.
    2. Where is the linux api reference/documentation

    Thanx in advance!

  2. #2
    Registered User MathFan's Avatar
    Join Date
    Apr 2002
    Posts
    190
    try to find info on either QT (used by KDE) or Gtk (used by Gnome) (there're a lot of tuts out there, just google the subject...)
    The OS requirements were Windows Vista Ultimate or better, so we used Linux.

  3. #3
    Registered User
    Join Date
    Nov 2003
    Posts
    161
    Lets say I create one using gtk then will it work on qt? If not then how do I code a program to work on both e.g. KDevelop works on gnome and kde.

    Thanx in advance!

  4. #4
    Registered User
    Join Date
    Jan 2004
    Posts
    24
    Your program will work in both KDE and Gnome either way. Gtk is in C and QT is c++ so that may or may not limit the choices depending on what languages you are good with. The differences between QT and Gtk other than the language its written in is the look.

    Mike

  5. #5
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    A program written with Qt will fit into the look and feel of KDE, a program written with GTK into that of Gnome. Both will run in both environments (and others, too), but they will look out of place in the "wrong" one.
    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

  6. #6
    Registered User
    Join Date
    Nov 2003
    Posts
    161
    Thanks very much. I have another question. are the functions and parameters for both GTK and QT the same?

    Thanx in advance!

  7. #7
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    No, they are completly different. GTK is a C API using functions and structs, Qt is a C++ API using classes.
    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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. "Modern C++ and Basics of OO Programming" (e-learning course)
    By Erhard Henkes in forum C++ Programming
    Replies: 5
    Last Post: 09-16-2004, 04:01 PM
  2. Win Api Basics...
    By Devil Panther in forum Windows Programming
    Replies: 19
    Last Post: 09-09-2004, 12:28 PM
  3. C++ Basics part two
    By frenchfry164 in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 11-22-2003, 11:34 AM
  4. The Basics
    By Granger9 in forum Windows Programming
    Replies: 5
    Last Post: 09-13-2002, 06:12 PM
  5. OO Basics
    By DISGUISED in forum C++ Programming
    Replies: 3
    Last Post: 01-04-2002, 07:25 PM

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