Skip to content
Open navbar menu
Sign UpLog In
Profile icon

Jerry Ma

@RongjinMa
  • Database Go example

    Cover page
    Made with Go
    Recent comments (0)
Repls
Community
RongjinMa
RongjinMa
published an Update
1 year ago
1
based bobux
based bobux
New to C++, can someone help me debug
I dont know whats wrong with my code, it keeps saying core dumped segemation failed
RongjinMa
RongjinMa
@Highwayman thanks for the help, I fixed it :)1 year ago
RongjinMa
RongjinMa
@Highwayman a bit late, but could you emphasize on passing around global variables?1 year ago
Highwayman
Highwayman
@RongjinMa Sure thing! All I really mean to say is that instead of having a global variable for something like `extern board` or `extern pieces`, you'd change your functions like `void createBoard()` to `void createBoard(vec<vec<char>>&)` and declare `board` inside of the main scope. There isn't much reason to declare it outside of main as you *don't* actually have no other way of accessing the board from your functions, and making mutable global variables is just bad practice for the future, apparently... Honestly, if I were you, I would have just made a little class/struct for board instead of a bunch of separate functions, but yeah... 1 year ago
RongjinMa
RongjinMa
published an Update
1 year ago
0
Change console text color
Hi, I am wondering if there is a way to change the color of text in the console. I am not using a windows computer so I cannot use
RongjinMa
RongjinMa
published an Update
1 year ago
0
how to get server variable?
my freind made this: https://replit.com/@GabrielWest2/kahootclone?v=1 i was wondering how he made a server variable and how to do it in cpp
PikachuB2005
PikachuB2005
@RongjinMa Those are only for node and python. For C++ you should just write files to save/retrieve data. Here: https://www.cplusplus.com/doc/tutorial/files/1 year ago
RongjinMa
RongjinMa
published an Update
1 year ago
0
Cloud Variables In C++??
Hi guys, I am wondering if there are variables that carry over even if the program is stopped in C++
RongjinMa
RongjinMa
@SixBeeps ok1 year ago
RongjinMa
RongjinMa
@MocaCDeveloper thanks for the help1 year ago
PikachuB2005
PikachuB2005
@SixBeeps What's wrong with Scratch (for younger kids)? I was able to use replit to mess up cloud games on there lol rip griffpatch1 year ago
RongjinMa
RongjinMa
published an Update
1 year ago
0
Global Variables???
Is there global variables in replit? Global arrays?
RongjinMa
RongjinMa
published a Repl
2 years ago
0
Leap Year Calculator
Leap Year CalculatorCalculates if year is leap year or not
RongjinMa
RongjinMa
published a Repl
2 years ago
0
JaeyoonLee3
JaeyoonLee3
What does this do?2 years ago
RongjinMa
RongjinMa
published a Repl
2 years ago
2
Sorting System
Sorting System10 int sorting system
MatthewAlfandre
MatthewAlfandre
oh yeah this is the one 2 years ago
RongjinMa
RongjinMa
published a Repl
2 years ago
0
Excuse Generator
Excuse GeneratorMakes a random excuse
MatthewAlfandre
MatthewAlfandre
yooooooo2 years ago
YeliBello
YeliBello
You can save nearly 11 seconds in loading by typing "java Main"(without quotes) in the shell2 years ago