LardBoi LardBoi
@LardBoi
As of Dec. 7, 2017, I have been coding for two years. Python and recently c++. Now I'm getting into C#
I know python has import replit replit.clear() and it's said that it's only supported for python. I was just asking if that's true. I'm coding in C++
ash15khng Currently replit.clear() is only supported on Python, but I think you can suggest it at repl.it/feedback but I think it is quite a popular suggestion so you may not want to make a new thread/post (whatever you call it)5 years ago
JoshDaBosh https://repl.it/@JoshDaBosh/DearVigilantSandbox
There's a module called replit that you can import. Call it by taking any user input and calling replit.clear()5 years ago
Since I just uploaded a c++ one and most people here like python, this one is for you.
Python
I promised to do this a while back but then I found out my c++ highscore file system (which this is based off of) is faulty when I was testing it so t
Python
DrAvery I think this would be much better with a json.dump() system worked into, that way you can put names, dates, scores, etc. and then read, print or do other things with that info. The way your script works now, is that it writes over the existing data.
Just a though/suggestion,
Dr. Avery5 years ago
TrevorBarron Nice game for kids to practice their math. Some features to consider...
move the question mark away from the second number
timed mode... answer as many as possible in a given amount of time
multiple choice (A) or (B) where one is correct, one isn't
more variability in the numbers ..
different ability levels... sums 100
subtraction, multiplication
clean this up and you could put it on the app store.... every 2nd grader would want it.
5 years ago
https://repl.it/@LardBoi/High-score-system
By:LardBoi
I'll make this in python if you want me to.
This is probably the most complex thing I've done in C++ I realize it's messy so I hope someone more experienced than I am could help me out in cleani
timmy_i_chen You should come into our discord channel! People here can help. :)
https://discord.gg/346Tapr5 years ago
I was using the open() and expected a file to be created like what's supposed to happen on a non-online IDE. I fixed the issue of just making the file
timmy_i_chen Files can be created programmatically, but they won't appear until the repl finishes executing. Same with file updates.5 years ago
Can someone just briefly explain why I should operator overload and what it's good for in what scenarios. Because, although I know how to use the oper
I'm not interested, at the moment, in web languages like javascript html css and so on. And I do know python is used on websites like youtube for exam
Kai23Dot yep I learn python it is so fun and the simplest coding language and I would recommend it for beginners.2 years ago
I know there's file folders but I mean folders for the actual repls. Because I like to code a lot of small things to make examples for myself for futu
hayaodeh To be completely honest with you we tried to solve the folder problem by creating starring and smart search, I am not sure if or when we're going all in for folder creation in Repl.it, the reason why it's because we're busy in creating better tools in the IDE and make it easier and easier to code in Repl.it environment. Is this problem making it hard for you to use the product?5 years ago
Try and break it please!
https://repl.it/@LardBoi/Guess-the-Number
CodeCat36 exit status 1
main.cpp: In function 'void Game\(\)':
main.cpp:36:3: error: expected '}' before 'else'
else if \(y == x\){
^~5 years ago
https://repl.it/@LardBoi/Python-between-files
https://repl.it/@LardBoi/My-First-C-Class-between-files
Here's this. I randomly made it testing my knowledge.
https://repl.it/@LardBoi/Colored-Text-to-terminal-C
Basically there's a header file "colormod.h" and that has the color code directly to the terminal
samvader Cool, I didn't know this was a thing! I've just been using Curses, which may be more robust but isn't quite as simple. I like it.2 years ago
babbott1 I used your code a starting point to convert it to straight C ... didn't finish though...
https://repl.it/@babbott1/font-colors
3 years ago
nN34398Ff Hmmm.... I tried it on here and it worked, but when I tried using it on my project, it said colormod.h doesn't exist.3 years ago
Here's a tolower example.
https://repl.it/@LardBoi/Tolower-C-example
Here's a case sensitive for loop. It turns inputs or any variable containing whatever i guess to all lower case by tolowering every letter in the loop