Will a game written in C# have any speed issues after long periods of play, like for 24 hours at a time? I'm specifically talking about a 2D RPG similar to old Final Fantasy or Dragon Quest games. I know that languages like Python will slow down too much, curious how C# would stand.
edit: programs I write are a lot like a termite-infested tree :)
@jimmy - thats the entire point of this. I'm working on a small FF clone to improve my coding
In C programming language, %d and %i are format specifiers as where %d specifies the type of variable as decimal and %i specifies the type as integer. In usage terms, there is no difference in printf() function output while printing a number using %d or %i but using scanf the difference occurs.
C++ was developed by Bjarne Stroustrup in 1979. C does no support polymorphism, encapsulation, and inheritance which means that C does not support object oriented programming. C++ supports polymorphism, encapsulation, and inheritance because it is an object oriented programming language. C is a subset of C++.
%d is used to print decimal(integer) number ,while %c is used to print character . If you try to print a character with %d format the computer will print the ASCII code of the character.
C-- (pronounced C minus minus) is a C-like programming language. Its creators, functional programming researchers Simon Peyton Jones and Norman Ramsey, designed it to be generated mainly by compilers for very high-level languages rather than written by human programmers.
Yes, it is. Take a look at XNA. There are already some games written in C#.
I'd take a look at this Channel 9 video posted years ago from Eric Lippert
Eric Lippert - Have you noticed a performance hit in .NET?
It's a great watch if you're wondering about comparative performance. Computer hardware has advanced a great deal more since then, but the concept hasn't changed, C#/.Net can have excellent performance if you're using it correctly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With