Daniel Staedtler
@Daniel3210
There is only one corner of the universe you can be certain of improving, and that's your own self.~Aldous Huxley
I started learning C++ recently. But when I tried to use it in Repl.it, it seemed really slow. The repl is attached to this post. Can someone please t
C++
Coder100 There are multiple reasons.
First, the C++ repl server is pretty slow itself, so try the bash language to run your C++ instead.
Second, if your computer or internet is slow, that will only make things worse.
Finally, the compiler does take some time to compile C++, but with your code, its probably negligible.2 years ago
What's your idea of creating a programming language?
It could be anything! Maybe a low-level language none can understand. Which would be something li
ch1ck3n Engscript:
if a is b then do
write on console: "a is b."
if a is definitely b then do
write on console: "a is DEFINITELY b."
while t remains true then do
alert as "T is still true."
`3 years ago
I'm about to start learning C. Any tutorial or suggestions that can help me learn it? (What is the main file with all the question marks?)
C
MocaCDeveloper C is a compiled language meaning all code in the file main.c, as well as any other .c file, is executed into what is called binary, which is just something your computer can understand(the binary is stored in a separate file which can be .exe, .o etc)
Don’t worry too much about the binary though all you need to worry about is the code your write that will be compiled.
Be aware, however, as you get more and more advanced you will be introduced to a few different compilers to use for C. You chose3 years ago
Coder100 The main file is a binary file. You see, computers can't actually execute C, they have to transpile C into machine-code. The only downfall is nobody can understand machine-code, it's written in hexadecimal. You can compare it to something like hack.exe lol
Anyways, now that the main file is created, all we do is do ./main to execute it :D
Also, may I recommend C++? It's easier to learn :)
http://www.cplusplus.com/doc/tutorial/
https://www.w3schools.com/cpp/default.asp
https://www.tutorialspoin3 years ago
Explanation
Different people use different languages to make a new language. I want to create a language, too. But, which language should I use? (Any
Highwayman There are a ton of answers up already, but I just want to say this:
It depends.
If you’re making an interpreter, then what you really want it a fast language, like c or C++, because without it then you end up with a horribly slow language and that’s obviously not good. The python interpreter is written in C and it’s still slow, just to give you some perspective.
On the other hand, when writing a compiler, it doesn’t matter how fast your original language that the compiler is written in is. Th3 years ago
PattanAhmed @Daniel3210 Hi,
I personally recommend C because languages like Python are build from C.
> Pretty short explanation, Right?
lmao
3 years ago
MocaCDeveloper I would recommend C. Why? C just has a flexible low-level feeling to it. Many languages have been written in C, such as Go and Python!
Not only that, but using C gives you more control over the pure functionalities of the programming language.
If you use something like C++, yeah it may be fast and easy to use due to C++ support for higher-level features, but it will become a bit slower due to the fact C++ is a bit higher level and does not support much dynamic memory allocations.
C just gives 3 years ago
Explanation
I'm about to start making games. But I don't know how to use it with repl.it.
PattanAhmed @Daniel3210 Hi,
Sorry to say, You can't use UNITY on Repl.it :(
If you want Unity, then it's better to do your desktop IDE and upload it here in order to use or save later.
That's it
Thanks!
Hope this helps3 years ago
Coder100 Well, you will have to install unity here and then once you are done with your game, in the build settings, choose "build for web" and then upload the folder to repl.it :D3 years ago
SixBeeps You're not gonna be able to use Repl.it with Unity, nor any game engine like it. That is, unless you want to go through the pointless process of coding in a Repl and downloading the file to your computer each time you make a change to your code.3 years ago
Awesome game
I found this awesome game by @CodingRobot12. You should try it!
Gameplay in-game
Notes and Credits
@CodingRobot12
Python
Question
A few days ago, I was thinking of logging in on another device with my repl.it account. But when I went in, it was a whole updated version. B
SixBeeps Sounds like a caching problem. Try clearing your browsing data so force your browser to get the latest version.3 years ago
Hello!
Hello Fellow coders, I'm Daniel3210. Welcome to my project. (It's my first game ever)Hope you like it. If you want to say anything about it, yoLove2D
Bookie0 good start, try making the circle different colors each time you click, and maybe make it so that it goes faster and faster ;)3 years ago