Quote3) If you post anything that is C or C++ specific, prepend your topic's subject with [C], [C++], [C#]respectively.
Why would C# posts belong in a C/C++ forum?
Excellent question. .NET should be its own forum since it's neither VB nor C++!
Although I don't think there are enough posters here who use .NET to warrant that; when there's a good amount of .NET topics in the General Programming Forum, you could try setting up a .NET-specific forum.
It's a C variant, now quit whining.
I think it's a Java variant.
Yes, it's a ripoff of Java which has nothing to do with C. Just because it's named C# doesn't mean it has to do with C or C++, just like because you're called Cuphead doesn't mean you have a cup on your shoulders.
First of all, that has to be about the dumbest analogy I've ever read. Deserving of the annals of idiocy. Secondly, if you weren't spending your time being a complete twit, you'd know that JScript is .NET's "ripoff of Java". The syntax of C# is related more closely to C++ than it is to Java despite its horrifying amounts of namespace usage. I suggest you check both out so that you can give informed opinions in the future.
Either way, all the .NET languages are more closely related to each other than to other languages. Questions asked about how to do things in a .NET language will have similar answers in other .NET languages.
QuoteIt's a C variant, now quit whining.
It is syntactically similar to C++ which is syntactically similar to java. Unfortunantly, the similarity ends there, because the libraries are different. C#: .NET. C/C++: Standard Library / STL. saying C# : C++ :: C++ : C is completely wrong.
Consider:
Q: How do I do console IO?
A: (C#)
using System;
namespace HelloWorldProject
{
public class MyFirstClass
{
public static void main(string[] args)
{
Console.Write("Enter Your Name: ");
string sName = Console.ReadLine();
Console.WriteLine("Hello " + sName);
return;
}
}
}
A: (C++)
#include <iostream>
#include <string>
using std::cout;
using std::cin;
using std::endl;
using std::string;
int main(int argc, char* argv[])
{
string sName;
cout << "Enter Your Name: " << endl;
getline(cin, sName);
cout << "Hello " << sName << endl;
return 0;
}
PS: C# is much more similar to Java than JScript .NET. JScript kind of reminds me of a cross between java and pascal.
//JScript:
function AddIntegers(a : int, b : int) : int
{
var result : int;
result = a + b;
return result;
}
What the hell is going on in that tiny little head of yours, K? Obviously all .NET languages use the .NET framework and the .NET CLR. You can't possibly be dumb enough to think we were comparing anything other than syntax, can you?
We're obviously not comparing syntax, because very few people ask questions about the syntax of C++. Most questions deal with how to do this and that, and the answer will depend on the runtime. Thus, all the .NET languages belong together :)
Feel free to make a .NET forum and move all of the appropriate topics.
I don't know .NET well enough to moderate such a forum appropriately. My strong languages are assembler, C++ and somewhat VB. .NET is almost completely unknown to me.
Then perhaps suggesting such a forum was a little premature? ::)
This whole thread is retarded.
No one asked you. Damn nosy Brits. :P
Quote from: CupHead on October 20, 2003, 07:05 PM
Then perhaps suggesting such a forum was a little premature? ::)
Most certainly not. I've seen many people ask questions about .NET and I know that several members have touched it. Just because I haven't, doesn't mean noone has.
I love how cup deletes posts which prove him wrong.
lol, yeah.. I got several compliments on a post I made here which got deleted.
Incidently, it's rather rude to delete posts of other members :P
Yeah dude, that's the reason I started being a smartass.
Quote from: St0rm.iD on October 21, 2003, 08:46 PM
Yeah dude, that's the reason I started being a smartass.
You started being a smartass because you were deleting members' posts? :)
Quote from: Kp on October 21, 2003, 08:57 PM
Quote from: St0rm.iD on October 21, 2003, 08:46 PM
Yeah dude, that's the reason I started being a smartass.
You started being a smartass because you were deleting members' posts? :)
He found an exploit, ban him!
*Notes that Cuphead no longer has any power on this forum :)
Ah it was my post that got deleted... May I be given an explanation?
What did it say?
I was explaining why I think C# is more of a Java variant than C/C++. I also posted a professional opinion from a Java book I have.
I explained how JScript/Javascript has nothing to do with Java.
Quote from: St0rm.iD on October 21, 2003, 07:38 PM
I love how cup deletes posts which prove him wrong.
Quote from: Tuberload on October 22, 2003, 03:09 AM
I was explaining why I think C# is more of a Java variant than C/C++. I also posted a professional opinion from a Java book I have.
Ah yes. I think I read that post quickly but couldn't find it later. What a shame to lose it.
Hey hey, don't forget mine!
Quote from: St0rm.iD on October 22, 2003, 07:20 PM
Hey hey, don't forget mine!
St0rm posted? I didn't think anybody read his posts ;-)
True dat.