h
Mosrod (525)
Guide to Asking Coding Questions
# **Guide to Asking Coding Questions** ## **Why?** Good questions help your question be solved faster, and people will want to answer your questio...
h
amasad (3351)
Wildest programming language idea
What is your wildest programming language idea? This could be fun (silly) ideas or really cool and useful ones. Go! Also on le twatter: https://twit...
xxpertHacker (864)
[Solved] C++ What is the point of referencing object methods via class
One can call a method on an object, ex: `"123"s.at(0)`, or reference the method from the class, ex: `std::string::at`. Yet, the latter always causes...
sashavoronezh (20)
how to download my repls?
My teacher gave our class a task to register at a website which provides us with problems that we are supposed to solve. That website said that we hav...
answered
MatthewMartin14 (0)
my user inputs keep going to the wrong functions
im making a c++ game to self learn c++ but i keep getting this strange bug when i ask the user for and input it will sometimes go to a completely diff...
h
elipie (379)
C++ For loop error
wb people another error in me lexer (this question will have multiple parts btw). Errors is kinda gettin old. So, how could I fix this error without c...
answered
Bookie0 (5943)
[C++] Help with C++ program not executing
## Hi!! I have this exericse to do for school, in scratch, but I decided to impress my teacher by making it both in scratch, python, and C++. (scra...
answered
h
elipie (379)
Am I doing this right?
Ok so the pie lexer... is in the repl below. But when I try to copypasta it into a file called `Lexer.cpp` and `#include "Lexer.cpp"` into the main fi...
answered
h
Coder100 (16789)
No default constructor exists
Reproduction: Click the RUN button. Why is it doing that? I am assigning a value! Is there a way to make a default value?
sayas02 (9)
How do I download a CPP file?
Nevermind! Figured it out. I just did some more troubleshooting and now I feel a little stupid, but it is okay. I figured it out.
answered
xxpertHacker (864)
memcpy into shared_ptr doesn't fully copy?
The attached Repl should copy the text "Hello, world!" into an instance of a SharedString, and then print it. It only prints "Hello, w" though... and...
h
joelmtebe (0)
DEBUGGING ON C++
I am trying to see if there is memoryleak on my project i have created. is there a way to check through here? i know on visual studio you can use exte...
KASON123 (6)
Need Help With break
So im trying to break a no Question and i dont know how to create a loop for this iv done research and everything i cant find a good one ```cpp #in...
kirtikatambi (2)
A small problem
Hi... I am facing a small problem in my repl for C++. Every time this file called 'main' appears and no matter how many times I try to delete it, dele...
xxpertHacker (864)
C++ Renaming base class members upon inheriting
While you're on, @DynamicSquid, are you interested in looking into this? ___ Consider a class such as std::string, which has ::length(), and ::size...
coproc (1)
quickly render html file generated in C++ repl
I have an HTML file in a c++ repl (it is actually generated by running the program). The generated output file appears in the file list of the repl. W...
PoeticJustice (4)
how to download file to my MacBook
how to download file to my MacBook
RepelDown (4)
RPG game help?
I'm new to C++ and games, can someone with any C++ and/or gamemaking experience please help me? Thank you!
answered
h
elipie (379)
struct: expected unqualified-id error [pie lexer]
So yeah yet a 'nother question on the lexer. So basically I have code, and the struct is erroring out: ```cpp struct lexer(){ ``` The rest is in `L...
hedimaamar (2)
Need some help from you guys
I have a lab it's due tomorrow, it's my first time using repl, and I not sure how to use it properly, I got stuck in this part *Click on 'share', then...
baolinchang (5)
Please help me! :)
Hello! I'm working on a game of battleship, and I don't know why I can't place multiple ships on my board using my function 'placeship()'. If anyone c...
xxpertHacker (864)
Overloading std::wostream operator << doesn't work
I created a template overload for the std::wostream operator to work on a vector type to print it like a JavaScript array: `[ Vector[0], Vector[1], .....
answered
RepelDown (4)
Color
How do I add color to my ```cs std::cout << "That is not a letter"; ``` for my name genarator? Can anyone with C++ experience please help me? Thanks...
answered
zplusfour (890)
Filesystem module in repl.it doesn't work (C++)
so hi I am making a project (don't judge from the beginnig) and the filesystem module is not working, can you help me why. I've searched up stackoverf...
answered
CattusChief55 (6)
Script Problem
Using C++, keep getting a load of error messages from this script. Anyone know how to fix or what's wrong with it?
answered
MatthewMartin14 (0)
Im having problems with getting 2 of my functions too loop to each other.
so i made 2 functions and at the end i want them each to go back to the other one but i keep getting this error: error: use of undeclared identifier '...
answered
calebchan1 (3)
.replit run file
I imported a cpp repository and want to compile and run the project. However, the .replit file only has room for 1 command, not 2. is there a way to c...
answered
Kingoftheof1 (5)
Why does boost.asio keep giving me errors?
Why is it that when I run this program that I get more errors then I can count? Why is repl being so mean to boost.asio? Also, is there a work around?
sayas02 (9)
How do I save a cpp file on Windows
I have a Windows 10. And I need to submit this assignment as a cpp file. For some reason, my laptop will not allow me to rename the file. If I open it...
hedimaamar (2)
need some help from you guys
I have a lab it's due tomorrow, it's my first time using repl, and I not sure how to use it properly, I got stuck in this part *Click on 'share', then...
debby_telfer (2)
Which GUI package can you use in C++ code in repl.it?
Please tell me which GUI package can be used in my C++ code and what special commands do I have to do to use the GUI import?
answered
h
KeaganLandfried (35)
HELP: gets() statement not working in C++
I was wondering why I am producing an error on line 11 of this code. In Microsoft Visual Studio 2010, this code runs fine. However, the gets() stateme...