Valhalla Legends Forums Archive | C/C++ Programming | Re: Welcome

AuthorMessageTime
K
[quote]3) If you post anything that is C or C++ specific, prepend your topic's subject with [C], [C++], [C#]respectively. [/quote]

Why would C# posts belong in a C/C++ forum?
October 20, 2003, 6:57 PM
Adron
Excellent question. .NET should be its own forum since it's neither VB nor C++!
October 20, 2003, 7:35 PM
K
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.
October 20, 2003, 7:57 PM
CupHead
It's a C variant, now quit whining.
October 20, 2003, 8:16 PM
Tuberload
I think it's a Java variant.
October 20, 2003, 8:53 PM
iago
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.
October 20, 2003, 9:18 PM
CupHead
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.
October 20, 2003, 9:40 PM
Adron
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.
October 20, 2003, 10:01 PM
K
[quote]It's a C variant, now quit whining. [/quote]

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#)
[code]
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;
}
}
}[/code]

A: (C++)
[code]
#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;
}
[/code]

PS: C# is much more similar to Java than JScript .NET. JScript kind of reminds me of a cross between java and pascal.
[code]
//JScript:
function AddIntegers(a : int, b : int) : int
{
var result : int;

result = a + b;
return result;
}
[/code]
October 20, 2003, 10:33 PM
CupHead
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?
October 20, 2003, 10:59 PM
Adron
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 :)
October 20, 2003, 11:26 PM
CupHead
Feel free to make a .NET forum and move all of the appropriate topics.
October 20, 2003, 11:32 PM
Adron
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.
October 20, 2003, 11:38 PM
CupHead
Then perhaps suggesting such a forum was a little premature? ::)
October 21, 2003, 12:05 AM
Arta
This whole thread is retarded.
October 21, 2003, 2:06 AM
CupHead
No one asked you. Damn nosy Brits. :P
October 21, 2003, 2:14 AM
Adron
[quote author=CupHead link=board=30;threadid=3165;start=0#msg24801 date=1066694731]
Then perhaps suggesting such a forum was a little premature? ::)
[/quote]

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.
October 21, 2003, 8:48 AM
St0rm.iD
I love how cup deletes posts which prove him wrong.
October 22, 2003, 12:38 AM
iago
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
October 22, 2003, 12:44 AM
St0rm.iD
Yeah dude, that's the reason I started being a smartass.
October 22, 2003, 1:46 AM
Kp
[quote author=St0rm.iD link=board=30;threadid=3165;start=15#msg24949 date=1066787206]
Yeah dude, that's the reason I started being a smartass.[/quote]You started being a smartass because you were deleting members' posts? :)
October 22, 2003, 1:57 AM
Hitmen
[quote author=Kp link=board=30;threadid=3165;start=15#msg24954 date=1066787875]
[quote author=St0rm.iD link=board=30;threadid=3165;start=15#msg24949 date=1066787206]
Yeah dude, that's the reason I started being a smartass.[/quote]You started being a smartass because you were deleting members' posts? :)
[/quote]
He found an exploit, ban him!
October 22, 2003, 3:54 AM
iago
*Notes that Cuphead no longer has any power on this forum :)
October 22, 2003, 4:09 AM
Tuberload
Ah it was my post that got deleted... May I be given an explanation?
October 22, 2003, 8:02 AM
Adron
What did it say?
October 22, 2003, 8:02 AM
Tuberload
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.
October 22, 2003, 8:09 AM
St0rm.iD
I explained how JScript/Javascript has nothing to do with Java.
October 22, 2003, 7:34 PM
iago
[quote author=St0rm.iD link=board=30;threadid=3165;start=15#msg24919 date=1066783124]
I love how cup deletes posts which prove him wrong.
[/quote]

[quote author=Tuberload link=board=30;threadid=3165;start=15#msg24998 date=1066810155]
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.
[/quote]
October 22, 2003, 9:31 PM
Adron
Ah yes. I think I read that post quickly but couldn't find it later. What a shame to lose it.
October 22, 2003, 11:10 PM
St0rm.iD
Hey hey, don't forget mine!
October 23, 2003, 12:20 AM
iago
[quote author=St0rm.iD link=board=30;threadid=3165;start=15#msg25102 date=1066868405]
Hey hey, don't forget mine!
[/quote]

St0rm posted? I didn't think anybody read his posts ;-)
October 23, 2003, 5:32 AM
St0rm.iD
True dat.
October 23, 2003, 7:02 PM

Search