I love programming, and I know a handful of people here also enjoy programming (or at least they do it), so why not have a thread for it?
C++ will kill me.
C++ will kill me.
Started by the-pi-guy, Mar 13, 2016, 10:39 PM
previous topic - next topic0 Members and 1 Guest are viewing this topic.
VizionEck Cube Royale is releasing this year "I'm Mike Armbrust" -Me | ![]() | ![]() |
I love programming, and I know a handful of people here also enjoy programming (or at least they do it), so why not have a thread for it?As I say to my students: "Be kind to C and C will be kind to you."
C++ will kill me.
VizionEck Cube Royale is releasing this year "I'm Mike Armbrust" -Me | ![]() | ![]() |
What's the difference between c++ and c#?Haven't used C#, but from what I've seen it looks a lot like Java.
C# and Java discard C for C++. They take C++, throw away the pointer notation, and all variables become hidden pointers (except for the value types, primitive types, due to performance reasons). They add forcibly garbage collection, metadata to your classes, all the objects will be derived from a base class, called object or Object, which adds automatically virtual methods to objects, and they never compile to native code
++way seems foreign to me.Same.
Haven't used C#, but from what I've seen it looks a lot like Java.The ++var notation needing to be necessary seems very weird.
Some random person says this:Same.![]()
I spent like half an hour, only to find the fix is putting it on the other side.
I pretty much always write it like foo++, but this apparently needed to be written ++foo. Not exactly sure why.
Haven't used C#, but from what I've seen it looks a lot like Java.There are differences.
Some random person says this:Same.![]()
I spent like half an hour, only to find the fix is putting it on the other side.
I pretty much always write it like foo++, but this apparently needed to be written ++foo. Not exactly sure why.
There are differences.Yep I know all about the differences. I just tend to try to make it work with foo++;
Yep I know all about the differences. I just tend to try to make it work with foo++;I like them... how the code looks with these operators but there are movement in the dev scheme to drop them from all languages.
But in this case, it wasn't working at all with foo++;
Saying the operator wasn't defined for the class, even though it clearly was.
I like them... how the code looks with these operators but there are movement in the dev scheme to drop them from all languages.So instead they want us to write out foo+=foo?
I'm not using them anymore just for the sake to don't need to review my code in the future.
VizionEck Cube Royale is releasing this year "I'm Mike Armbrust" -Me | ![]() | ![]() |
Page created in 0.110 seconds with 22 queries.