|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Programming/Scripting Questions about programming, bash scripts, perl, php, cron jobs, ruby, python, etc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
i know some c++ and i was wondering what the main programming language seems to be in use for linux programs and if anyone would be able to reccomend a good guide to do so and to make gui programs as i have some c++ knowlege but none for gui. This would be my first time programming in linux
all my work was done in windows
|
|
|||
|
ok thanks for the advice
will give it a shot
|
|
|||
|
Hi,
If you just want to make some fast GUI programs, Java is very easy to use for this, and as it's Object oriented and the syntax is very similar, it'd be very easy to learn for a C++ programmer (I learnt Java after already learning C++). Java also has the advantage of being OS independent, so you can share your programs with your friends who haven't installed Linux (yet) and has a vast API for which there is excellent documentation available here. There are also some tutorials available here Regards, Barry.
__________________
Main Laptop: openSUSE 11.1 (x86_64) KDE 4.3.4 Second Laptop: openSUSE 11.2 (x86) GNOME |
|
||||
|
I'm in a similar position to you - having known a bit of C and C++ from an attempt to learn to program years ago. I've decided to pick it back up, and learn it as a hobby.
Can't advise you on languages, but one thing I have noticed that's changed in my time away is that IDEs are now often multilingual. I've just installed netbeans, and it looks really well developed - there are many others. They're often modular, such that you can easily 'window shop'; install one, then just plug in new languages, look at the example code, and take ideas from one to the next. |
|
|||
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 And I personally have been enjoying Eclipse lately. Java is great to know for all of the aforementioned reasons plus a few others. Personally C is fantastic to know but unless you are really needing it I would probably go with Java or Perl for almost anything else (and PHP for the web, but that's also option to Python, Ruby/Rails, etc.). If you know C then work on learning Perl and Java. After you know two languages all the rest are basically the same thing with a few language-specific quirks and some slight syntax changes. Good luck. Confuseling wrote: > I'm in a similar position to you - having known a bit of C and C++ from > an attempt to learn to program years ago. I've decided to pick it back > up, and learn it as a hobby. > > Can't advise you on languages, but one thing I have noticed that's > changed in my time away is that IDEs are now often multilingual. > > I've just installed netbeans, and it looks really well developed - > there are many others. > > They're often modular, such that you can easily 'window shop'; install > one, then just plug in new languages, look at the example code, and take > ideas from one to the next. > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJLDKWHAAoJEF+XTK08PnB5XzoQANUfwaPB9b Bu7wqWzg238/E0 pRHUdO4mCVY95Tiud+SlaAHlDvbC55ewgMyjuRT34bHYkqa7rn YyTpjFuFj+L/2C Nudbkpq5JodMBhZmMeMUc1JmwW6ZbEOMH7ZjtngWvt518jWSfg +Uonpo2Qot9u/T NdelbAlmyoYhgW6OzM31LP/1ECFW2dQKZv2hlXWnlbC3ZsnlFa3Q2sdmxR+eWcwj j11wCXPe+lK8BZ4G1OEuTpl4iZgpmCSZzquMjjAGgBA9HafLYa 8toVEp3L5tc5yR Eti5FBH0DMCBHWNWiqTgItla+rbwv868z/lxO+cjNn1Phb0Wo3lKPVAz+WYfur3M 54sPB29mi+nFr+bo+rV9gdhWE1padl3M0t1xUeU9vrj4JAT2QZ o0s6sTW+qE0kC6 3dJ27knGMIzf+iPylCoUHqwJ9c4rtAayzS65yEvRsF3hgEhIn6 Xemvh4ZMoEWe2H bWMxrF+u/GMZV9cjD3M2jyoRKn715jRl9YOePclOfi+ogQCqYOrrWQDuzSp B2X6E rIRVI6OJFrnYRc6r/pR3W6dmERAmf4XfpsPIGXnKk2HFSLqlixebWXNuUuO4ExHl sLg/9zEebL1EJT0ePtF9p/mjRw1gMQfCI7wCcfkNxwuZKdpy/5+JVuFf5hLHOAgm JfgrHty+sw2lncH6gWp2 =0Txm -----END PGP SIGNATURE----- |
|
||||
|
You may also want to consider the Netbeans IDE. It's not just for Java. It allows you to also create applications in C/C++, Fortran, Ruby on Rails, Python and PHP.
The language you choose should fit the type of application you want to create. For linux systems programming, C is a great choice. For web applications, Java or PHP are nice. Some say that Python is one of the easier languages to learn quickly. netbeans.org |
|
|||
|
WOW i didnt think i'd be able to do it but i think i actually just figured out how to use functions in c++!!!!! hehe it was one of the things i was struggling with in c++ that, arrays, and gui work
|
|
||||
|
@ Ab. Yeah, Eclipse was the other one I nearly went for. Kdevelop also looks quite interesting.
Code::Blocks has a loyal following, but seems to be limited to the C family. @ terrified. Well, have fun. And be warned; it's really addictive! |
|
||||
|
If I knew C/C++ I'd give Qt Creator a try. That's the first editor that gave me the impression.. yes this might just be on par with Visual Studio.
(Also allows you quickly create Qt based GUI apps) Since I don't know C/C++ but do know Java and was interested in Qt I started off with Qt Jambi .. but yeah if you already know some C/C++ then stick with that as the majority of the linux applications is written in it afaik.
__________________
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|