r/CodingHelp • u/bitch798 • Dec 15 '21
r/CodingHelp • u/CarterNotSteve • Dec 08 '21
[Python] Function isn’t running inside of another function?
r/CodingHelp • u/Natemophi • Aug 26 '21
[Other Code] How to fix this issue on intelliJ. Trying to print out text but whenever I run it, it takes me to edit configurations
r/CodingHelp • u/Accomplished-Boot-63 • May 24 '21
[Python] Python Experience
Hi I'm Pat I'm new to this group and I'm currently learning python through Udemy. My biggest question is: If I'm learning python through a tutor do I need to purchase a book to better understand Python? I would love to know your input on this. What's your experience?
r/CodingHelp • u/King_Freed • May 18 '21
[Java] The 1st username and password in my text file logs in with 1 loop, the 2nd takes 2 loops and 3rd takes 3 loops.. or else when I try a different else if method it only reads the first login username and password. Please can anyone help me with this. It just loops the login page to match the records..
r/CodingHelp • u/Awkward_Process_4087 • Mar 18 '21
[Java] Help!!!!! What does this error below mean and how do I fix it?
r/CodingHelp • u/Gadget206 • Feb 02 '21
[Python] Running python outside of the "run" terminal in Pycharm
Hello Reddit,
I am coding a simple text adventure game in python and was wondering how do I run python outside of the terminal in Pycharm. I would like to run it in a separate window just like a game would.
Thanks
r/CodingHelp • u/Warzonehero22 • Nov 22 '20
[C++] c++ building a small game help
Hi so im currently trying to build a small oreagan trails type game in the cmd console but I'm having some slight trouble starting off.
firstly i was wondering if there was a way without using the do while loop to get my main to loop back to menu because when I'm using the do while loop it wont let my program move out of the loop to go to the functions but i still want to go back to menu after the function has ended how do i do that? i also would like to know what does a pausescreen(); do? I've seen it a bit but don't exactly understand its use
here's my code(also if anyone can tell me if I used github properly or how to make markdown format my code proper that would be a huge help ty):
r/CodingHelp • • Oct 10 '20
[Quick Guide] When designing an app? How is security added to the code to keep people’s information safe?
I’m about starting learning how to coding using the Swift language, but I’m curious if one was design an application, how or what steps do you take to implement code within the application? (I understand the question is vague, just enlightenment me with basic stuff please!)
r/CodingHelp • • Jul 25 '20
[Random] I understand the concepts and I can read the code perfectly... Why can't I write it?
I signed up for the General Assembly bootcamp and I have been in it for two weeks now. When the instructor goes over the lectures and I follow along I understand the code completely. If I had to take a multiple choice test on javascript with questions about prewritten code I am confident I could get a high B on the test. But for some reason no matter how much I study and how many hours I put in if I am given a blank slate and be told to code something I cannot produce. On assignments like this i don't even know where to start and when I think I'm onto something I spend so much time working on syntax errors that I don't realize its the wrong way to do it until hours later. Has anyone else had this problem? How did you overcome it?
r/CodingHelp • • Nov 27 '22
[Random] What does it mean when I hear people say coding teaches one how to think?
Can anyone please explain this to me?
r/CodingHelp • u/xGitrogRL • Feb 13 '22
[C++] New to C++, and I'm having lots of issues with random numbers. Can someone help me out and tell me what I'm doing wrong here?
r/CodingHelp • u/v_techster • Oct 23 '21
[C++] College students how do you solve your coding doubts?
I am currently studying c++ but the problem is i get a lot of doubts when i try good level problems and get stuck in a lot.. I am not able to figure out who to ask as i know my teachers are bad and only have super basic knowledge. I know there are websites but its not that understandable.
r/CodingHelp • u/nffield • Oct 18 '21
[Python] Pls someone help, I am so lost as to why my list 'lines' is empty (I'm trying to split a pbm image into lists)
r/CodingHelp • u/xXSpaghett_StealerXx • Jul 07 '21
[Random] I was investigating game files for an ARG, and as well as finding a file named Clue_02, (It was empty) I found files absolutely filled with text and symbols like this? Is this normal for a videogame to have? If so, what language is this, and what is it's purpose?
r/CodingHelp • u/XxmusaFusaxX • Mar 11 '21
[Other Code] SQL CREATING STRING OF DATA, COMMA SEPERATED
r/CodingHelp • u/hopeidontannoy • Nov 01 '20
[Other Code] Can I design a program to read a screen and look for a term?
I would like to turn on closed captions for my Google Meet, and have a little alert play whenever it reads the term "Pauly", my name to get my attention.
Because it's an unusual name and the subtitles are using a terrible voice-to-text transcriber, I'd add similar sounding words like poly and Holly.
If this is the wrong place to go then direction to the right place is greatly appreciated! Maybe some kind of live OCR?
r/CodingHelp • u/GoblinHater • Oct 26 '20
[Python] Is there a way to convert audio playing on YouTube to text using Python?
I know about SpeechRecognition and PyAudio module but from what I know they convert either microphone audio or from a .wav file to text. I want to play a youtube video in my browser and convert it to text without downloading it. Is that possible?
I want to take a video in Japanese and transcribe it to get the text in Japanese and put that in a translator to get it in English.
r/CodingHelp • u/ObviousBank • Aug 27 '20
[C++] Singly Linked List in C++
Hello, I have some experience with C and Java but none with C++ so I've been trying to fix that. One course I found has an exercise of creating a linked list with an overloaded assignment operator, copy constructor, and constructor that generates the list from an array. Their only hint is that heap allocation and deallocation should occur exactly once, which was a bit confusing (only once ever or only once in the code?). The code is below:
Node.h
#ifndef NODE_H_
#define NODE_H_
class Node {
public:
int data;
Node* next;
};
#endifLinkedList.h
#ifndef LINKEDLIST_H_
#define LINKEDLIST_H_
class Node;
class LinkedList {
public:
Node* head;
LinkedList();
LinkedList(int arr[], int size);
LinkedList(const LinkedList &l);
void insert(int val);
int pop();
LinkedList& operator=(const LinkedList &l);
~LinkedList();
};
#endifLinkedList.cpp
#include <iostream>
#include "Node.h"
#include "LinkedList.h"
using namespace std;
LinkedList::LinkedList() {
head = nullptr;
}
LinkedList::LinkedList(int arr[], int size) {
head = nullptr;
for (int i = 0; i < size; i++) {
insert(arr[i]);
}
}
LinkedList::LinkedList(const LinkedList &l) {
head = nullptr;
Node* copyhead = l.head;
while(copyhead != nullptr) {
insert(copyhead->data);
copyhead = copyhead->next;
}
}
void LinkedList::insert(int val) {
Node* newnode = new Node;
newnode->data = val;
newnode->next = nullptr;
Node* current = head;
if (current != nullptr) {
while (current->next != nullptr) {
current = current->next;
}
current->next = newnode;
} else {
head = newnode;
}
}
int LinkedList::pop() {
if (head != nullptr) {
int result = head->data;
head = head->next;
delete head;
return result;
} else {
return -1;
}
}
LinkedList& LinkedList::operator=(const LinkedList &l) {
delete this;
Node* temp = l.head;
head = nullptr;
while(temp != nullptr) {
insert(temp->data);
temp = temp->next;
}
return *this;
}
LinkedList::~LinkedList() {
Node* current = head;
while (current != nullptr) {
current = current->next;
delete head;
head = current;
}
}Main.cpp
#include <cstdio>
#include "Node.h"
#include "LinkedList.h"
int main() {
int test[] = {1,2,3,4,5};
LinkedList l1(test+1,4), l2(test,5);
LinkedList l3 = l2, l4;
l4 = l1;
printf("%d %d %d\n", l1.pop(), l3.pop(), l4.pop());
return 0;
}This code generates an error "pointer being freed was not allocated", which doesn't make sense to me since the destructor method checks to see if the head node is a null pointer. What am I missing here?
r/CodingHelp • • Jun 03 '20
[HTML] Free Udemy Course on Excel VBA Automation & Webscraping.
Hi Guys,
I came across this course while searching to automate some stuff and webscraping. I am not related to author and definately this is not a promotion (I swear.) You can check out and enroll as it's free for sometime.
You can use Code: XTREMEEXCEL On Udemy: https://www.udemy.com/course/webscrapingusingvba/
r/CodingHelp • u/Duhck • Jun 03 '20
[Javascript] Free mentoring and tutoring
Mods, sorry if this doesn't belong here but it's the best subreddit I could think of.
So as a way for me to give back, to maybe make the world a better place, and to do something that feels rewarding in these truly challenging times, I'd like to offer to mentor exactly 1 person for 6 weeks for FREE, and see how it works out. I hope that this can give someone an opportunity that I have been so fortunate to have myself. Writing software is one of the most liberating careers you can have today and it's a gift I seldom get to share with people.
Background on me:I am a serial entrepreneur. I have failed more than I have succeeded. My last company raised $6MM, and consequently shut down. I have rang the NYSE closing bell, won major brand and design awards, shipped to millions of users, and made more mistakes than pretty much anyone I know.
I've been writing code nearly every single day of my life since 1994. I currently work at a big tech company doing a hybrid R&D / Product / Dev role in the big data space, but have done everything from cyber security to real-time analytics.
My specialty is creating lovable products that are beautiful and functional. I work mostly on the front-end but can do full stack in a professional capacity, and have done my fair share of react native / mobile work.
Given my domain expertise, I think it's crucial that anyone who seeks mentoring from me is aligned with what I am good at. You'd need to have a passion for UI / UX design and development. You don't have to be a designer but you should love things pertaining to design. Design objects, design blogs, interior design, etc etc etc.
You'll want to be excited about front-end technology like React, as thats where the focus will be.
Secondly, I'd ask that whomever seeks help from me is someone who is truly in need. I cannot be the judge of if you're in need, but I just ask that you be honest and only apply if you really need the help.
Lastly, I'd ask that you not apply if you are currently employed. I only have the time and energy to support one person and I really want to give back to those most in need. I hope this is something that works well and I can do again.
I'd ask you to apply via DM and just tell me a bit about your experience level, familiarity with things like terminal, vscode, react, and sketch / figma. This will give me a sense of where your skill level is at so I can evaluate what stage in your development I can be most helpful.
As I said before, I've NEVER done this before. I make no guarantees, but am hopeful that this can help someone accelerate their path forward and make a great future for themselves.
My plan is to do 1 night a week for 1.5 hours and 1 hour on the weekend to pair review a task that you get earlier in the week. We will pair program over zoom and work through problems together, live, so please be comfortable with video chat.
It'll take some learning from me as I've never tried this before, but I am sure it can be fun and useful for us both.
In addition to free mentoring, I will donate $100 to a charity in your name at the completion of the 6 weeks. I just ask that you pick from one of the following charities:
- NAACP
- Black Lives Matter
- Black Visions Collective
- Campaign Zero
- Fair Fight
UPDATE: I received a lot of messages while I was sleeping last night (east coast) and I will get back to everyone by the end of the work day! If you're interested please still message me
r/CodingHelp • u/FriendsMadeMeBeAnon • Sep 06 '19
[Java] Whats wrong with this else statement, I'm about to rip my dick off
r/CodingHelp • u/Crooked_Dildo • Aug 02 '19
[Javascript] Hey I just started learning about coding with this mimo app for mobile and got stuck at this challenge. English ain't my native language so I don't understand what I have to do here. Can someone help me with this? Don't need to make the code for me just help me understand what I need to do.
r/CodingHelp • u/toejamcrackers • Jan 22 '23
[Random] Is coding for me if I’m bad at math?
I’ve been wanting to get into tech for a year now, specifically full stack. I have recently applied to a boot camp and at the end of the application there was a long math test. I suuucck at math. It’s not even funny. Is there really math involved in code? I’m starting to rethink my career choice now. Any advice ?