LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-05-2003, 10:40 PM   #1
poeta_boy
Member
 
Registered: Oct 2003
Location: Mexico
Distribution: Ubuntu
Posts: 223

Rep: Reputation: 31
Wanna have some fun.


Hello everybody:

I'm a student and I'm at the university. I have 2 years already and all the programming I do is linked lists, trees, mini mini games (like tic tac toe) and that's it.

The question here is, I wanna have some fun!!! I wanna learn how to program useful stuff! all of you guys look so skilled and I wanna ask... how can I be like that?

I love games, applications, and programming but I feel like I'm going over and over the same things, factorial, lists, etc.

I just finished a online course at www.carnegietech.org and I know a littke bit about C++. STL and java. I'd like to learn more by practicing. But honestly I don't even know where to start.

Obviously, I'm really interested in C++ programming for Linux, so any Ideas what can I do? thanks a lot!
 
Old 11-05-2003, 11:29 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"Obviously, I'm really interested in C++ programming for Linux,"

A good place to start would by improving an existing Open Source program. Find a program that you use which you think could be improved. Then download the source for that program and program in your ideas. If your improvements work out well then you can offer your changes back to the developer for use in his next release.

This is a fairly common practice and it is how successful Linux projects attract more and more developers. If your improvements are of good quality you will probably end up being a member of the development team for that program.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 11-10-2003, 02:08 PM   #3
QtCoder
Member
 
Registered: Aug 2003
Location: USA
Distribution: Slackware 12.0 RC1
Posts: 129

Rep: Reputation: 15
If you think you'd be into GUI programming, you might try Qt. It's an awesome framework for building graphical apps. If you've ever used MS Visual C++, you'll be in for a relaxing ride, because Qt is easy, but powerful!

I'm about in the same position as you right now. I've been writing several "concept" programs, like linked lists, trees, etc, and I would like to be able to write a good application (ie a program that actually does something useful).

What I'm doing right now is packing a laptop with me while I'm in school with Slackware 9.1 and Qt 3.2.1 installed on it. When I have free time (which is usually all the time ), I sit down and go through the Qt tutorials and use what I've learned to make my own simple little apps. I'm slowly working my way up.

Good luck, and have fun!
 
Old 11-10-2003, 07:14 PM   #4
poeta_boy
Member
 
Registered: Oct 2003
Location: Mexico
Distribution: Ubuntu
Posts: 223

Original Poster
Rep: Reputation: 31
Thanks

what's Qt? where can I download it? Wnat langage do you use? C++ JAva?

Thanks a lot
 
Old 11-10-2003, 09:50 PM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"what's Qt?"

Qt is a library of C++ classes written by Trolltech. Qt is mostly GUI routines but it has some other things also.

"where can I download it?"

It is on your Mandrake install CD or you can download it from Trolltech.

Here is a tutorial:

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

A good book is "Programming with Qt" published by O'Reilly.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 11-10-2003, 10:49 PM   #6
poeta_boy
Member
 
Registered: Oct 2003
Location: Mexico
Distribution: Ubuntu
Posts: 223

Original Poster
Rep: Reputation: 31
hey thanks a lot I'll check it out. I used to be a Java fan, but I'm starting to like C++ better. Thanks
 
Old 11-11-2003, 05:04 AM   #7
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
"QT" is already installed if you have KDE; because it are the widget (window gadgets; buttons, scrollbars) that you see.

I'm not sure what would be really fun to do, but I'm hoping to make some QT based game if I have a little more free time. (because you can post this at http://apps.kde.com)

and there is one other thing that springs into my mind; the kmess msn messenger. I really love this messenger, and I hope to help them some day, because the maintainers don't have time to improve the product nowadays. (they also don't have time ) I've heared the code is clean, and I'm very keen on the existing features/gui organisation, and I think it would be soo cool to improve such messenger with MSN 6 picture support (picture swapping / custom emoticons), or even audio/video conferencing


and for any project, download the CVS tree code. then you can try to modifiy the program piece by piece. break somethiing, learn, brake it again, until you've got something stable. Create a patch file, and send this to the authors. One day they might even invite you to help them as project member. (and off course, your name will appear in the credit list, which I believe could be useful for your resume)
 
Old 11-11-2003, 07:21 AM   #8
286
Member
 
Registered: Nov 2003
Location: London
Distribution: SuSE
Posts: 130

Rep: Reputation: 15
so..... is there anything similar for Java Programming?
 
Old 11-11-2003, 08:21 AM   #9
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
you could check out any project at java foundry at http://sourceforge.net but I'm not familliar with a lot of Java projects.

..what do you mean with "something simular" ?
 
Old 11-11-2003, 09:43 AM   #10
rsingh
Member
 
Registered: May 2003
Posts: 44

Rep: Reputation: 15
problem compiling

well i learned about qt from this thread and thought about trying it out . i have qt-2.3.1 installed but i am unable to compile my programs which use qt header file even after giving the path as /usr/lib/qt-2.3.1/include . can someone help?
 
Old 11-11-2003, 09:44 AM   #11
286
Member
 
Registered: Nov 2003
Location: London
Distribution: SuSE
Posts: 130

Rep: Reputation: 15
i mean the easy understanding tutorial... something like Qt. the website that you provided is nice. thx!
 
Old 11-11-2003, 12:20 PM   #12
poeta_boy
Member
 
Registered: Oct 2003
Location: Mexico
Distribution: Ubuntu
Posts: 223

Original Poster
Rep: Reputation: 31
Do that will get me to .exe files that I can share with win users? or just Unix Linux?

Last edited by poeta_boy; 11-11-2003 at 12:56 PM.
 
Old 11-11-2003, 02:00 PM   #13
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
Quote:
Originally posted by poeta_boy
Do that will get me to .exe files that I can share with win users? or just Unix Linux?
if you compile for Linux, you'll get an ELF-type executable. They don't work at Microsoft Windows; but you could use Cygwin to get some programs working. (XFree also appears to be working from Cygwin)

It's just like: if you use Borland C++, Microsoft Visual Studio / Visual Basic to create an .exe executable that hooks into rundll32.dll directly, requests info from the registry, and wants gdi.dll to paint windows. I bet you never found those files at your Linux system An executable is a sort of container for binary code that get's loaded+linked in your main memory. Windows uses a different container type, which for example, also includes all program resources like pictures.


But you could use a knoppix cd-rom, or an vnc-connection to your system if you want to show your program. And I know about another thing to impress your friends:
* boot a system from the Knoppix cd-rom
* login to your system with "ssh -X user@ipaddress" (the -X enables X11 forwarding)
* type the name of your program, and it will appear at the X11 server of the knoppix system
* and then type "exit" to close the ssh connection when you're done.
This requires a really high speed internet connection though, ...not to mention that the knoppix cd-rom is already very impressive. (just let Linux amaze everyone, you won't have to "try to impress" them)

for VNC, I would recommend using TightVNC; vnc quite slow compared to the remote desktop connection from Windows XP.

Last edited by yapp; 11-11-2003 at 02:04 PM.
 
Old 11-11-2003, 02:15 PM   #14
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"they don't work at Microsoft Windows; but you could use Cygwin to get some programs working. (XFree also appears to be working from Cygwin)"

I think that there is a project underway to get Qt to work natively on Windows without having to use Cygwin:

http://dot.kde.org/1057919193/

The project needs developers if you are interested.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 11-11-2003, 03:21 PM   #15
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
You could check out Boson: http://boson.eu.org/

it's unusual in that it's a game written using Qt/KDE (mostly they are apps). It's kind of cool, check it out.

Another toolkit you might like is GTKmm - it's more C++y, or so I'm told. I try and stick to Python and C where possible.

Dunno what your idea of fun is really, I quite enjoy hacking Wine Alternatively improving Linux is quite a good hobby, but if you want to work on games obviously you'd need to find one to join in with.... if you want to hack on improving Linux then let me know and I'll give you some ideas. Mostly that involves C though.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what I wanna do? rlocone Linux - Wireless Networking 0 09-22-2005 05:43 PM
Hint: Wanna try Linux, so wanna rig your Windows system to dual-boot? sundialsvcs Linux - Newbie 2 08-16-2005 03:56 PM
Looking for something -FUN- Wanna JUMP spiffdoodle Slackware 12 02-22-2004 09:10 PM
Someones in my WLAN i wanna have some fun with them zetsui Linux - Wireless Networking 7 02-14-2004 03:07 PM
wanna try? adam_boz Linux From Scratch 14 09-29-2002 02:43 PM


All times are GMT -5. The time now is 04:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration