but his avatar is funny...Originally Posted by sean_mackrory
Hm...many people don't trust to .NET Framework, neither do I. I just think it's waste of space for installing runtime libraries...Originally Posted by cgod
But Microsoft made another mistake in C sharp popularity: it can't be completely ported on Linux, MacOS, etc. And 'cause world is "switching" to open-source, the programming language, made for only one OS won't get far.
[C++]
IDE: DevC++ 4.9.9.2 (GCC 3.4.2)
2nd compiler: g++ (GCC 3.4.3/4.0.0)
3rd compiler: Borland 5.5
[C#]
IDE: Microsoft Visual C# Express 2005
2nd IDE: SharpDevelop
2nd compiler: csc in Command Prompt
.NET Framework: 2.0
[PHP]
Core: 5.1.0 beta 3
IDE: PHPEdit
2nd IDE: Notepad
Favourite extensions: exif,gd2,mysql
Favourite PEAR packages: DB, XML_RSS, ID3
Favourite databases: SQLite, MySQL
How do you figure? Microsoft itself is involved in a project to port .NET to BSD systems, and Mono's getting pretty good. The only thing that can't be ported is Windows.Forms. The whole idea behind this project was a common run-time-compilation language for many systems.it can't be completely ported on Linux, MacOS, etc. ... made for only one OS
>>Hm...many people don't trust to .NET Framework, neither do I. I just think it's waste of space for installing runtime libraries...<<
how about some evidence for your claim? Did you install the SDK package for Java - well, there you go.
some entropy with that sink? entropysink.com
there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka
Ok my first real language was VB.NET (QBasic doesn't count lol), I used to get discriminated, fellow programmers were racist against me! "Hey it's that VB.NETer let's beat him up!". Then when I switched to C# to build my confidence, I could see my friend laughing at me because he's sssoooo cool with C++ (since it's harder and all). With C# you have the great VS.NET to make it nice and fun, but even when I did something cool, it wasn't C++ :(, it wasn't difficult.Originally Posted by Sake
So the reason I say more self-esteem is because when I learned Java, I could say to his face: "I know Java, and you don't, and yeah :(", and it would hurt because it's the new standard! I'm a bad person :(
Thank you for the explanation, I understand your reasoning now.Originally Posted by Kleid-0
Kampai!
hm...no I didn't....Originally Posted by axon
[C++]
IDE: DevC++ 4.9.9.2 (GCC 3.4.2)
2nd compiler: g++ (GCC 3.4.3/4.0.0)
3rd compiler: Borland 5.5
[C#]
IDE: Microsoft Visual C# Express 2005
2nd IDE: SharpDevelop
2nd compiler: csc in Command Prompt
.NET Framework: 2.0
[PHP]
Core: 5.1.0 beta 3
IDE: PHPEdit
2nd IDE: Notepad
Favourite extensions: exif,gd2,mysql
Favourite PEAR packages: DB, XML_RSS, ID3
Favourite databases: SQLite, MySQL
Ive decided to learn C#, VB doesnt seem worth learning because Microsoft seems to be pushing it as a hobby language. Im also looking for some good C# books has anyone know a couple they would recomend?
No cgod go Java, because....aahh I'm too lazy to explain, but the book is called: Head First Java by K&B. You'll LOVE this book, you'll want to ride your bike to a park everyday just to enjoy the reading material. After reading that book, you'll be able to learn C# at a much much better pace. You've gotta trust me, Head First Java by K&B, AAHHH!!!!
C# looks eays allready its like learning C when you know C++ just a couple of changes in the syntax
The syntax of C#, and Java are almost identical, compare these hello world's:
Code:// Java public class myFileName { public static void main(String[] args) { System.out.println("Hello world from Java"); } } // C# using System; public class Anything { public static void Main() { System.Console.Iforgot("Hello world from C#"); } } // C++ #include <iostream> int main( ) { cout << "Hello world from C++" }
JAVA doesnt have header files either?
Just compiled my first C# program
not much lol but it works...Code:using System; public class TheClass { static void Main() { string message; Console.WriteLine("Enter buffer"); message = Console.ReadLine(); Console.WriteLine("Buffer is "); Console.WriteLine(message); } }
Nope, Java uses import just like C# uses using. Including files is not what they do because they both use their own virtual machine.
C# - .NET Framework
Java - The Java Virtual Machine
Example, let's say I wanted to output something on the console, here are two ways I could do that in Java:
Is the same as..Code:import System.out; println("Hello World");The only reason to use import in Java or using in C# is so that you don't have to type so much.Code:System.out.println("Hello World");
Last edited by Kleid-0; 01-28-2005 at 08:41 PM.
^^^^Originally Posted by cgod
That is beautiful!! Maybe you should stay with C# if you really like it. Try your first Java program!!
First download the Java SDK:
http://java.sun.com/j2se/1.5.0/download.jsp
Click on Download JDK, & download the offline Windows version. Next open your command prompt (Start-->All Programs-->Accessories-->Command) or you can HOLD Windows Key and hit the R button. Next type in "cmd.exe" to open the command prompt quickly.
On the command prompt (after installing the JDK of course) type javac, make sure that is working. Next type in java. If you get "command not there" message, you'll have to add the Java SDK bin folder to your PATH environmental variable on Windows.
Now before I go any further, are you going ok with this so far?