Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: beginner programmer

  1. #1
    Join Date
    Apr 2010
    Beans
    6

    beginner programmer

    This is my first thread so my apologies if I'm in the wrong topic area.

    Here's a little background info; I'm novice in C++ for windows. I took courses at my local college and got an A.S. degree in Computer Science (mainly C++ programing). I'm currently going for my B.S. in Computer Engineering (half Programming and half electrical). I'd like to say I'm an "expert" in windows, and this is why I HATE windows, but I'm novice in Linux. I'm sorry if this info doesn't seem relevant I would just like you to know where I stand in programming and computer knowledge, I believe it may be helpful to answering my question.

    I would like to understand and start programming in Linux. for example I'd like to make a word pad program. I have made one in C++ for windows but don't know where to begin in Linux. Or I'd like to change lines in my current setup, so i can customize it more

    I've looked at some Linux books and tutorial videos but either everything seems too simple (for instance the books tell you how to use Linux not program in it) or simply above my head (I'm watching tutorials from LinuxCBT and the information is going too fast as if I'm supposed to know what "less" does or "ls")

    I'm assured I'm missing vital steps in learning Linux correctly. I understand A LOT of Linux should be by commands and I'm new to what different commands do.

    I have a separate machine with Ubuntu 11.4 on it, and nothing important on it. If I mess something up I don't care because at this stage I got the mind set that it only take a half hour to re-install Linux and get a fresh slate (sorry if that's a bad mindset).

    Any help as to what topics or subjects I should be learning would be very appreciated.

  2. #2
    Join Date
    Jan 2005
    Location
    South Africa
    Beans
    2,098
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: beginner programmer

    I usually write server apps, so a wordpad like app in C++ is outside my league. If I write GUI apps in Linux, I use either Tcl/Tk (from scratch) or Java (using Netbeans). So not much help there either. I use those as they are basically platform independent so what I write in Linux will also work in Windows.

    There are basically 2 graphical frameworks, Gtk and Qt. To my knowledge, the former is more C oriented and the latter C++ oriented. So I would look at those if you want to start coding GUI apps in C and C++. I guess that you can use both frameworks for either languague.

    I consider the Linux Programming Bible a very good book to get going in programming under Linux; it tought me a lot but does not really cover GUI stuff.

    PS 1
    Customizing is not really programming related; it often involves modifying config files.

    PS 2
    To know what a command does, use man (e.g. man ls).

    PS3
    the linux documentation project can be a good source for general info
    Last edited by Wim Sturkenboom; June 12th, 2011 at 09:31 AM.
    If you don't make backups of your important data, your data is obviously not important to you.

  3. #3
    Join Date
    Jun 2011
    Beans
    1

    Re: beginner programmer

    Not sure if it's what you're looking for, but if you wanted to brush up on some basic commands and such, I found these Google University pages to be very useful:

    http://code.google.com/edu/tools101/linux/basics.html
    http://code.google.com/edu/tools101/...rmissions.html
    http://code.google.com/edu/tools101/linux/grep.html

    Here's their general 'courses' page. They have some things about C++, which from what I saw, assumes you're programming in linux. You may want to take a look:

    http://code.google.com/edu/courses.html

  4. #4
    Join Date
    Jul 2006
    Location
    Germany
    Beans
    1,805

    Re: beginner programmer

    If you would want to make a text editor using GTK+ and C++, there is gtkmm. The official website contains links to documentation. Check out the textview widget.

    Also, for general information on programming in Linux, see this sticky in the programming subforum.
    ...

  5. #5
    Join Date
    Jan 2010
    Location
    Hyperborea
    Beans
    1,930
    Distro
    Ubuntu 15.10 Wily Werewolf

    Re: beginner programmer

    This could be handy https://help.ubuntu.com/community/UsingTheTerminal
    Don't forget that the TAB button will autocomplete for you.
    So if you have really-really-really-long-filename.so in your directory, just type "re" and hit tab.
    End of lesson

  6. #6
    Join Date
    May 2007
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: beginner programmer

    Moved to Programming Talk. Check out this sticky for more info on getting started with programming in linux - http://ubuntuforums.org/showthread.php?t=1766253
    Cheers and welcome to Ubuntu.

  7. #7
    Join Date
    Apr 2005
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: beginner programmer

    Quote Originally Posted by sydox View Post
    start programming in Linux. for example I'd like to make a word pad program. I have made one in C++ for windows but don't know where to begin in Linux.
    you might be interested in Glade:
    http://glade.gnome.org/

  8. #8
    Join Date
    Sep 2009
    Location
    Canada, Montreal QC
    Beans
    1,809
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: beginner programmer

    I have already made a text editor in wxWidgets. It has that nifty wxStyledTextCtrl which is scintilla based.

    I recommend you wxWidgets as a GUI toolkit. It is native in C++ and has a tons of bindings for Python, Ruby, Perl, and others.
    I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones.
    Freedom is measured in Stallmans.
    Projects: gEcrit

  9. #9
    Join Date
    Apr 2010
    Beans
    6

    Re: beginner programmer

    THANX!!!!! I love how friendly and helpful folks are in the Linux world.

    This is a lot of content to search through, and I honestly don't get much time to dabble in software programming. It's more of a hobby. I'm more of a micro-controller programmer which, of course, is a different world than software programming.

    Once again sorry for putting this is the wrong forum section.

  10. #10
    Join Date
    Jul 2006
    Beans
    325

    Re: beginner programmer

    Quote Originally Posted by sydox View Post
    I'm more of a micro-controller programmer which, of course, is a different world than software programming.
    cool! I'm an electrical engineering student with a concentration in embedded systems.

    What kinda embedded applications do you usually work on with micros?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •