Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C# or C++

Name: noko 2012-01-20 3:31

So I just installed Visual Studio 2010. I know Visual Basic intimately, but it's been years since I've programmed. I've done a little C in the past, and I took a few Java courses.

In this foray back into Visual Studio, I don't want to dick with Basic anymore. Should I learn C# or C++? I noticed that you can't do ASP.NET in C#. Should that sway my decision?

Name: Anonymous 2012-01-20 11:23

Visual C is outdated in the standards department. I know that not too many C compilers are completely C99-compliant, but VC doesn't even have compound literals, mixed declarations and code or C++ style comments. The C library does stupid shit like having tmpfile and the "secure" replacement tmpfile_s create a file in the root directory instead of in %TEMP%, which worked in Windows 9x (even though it was still stupid back then) but not today unless you give the program Administrator privileges or write access to C:\. Their snprintf is broken and doesn't null-terminate the string or return the proper length when given a null pointer or an insufficient buffer. Microsoft would rather focus on non-portable .net and Win32 features than on standards compliance.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List