Programming C++ and C#
This fall I'll be starting my second year in, well, I'm not actually sure what the American or English equivelant would be but it really doesn't matter. I'm going to enter my first programming class where I'll learn to do C++ and C#. So I tought it would be nice to have a fast and neat Linux system running on my computer instead of the increadibly slow Windows XP that's by standard running on the campus computers. Firefox sometimes takes minutes to launch xD.
So my first question is how many distributions are there that has the option of doing a one-file install onto a USB-drive? I know that Puppy Linux does this and I'm going to try it out once I get to it but are there any other distributions with the same functionality out there?
My second question is: Are there any good programming suites out on the Linux platform suitable for a newcommer to programming? All I'm really looking for is syntaxchecking, autocompletion and being able to compile and run the code right in the box without having to switch around a lot.
Comments
-
Hello
One of the best LiveUSB distro is Slax. This distro have vary nice package manager. its cool. The bad thing here is that the latest version does not support Ext4. But hope they will fix it soon.
For C++ the best option for IDE is Code::Blocks. Geany is also vary good, fast and has support for other programming languages. all you need to do is to setup the compile command. Gedit also supports synataxes for some langs but it is not suitable for beginners.
The best IDE for C# is Monodevelop. I am not sure but i think it does not supports Windows Forms, but it supports Gtk#. I have just started with Mono and C# at all so can't help you much with this. The latest version of Monodevelop is 2.0 but but i dislike some functions like running (console) project in the box - you can't input from keyboard. Running it from the terminal is OK. however i hope the newer version will come soon with great functionallity.
My suggestion is to do not wait for the fall to come to start learning c++/c#. Do it now. So when the others do hello world programs you will do queries from mysql or whatever you are interested in.
gl & hf0 -
Probably best C++ IDE on Linux would be Eclipse or NetBeans. But that would be programming C++ and Java.0
-
My second question is: Are there any good programming suites out on the Linux platform suitable for a newcommer to programming? All I'm really looking for is syntaxchecking, autocompletion and being able to compile and run the code right in the box without having to switch around a lot.
Hi, I'm also learning to program C, and I'd recommend Vim for those needs. It's a text-editor. A really productive one. Though it has a funny learning curve, because it's something you have never used before.
http://www.viemu.com/a-why-vi-vim.html0 -
Yeah I'm very sure that Vi is a very powerful text editor once you learn how to use it. I will at some point learn how to use it I guess.
But does Vim come with syntax markup for c++?
Anyways. I've started reading the first Wikibook about programming C++ and I've gotten codeblocks on my laptop running SliTaz and my main desktop running Mint.
I did try out Slax on my USB drive and it worked excellent and I was o so suprised at how much I liked KDE 3.5. But there is one problem that breaks my euphoria about how good Slax actually worked. And that was that Xorg didn't start if I added too many modules to my Slax build. That's a huge bummer. I don't even have a chance of getting Amarok running with the 5tons of dependencies it has.
So that kind of broke it. I do now have Fedora installed on the USB drive. We'll see how that works out.0 -
C++/C are the priamary langauges of Linux. C# is a Microsoft gimmick designed at suckering in developers. It only works within the .net framework of Windows, thus anything built in C# cannot be directly compiled Linux or Unix. If your truly a supporter of Open Source, then you'll boycott it like the rest of us.
As for IDE, I recommend Code::Blocks. Its Open Source, has many of the same support features as Microsofts IDE, and it supports a multitude of Compilers (including the Microsoft one). But for beginners, the best thing is a text editor with color coding for multiple languages. I recommend Notepad++ or gedit. Both are open source and gedit comes on most Linux distros that use Gnome. That, along with GCC is the best for getting your feet wet in programming.0 -
Thank you Lelouch, or would you like to be called Zero?, for the recommendations. Anyways it turned out that my class is for C# so I'm going Mono along with Monodevelop.0
-
Good luck. Personally, though I did not take a class, I found C# to be to controlling to be considered a programing language. You have to do garbage collection their way. I prefer programming to be the most opening experience possible - even if that means wiping your hard drive or causing a memory leak.0
-
Since it's my first programming language I have no issue with the language taking out the garbage and preventing memory leaks by it self. But I guess it is as with Linux. You start out with Ubuntu and Fedora and then as you learn more you may choose to go deeper int Arch or Gentoo.0
Categories
- All Categories
- 178 LFX Mentorship
- 178 LFX Mentorship: Linux Kernel
- 775 Linux Foundation IT Professional Programs
- 384 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 75 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 103 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 13 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 34 Cloud & Containers Training
- 3 Cybersecurity Training
- 3 DevOps & Site-Reliability Training
- 2 Linux Kernel Development Training
- 2 Networking Training
- 2 Open Source Best Practice Training
- 5 System Administration Training
- 1 System Engineering Training
- 6 Web & Application Development Training
- 798 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 92 Storage
- 772 Linux Distributions
- 81 Debian
- 68 Fedora
- 24 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 470 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 101 Linux Security
- 79 Network Management
- 102 System Management
- 46 Web Management
- 166 Mobile Computing
- 32 Android
- 119 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 407 Off Topic
- 128 Introductions
- 35 Study Material
- 1K Programming and Development
- 310 Kernel Development
- 721 Software Development
- 1K Software
- 418 Applications
- 182 Command Line
- 5 Compiling/Installing
- 71 Games
- 320 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)