Ask coding questions
Mosrod (391)
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...
amasad (2373)
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...
HahaYes (903)
Really messy C++ Code
Can anyone give me any tips on how to write cleaner code? Not just for C++ but really any language. (But I mainly write C++)
GraceVenis (3)
Why is my output printing like this?
This program has a class called Person, a vector of type Person, and an input file that populates the vector. There's not much left to do with this c...
GumballDumball (0)
Exit status?
Whenever I try to run my code it just ends up as Exit Status 4 or 5. Please help me and fix my code. Thanks. Edit: My code is supposed to be when the...
baolinchang (5)
Please help! It says undeclared Identifier and IDk how to fix it.
Hello! I am fairly new to using classes in C++ and I was trying to do me.printsummary but it comes out as an error because it says there is an undecla...
GraceVenis (3)
How do you loop a convert string? C++
This code simply prints the word-form of any number. However, I am having an issue with the output of the larger numbers. If you run my code, you will...
GraceVenis (3)
C++ Program Assignment HELP
I need some help with this assignment! I have attached my code from my previous assignment that writes a program that will accept a number up to 3 dig...
boowho (0)
What's wromg with this SIMPLE code snippet
It throws segmentation error.... BTW, I'm a returning C programmer after MANY years away from programming.... ______________________________________...
NgMarco (0)
An Encryption Question. Made me lost 100000 brain cells :D
Hi guys! I am a c++ learner and recently studying array. Yet I found one of the questions of my assignment is out of the syllabus(we only learn basic...
harkirn (0)
How do i get it to stop rebooting?
I have opened this code in various browsers and it is still rebooting. ![Screen Shot 2020-06-21 at 12.41.22 PM](
munkhbat (0)
Binary Search Tree
Hello guys, Right now I'm trying to figure out how to insert a number to a BST if it doesn't exit while reading from an input file. The file would con...
Description (3)
terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc
Raised error: "terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc" It doesn't tell me which part of the code i...
AtriDey (88)
Broken if statement
Probably made a stupid mistake here, but I have no idea what it was. This error only occurs in the `void fast_mode` function. The highscores are broke...
RyanMaduabum (0)
Im having issues with this code. can someone help me review it?
I just need anyone who could just look over this code and help me fix the errors it keeps making
sionan (3)
Anyone know what im doing wrong?
Trying to find length and width of a rectangle using area and perimeter
NgMarco (0)
C++ Armstrong number between 2 user input and cout the scond greatest and the smallest among them
the program is to find the Armstrong numbers between 2 user inputs and cout the second greatsst and the smallest amaong them. Yet i dont know how to...
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...
StudentFires (327)
C++ How to use true read only memory?
My Repl builds upon an example given at, but heavily derives from what they used by using modern C++ capabil...
JonathanWesely (2)
Settings issue
Hey so I'm having an issue where all my code becomes grey, (its happening in the LL.functions file) and I don't get that feedback for errors through c...
Andrea_del_Pila (1)
Download generated file
Hi! My C++ code produces a binary file when I run it, however I'm unable to download that file because it didn't appear in the left panel. How could I...
AtriDey (88)
[Solved] Why won't my program run in a new tab?
It never works. I don't know what else to say. This one's a program for a I'm doing at school, and it once again won't work. https://den...
andreas7606 (0)
school work HELP ASAP
A friend has sent you the Wi-Fi code in the email. For security reasons it has hidden the code within a sequence of up to 100 characters. The sequence...
duongvuong (3)
My repl code
Hi, I'm a new learner and I have been trying to fix this code for 3 days and I still haven't figured anything out yet. Please help me, thank you!
kylep3 (1)
Code is glitching when trying to run
Using a Buddys cold to hopefully implement my own woks too it but every time I run it the image files on the code look glitch
sdemodica (0)
I need help with my vectors.
My vectors aren't being accepted into my function (Please see comments in program). It gives a "segmentation fault" error message when it tries to run...
nt998302 (159)
Text based animal catching game
I guess you can say this is like Pokemon. I was bored, so I made a purely rpg based animal catch game! I hope you enjoy! Btw, the -__- glitches out th...
nullified (7)
Need help
i'm trying to show this: Hello. [CLEARSCREEN] Hello.. [CLEARSCREEN] Hello... [CLEARSCREEN] Hello. [CLEARSCREEN] ... but it doesn't seem to work. wha...
BFDMod (3)
How to return to another line of code in c++
I am programming in c++ and making a food ordering app, first it shows the menu, then you pick something, then I want the program to to return to the...
Baconman321 (65)
C++ adding numbers??!!!
Ok, this is weird, and I am more of looking for an answer as to why this is happening because I am VERY curious on how this could possibly work. If yo...
sionan (3)
Trying to convert inches to millimetres
Can anyone tell me what im doing wrong?
dkgaters (0)
How to save your repl as a file document
How to save your repl as a file to paste to an assignment tab for class.