Serving the Quantitative Finance Community

 
User avatar
Alec
Topic Author
Posts: 0
Joined: January 30th, 2002, 7:51 pm

Learning C++/Unix

July 8th, 2002, 8:04 pm

Dear experts,I am currently learning C++ (Microsoft) and would welcome your suggestions (literature, links etc.) for learning C++ under UNIX OS.Thank you very much.Sincerely,Alec
 
User avatar
Etuka
Posts: 1
Joined: January 1st, 2002, 7:40 pm

Learning C++/Unix

July 8th, 2002, 8:29 pm

If you're up to setting up a Linux box, I suggest using gnu c++. If you have the latest version of Mandrake or Redhat, then everything is free and you have a KDE development environment that is not too dissimilar to MSoft.
 
User avatar
WaaghBakri
Posts: 1
Joined: March 21st, 2002, 4:07 am

Learning C++/Unix

July 8th, 2002, 8:42 pm

Mandrake or Redhat, then everything is free At least until the last version, so was SUSE Linux. I have a dual system installed (Win98 & Linux) and it's never given me problems. The GNU C++ compiler works well. I haven't tried other flavours of Linux, but from what I've read, and I concur, that installing SUSE is really simple.
 
User avatar
Patrik
Posts: 1
Joined: April 15th, 2002, 9:18 am

Learning C++/Unix

July 9th, 2002, 8:16 pm

Are learning a UNIX-flavoured OS a thing, or just the C++ development part?I won't begin to try to list some particular UN*X OS since I think choosing one is a evolutionary process, you try some different ones and eventually ends up with BSD (I'm a FreeBSD user..). Just grab one and start swinging as to say.About C++ development I suggest:1. Use GCC 3.1 (much better c++ support than previous versions)2. Learn a standard editor (vi or emacs, my tip is vi since it ALWAYS exist on a unix-box and vim is a clone with all the fancy features of a modern editor (syntax highlighting, folding, autocompletition etc))3. Learn GNU make. Writing Makefiles is a reality one has to face sooner or later.4. Learn CVS for version control. A good version control system is a real goldmine.5. Get some decent graphical debugger like gvd or ddd. Perhaps even learn some gdb since the graphical ones almost exclusivly acts as a frontend for this debugger.That is my 2 cents at least. Good luck!
 
User avatar
ComteZero
Posts: 0
Joined: May 14th, 2002, 7:31 am

Learning C++/Unix

July 10th, 2002, 6:43 am

nobody talked about Debian, so i put the name here !but if Emacs is really a great thing and you can almost do everything with it, if you come from Window$ world, maybe should you have a look to Anjuta a really great IDE for C/C++ on GNU Linux.To develop graphical apps, you should also check that link : GTKHope it helps !PS.Patrick you're right, *BSD are cool too (in fact my firewall is under FreeBSD since I hadn't the patience to make OpenBSD recognize my ADSL modem...)
 
User avatar
ComteZero
Posts: 0
Joined: May 14th, 2002, 7:31 am

Learning C++/Unix

July 10th, 2002, 7:15 am

In addition you should check this infosource : C++ programming HOWTO (in PDF)
 
User avatar
Alec
Topic Author
Posts: 0
Joined: January 30th, 2002, 7:51 pm

Learning C++/Unix

July 11th, 2002, 1:17 am

Dear Experts,Thank you very much for your replies.Great info !Alec
 
User avatar
eredhuin
Posts: 3
Joined: July 14th, 2002, 3:00 am

Learning C++/Unix

October 16th, 2002, 3:37 pm

Another painless approach for win32 users is to consider cygwin. It's a full development environment for win32 that provides a unix compatibility layer. It includes g++, and is very nice. You can install it for free.
 
User avatar
gregoryv
Posts: 0
Joined: July 14th, 2002, 3:00 am

Learning C++/Unix

October 17th, 2002, 5:38 am

I am not sure if this message come in a little late, but I still felt like putting in my 2 cents. There are 2 things that I think that every programmer using UNIX should do:-Write Makefiles and use vi (pico is for losers ) the real power of UNIX is the stability and the simple and accessible programming environment, get used to using the fast keys and commands in pico, although it is teadious and confusing at first, you will be lighting fast after a couple of weeks. You will be pushing (esc-:wq in windows before you know it) .Although I do use UNIX for most of my programming. I have been dabling in windows environment apps these days and there is alot of functionality to tap into there, there is no way to make a GUI as well as you can in windows visual studio (c++, VB ...) in UNIX, unless you like pain.Good luck