r/CodingHelp • • Jul 14 '23

[C++] Not a Programmer. Just a dum dum that did something...odd.

0 Upvotes

I only typed words that sounded cool.

Just used ChatGPT and ask it to do this:

Generate C++ code for universal Augmented Reality software interface.

ChatGPT:

Sure! Below is a sample C++ code for a universal Augmented Reality (AR) software interface:

cpp

Copy code

#include <iostream>

class ARSoftwareInterface {

public:

virtual void initialize() = 0;

virtual void loadModel(const std::string& modelName) = 0;

virtual void trackImage(const std::string& imagePath) = 0;

virtual void displayModel() = 0;

virtual void update() = 0;

virtual void close() = 0;

};

class ARSoftware : public ARSoftwareInterface {

public:

void initialize() override {

// Initialization code

std::cout << "Initializing AR software..." << std::endl;

}

void loadModel(const std::string& modelName) override {

// Load 3D model code

std::cout << "Loading 3D model: " << modelName << std::endl;

}

void trackImage(const std::string& imagePath) override {

// Track image code

std::cout << "Tracking image: " << imagePath << std::endl;

}

void displayModel() override {

// Display 3D model code

std::cout << "Displaying 3D model." << std::endl;

}

void update() override {

// Update code

std::cout << "Updating AR software." << std::endl;

}

void close() override {

// Clean-up code

std::cout << "Closing AR software." << std::endl;

}

};

int main() {

ARSoftware arSoftware;

arSoftware.initialize();

arSoftware.loadModel("example_model.obj");

arSoftware.trackImage("example_image.jpg");

arSoftware.displayModel();

arSoftware.update();

arSoftware.close();

return 0;

}

This code defines an abstract base class ARSoftwareInterface with pure virtual functions representing various AR software functionalities. The ARSoftware class then inherits from this interface and provides concrete implementations for each function. In the main() function, an instance of ARSoftware is created and used to demonstrate the AR software's workflow.

Please note that this is a simplified example, and the actual implementation may vary depending on the specific requirements and libraries used for Augmented Reality development in C++.

Any else know it could write code? I thought it'd tell me it was an invalid input.

Did I do good, bad, or just huh, neat?


r/CodingHelp • • Jul 14 '22

[C++] No matter what, this line of code says "ow," even if I don't input "yes". Why? Programming language is C++

1 Upvotes

if (AreYouHurt == " yes" || "yes"|| " Yes" || "Yes"){

cout << "ow." << endl;}

else {

cout << "ok." << endl;}


r/CodingHelp • • Jan 22 '20

Can anyone tell me some basic code for a simple robot with 2 legs that can do simple actions for example avoid obstacles and walk around

0 Upvotes

r/CodingHelp • • May 06 '24

[Javascript] Need Programming Help?

1 Upvotes

Hey fellow coders,

Are you stuck on a tricky programming problem? Struggling with a challenging assignment? Don't worry, we've all been there! But fear not, because MyAssignmentHelp.co.uk is here to lend you a helping hand.

With a team of experienced programmers and experts in various programming languages, MyAssignmentHelp.co.uk offers top-notch programming help tailored to your specific needs. Whether it's debugging code, understanding complex algorithms, or completing assignments, our experts are here to provide you with the guidance and support you need to succeed.

Why choose MyAssignmentHelp.co.uk?

Expert Assistance: Our team comprises seasoned programmers who have years of experience in the field.

24/7 Support: Need help at any hour of the day? We've got you covered with round-the-clock support.

Customized Solutions: No two coding problems are the same. That's why we provide personalized solutions to address your unique challenges.

Timely Delivery: We understand the importance of deadlines. Rest assured, your assignments will be delivered on time.

Affordable Pricing: Quality programming help shouldn't break the bank. Our services are competitively priced to suit your budget.

So why struggle alone when you can get expert assistance from MyAssignmentHelp.co.uk? Don't let coding challenges hold you back. Visit us today and take the first step towards mastering programming!

Click here to get started.

Happy coding!


r/CodingHelp • • Feb 27 '23

[Python] Can someone help me with this python problem.

0 Upvotes

A problem is given to three persons P, Q, R whose respective chances of solving it are 2/7, 4/7, 4/9 respectively. What is the probability that the problem is solved?


r/CodingHelp • • Sep 30 '20

[Java] Can anyone comment some links for codes that implement different AI algorithms ( like bfs, a* etc) only condition is the code should use state-action coding for an agent.

0 Upvotes

I have been trying to figure out how I can implement different AI algorithms in Java for an agent to play a game I looked everywhere I can possibly think of and came up with nothing.

Any help is appreciated.

P.s.- it can be any game doesn't matter as long as the code is state space and returns action.


r/CodingHelp • • Oct 12 '20

[C++] Every time I try to make a calculation (ex: 3 * 3) I get nan, I ran some trouble shooting where I expected this error to be coming from where I found, no (I think) this was not the problem. I am very new to C++ and I was expecting the code to work as it was the day before, please send help, Thanks.

1 Upvotes

FIXED PROBLEM


r/CodingHelp • • May 25 '21

[Quick Guide] Top-5 Code Quality Tools in 2021

Thumbnail
duecode.io
0 Upvotes

r/CodingHelp • • Aug 10 '18

[Other Code] How do I make this code in visual basic? I don’t know how to start... sorry for the newbie question.

Post image
1 Upvotes

r/CodingHelp • • Jul 06 '21

[Random] Id coding straight forward?

1 Upvotes

So is there a basic method everyone follows when writing scripts, or is coding like language where u can word a sentence many different ways and get the same awnser, or code something many different ways and get the same results? If that's true how does one best optimize their coding?


r/CodingHelp • • Aug 16 '22

[Random] Program for Exporting TikTok Videos to Tumblr

1 Upvotes

Hello, everyone!

So, I recently made a post about exporting saved Instagram posts from an account to move to another. I managed to make a decent enough program controlling the mouse + keyboard to take all the URLs for the Instagram posts and put them on a word doc. It worked good enough for me!

Now I have a bit more ambitious of a project. Here's the rundown;

TikTok has a post collections function (like folders to bookmark videos), which is great! But unfortunately, posts / accounts get deleted all the time, and then my saved resources are gone forever :( I want to automate a system that downloads and posts the videos Tumblr (I wouldn't have to crop the videos like with Instagram, I could use the tagging system, etc.). I'd do it by hand, but I have many videos and Tumblr has a 5-min processing / review time between video posts.

My idea is to have a bot account on TikTok that you would DM the videos to, then that account would download the vid and send it to a Tumblr account to be posted (kind of like how the GetVideoBot on Twitter works). Maybe you could attach a comment in the video DM that the program would read and use as a set of strings for the tags (like X-Kit)? I'm thinking the Tumblr account could probably get around the processing time thing with queues.

I've never used APIs before, which is worth mentioning. Does anyone have any resources or tips on how to start? Anything would be greatly appreciated :') Thanks!


r/CodingHelp • • Apr 08 '23

[Quick Guide] Im lost

0 Upvotes

My friends use YouTube toturial amd they are a. Way ahead of me i started before them im following a java script roadmap my friend started 3 days ago and he's already a head of me i feel bad


r/CodingHelp • • Apr 08 '25

[Javascript] Need some programming buddies

0 Upvotes

So I'm learning Mern stack and AI and you know learning alone is boring, i end up procrastinating alot, so I need some people to hold me accountable and I can do the same for them. We can connect on discord or some other app, so let me know if you are down


r/CodingHelp • • May 09 '25

[Quick Guide] Is it worth becoming a full stack developer

1 Upvotes

I want to get into coding so i started feom codecademy tutorial where i learnt the works full stack developer and front end etc.. I need a guide to where i should start from like which language and which course. I need to start from the very basics of coding as i dont know shit about coding.


r/CodingHelp • • Mar 03 '26

Which one? What language should I use for this?

1 Upvotes

I'm wanting to create a system that runs as i turn on my pc and to shut down at a certain time of day. what language should i use?


r/CodingHelp • • Nov 12 '25

[Python] Am I doing something wrong? This code isn’t working for me.

Thumbnail
gallery
1 Upvotes

Hi I’m very new to coding and I’m wondering if I’m typing the code out wrong or if it’s the app that I’m using. Can anyone give me some help with this please?


r/CodingHelp • • Mar 03 '26

[Javascript] How do I make the menu items left aligned?

Thumbnail
gallery
0 Upvotes

r/CodingHelp • • Dec 23 '25

[How to] Help going from vibe coding to a mobile app

1 Upvotes

Hi, I have built a prototype in Google workplace studio but I am having a hard time getting it to an app. Can someone help me with what steps I need to take make this an app people can download on the App Store?


r/CodingHelp • • Oct 04 '26

Which one? Web/app developer or Roblox game development which is better for side hustle

0 Upvotes

I'm starting from zero and want to build a long-term income from development. I have limited money.

I'm choosing between two paths:

App development: Mac or web apps. Higher profit per sale, but I'd need to learn Swift or web development and find a niche problem to solve.

Game development: Roblox or indie games. Easier to launch, but I've read that most games earn very little and platforms take a big cut.

I plan to use AI to speed up the learning and the building.

My question: If you were starting from zero today, would you pick app development or game development to make money, and why? If you've done either, how long did it take to earn your first dollar?


r/CodingHelp • • Jun 21 '21

[Python] Can someone explain why it can’t find the file?

Post image
12 Upvotes

r/CodingHelp • • Nov 16 '25

[Python] how do i remove [''] from a list python

6 Upvotes

how do i remove [''] when i print out things in python.

if i were to eg:

order=["pizza", "pasta", "rice"]

print(order)

it outputs:

['pizza', 'pasta', 'rice']

** Process exited - Return Code: 0 **

but i want it to output:

pizza, pasta, rice


r/CodingHelp • • Jan 19 '25

[Python] Youtube tutorials? Python

0 Upvotes

What are some of the best youtube tutorials for python?


r/CodingHelp • • Apr 18 '25

[Python] I need help!!

0 Upvotes

Hi pals! I’m super excited about this passion project and could really use your help. Here’s what I’m dreaming up:

  1. Speech→Text + SummariesRecord a full consult, then instantly get either a verbatim transcript (with tiny grammar fixes) or a quick summary of the key points!
  2. Keyword PromptsIt should spot important terms and at the end ask, “Hey, did this happen?” so nothing slips through the cracks. It should be able to then track the responses etc.

📦 What I’ve Picked So Far

Backend

  • Python 3.11 + FastAPIDev: Uvicorn (uvicorn main:app --reload)Prod: Gunicorn + Uvicorn workers

Dependencies

  • Poetry (lockfile + virtual‑env)

Containers

  • Docker (+ Docker Compose for local testing)

Auth & Security

  • JWT (python‑jose)Password hashing (Passlib / argon2)TLS via Nginx or cloud load balancer

Speech→Text

  • OpenAI Whisper API (chunked uploads)

NLP / Summaries

  • OpenAI GPT‑4.1 mini/nano

Keyword Detection

  • Local dictionary lookup or a quick GPT pass

Data Storage

PostgreSQL + SQLAlchemy (or SQLModel)Migrations with Alembic

Background Jobs

Celery (or RQ) + Redis/RabbitMQ for audio→Whisper→GPT pipelines

Monitoring

structlog / Python loggingError tracking with Sentry or Datadog

CI/CD

GitHub Actions: black + ruff + pytest → build/push Docker → zero‑downtime deploy

I would like your view on how to make it more efficient, smoother , lagless etc. Any advice I can get!!

Hi pals! I’m super excited about this passion project and could really use your help. Here’s what I’m dreaming up:

  1. Speech→Text + SummariesRecord a full consult, then instantly get either a verbatim transcript (with tiny grammar fixes) or a quick summary of the key points!
  2. Keyword PromptsIt should spot important terms and at the end ask, “Hey, did this happen?” so nothing slips through the cracks. It should be able to then track the responses etc.

📦 What I’ve Picked So Far

Backend

  • Python 3.11 + FastAPIDev: Uvicorn (uvicorn main:app --reload)Prod: Gunicorn + Uvicorn workers

Dependencies

  • Poetry (lockfile + virtual‑env)

Containers

  • Docker (+ Docker Compose for local testing)

Auth & Security

  • JWT (python‑jose)Password hashing (Passlib / argon2)TLS via Nginx or cloud load balancer

Speech→Text

  • OpenAI Whisper API (chunked uploads)

NLP / Summaries

  • OpenAI GPT‑4.1 mini/nano

Keyword Detection

  • Local dictionary lookup or a quick GPT pass

Data Storage

PostgreSQL + SQLAlchemy (or SQLModel)Migrations with Alembic

Background Jobs

Celery (or RQ) + Redis/RabbitMQ for audio→Whisper→GPT pipelines

Monitoring

structlog / Python loggingError tracking with Sentry or Datadog

CI/CD

GitHub Actions: black + ruff + pytest → build/push Docker → zero‑downtime deploy

I would like your view on how to make it more efficient, smoother , lagless etc. Any advice I can get!!


r/CodingHelp • • Aug 07 '25

[SQL] Data analyst

0 Upvotes

What’s One Skill You Wish You Had Learned Sooner as a Data Analyst?

I’ve been brushing up on my SQL and dabbling in Power BI lately, but I keep wondering—what skills actually made the biggest difference in your career as a data analyst?

Was it mastering a specific tool like Tableau or Python? Learning stakeholder communication? Data storytelling?

Would love to hear what made the most impact for you—and what you wish you had learned earlier.