To be used for archiving purposes only. No new posts will be made. View Scope's Farewell Message
Quote from: CoolNcalm on August 19, 2010, 08:57:03 ami took some classes 4 years ago to get an associates... c c+ c++ was in there. What the fuck is C+? Your average grade? Try again.Back on topic:C# is not the be-all-end-all of programming languages. There are clearly times when you shouldn't, or simply cannot use C#. Consider heavily real-time systems...or embedded microchips. I still think it's important to learn C++ even if only to understand why you shouldn't use it.Also, I don't like how C# doesn't allow inheritance of multiple abstract classes. I don't like that a class must be referenced before a static constructor is called. I definitely don't like that there's no Number class between Object and Single/Double/Int etc. in .NET's class hierarchy. It's still a great language, but it definitely isn't perfect.
i took some classes 4 years ago to get an associates... c c+ c++ was in there.
hmm figured id clearify myslef a lil. C "primer" +...we all just called it c+ for short at my college!
Quote from: CoolNcalm on August 21, 2010, 07:37:48 amhmm figured id clearify myslef a lil. C "primer" +...we all just called it c+ for short at my college! I guess that's what happens when you can't see and go for a 2 year degree at a community college.
#include <stdio.h>int main(){ printf("Hello world\n"); return 0;}
bash-4.1$ gcc helloworld.c -o helloworldbash-4.1$ ./helloworldHello worldbash-4.1$
Quote from: aknaip on August 21, 2010, 07:27:23 pmQuote from: CoolNcalm on August 21, 2010, 07:37:48 amhmm figured id clearify myslef a lil. C "primer" +...we all just called it c+ for short at my college! I guess that's what happens when you can't see and go for a 2 year degree at a community college.Lol.Back on topic: If you are linux user, and you plan on being so, then you definitely should have understanding of C/C++. I will not start the whole OMG .NET MICROSOFT OMG SO MUCH BETT0R AND USER-FREINDLIER THAN C++ OMGZ NO MEMORY CORRUPTEN ISSUE OMGZ argument. So, anyway, your linux distribution should come with GNU tools. It is much simpler to work with C/C++ in linux than on windows, where you will have to, usually, install a compiler.Your first C program:Code: [Select]#include <stdio.h>int main(){ printf("Hello world\n"); return 0;}all you have to do is throw this in a file called helloworld.c and save it in a folder. then open terminal navigate to that folder andCode: [Select]bash-4.1$ gcc helloworld.c -o helloworldbash-4.1$ ./helloworldHello worldbash-4.1$ it is as simple as this. If you want to write C++ code instead of C, you will have to use the g++ compiler; however, the procedure is exactly the same. If you wish to be more "with the times" and use an IDE, I recommend NetBeans (http://netbeans.org/) it is a java cross-platform development environment and i have found it very useful both for C++ and Java. Good luck in your endeavors.
Yeah. And when http servers, operating systems, and drivers are written in C#, you let me know.
[09:39:13 PM] «[].[].[].[].@USEast» Do you know what the best letters of the alphabet are?[09:39:21 PM] «DeCi@USEast» h e n r y
03
Ps. Perhaps people who know astronomically less than me should not be questioning me, if they don't want to be flamed.
Linux has a mature language deficiency. C++ is legacy garbage.
hey its not our fault microsoft dislikes us linux users. Although they did submit 30283091238 lines of driver source not so long ago to the linux cause which makes me wonder there motives behind that, perhaps to convert apple users to linux users? *shrug*. The point is there are many efforts being made to bring everything to linux just give it time.
Quote from: HackeZ on August 25, 2010, 04:03:57 pmhey its not our fault microsoft dislikes us linux users. Although they did submit 30283091238 lines of driver source not so long ago to the linux cause which makes me wonder there motives behind that, perhaps to convert apple users to linux users? *shrug*. The point is there are many efforts being made to bring everything to linux just give it time.Microsoft practically giftwrapped the CLI, C#, XAML, and Silverlight specifications for the Mono team, and the Linux community as a whole still shuns them (and curiously embraces Java, despite the fact that C# and .NET have explicit non aggression promises from Microsoft, and are legally safer than Java). Linux is a shitty development platform by choice, not because they cant.
The Mono team is the best thing to happen to Linux in a long time. How are they garbage? Microsoft gives Mono access to Silverlight specifications before they even announce it to the general public, they get heads up on the direction of SL before even most developers do.and Java is pretty well embraced in the FOSS world, and was for a long time. Just look at the mailing lists when Mono was first being discussed, everyone was pretty much saying "Use Java its better".