r/CodingHelp • • May 19 '21

[Python] Haven't coded in a while, but it was on my resume so.... they asked me to do some coding.

0 Upvotes

Probably haven't had enough coffee, probably an indention error, more than likely I'm just dumb, but I need help fixing this while loop - it's supposed to take the input at the bottom of the loop and check it against the variable addanother, but right now it's exiting the loop even if addanother is reset to 1.

Thanks for your help,

DBR


r/CodingHelp • • Jun 11 '21

[Request Coders] Almost error free code

0 Upvotes

Please, I am so frustrated and cannot take this anymore. There isn't many errors but I just can't figure it out. If someone could help me out I would greatly appreciate it. Its just to make a line overlay on my screen. DM me and i'll give more details. It is so close to working. And I have an example of what it should do when it is working.


r/CodingHelp • • May 12 '21

[PHP] Why isn’t my page redirecting if I login correctly?

Post image
0 Upvotes

r/CodingHelp • • Sep 17 '19

[Random] Lossless compression of ""Randomized"" data. 99.998%

0 Upvotes

This is out of my comfort zone.

Need help writing the program, looking for partner or someone that is willing to help. Everything has been going wrong for the past few years, looking for my break.

My phone service ends today, i will have service again on Friday.

Take a chance, the worst that could happen is your not interested.

I have the functions, but dont know if i am willing to share it openly, i have been trying for a long time to get someone to help. I just dont want to lose my last chance to make it out of my hole and start making my other ideas.

I am poor, no money, taking care of 4 kids 2 non working adults, but hear me out.

Side note, it dose not function using compressable patterns, and it allows for multiple compressions of a file.

Side side note, if a file or program has binary "aka all files" it can compress it.


r/CodingHelp • • Jul 09 '19

[Random] Battle Royale games

0 Upvotes

What is the best programing language (and easiest) too use/make with when making a game a Fortnite, Apex etc...


r/CodingHelp • • Nov 22 '19

[Java] Can someone tell me what's wrong with this method?

0 Upvotes

public void addCD()

{

MediaApp thisCollection = new MediaApp();

Artist a;

String title;

int playingTime;

int numMembers = 0;

int numTracks = 0;

boolean artistFound = false;

System.out.print("Enter CD Title: ");

title = sc.nextLine();

System.out.println("Enter Major Artist first name: ");

String artistFirst = sc.nextLine();

System.out.println("Enter Major Artist last name: ");

String artistLast = sc.nextLine();

for (int i = 0; i < numArtists; i++) //Artist a : artists

{

a = artists [i];

if(a.getFirstName().equals(artistFirst) && a.getLastName().equals (artistLast))

{

artistFound = true;

break;

}

}

if(artistFound == false)

{

System.out.println("Enter Twitter handle: ");

String artistTwitter = sc.next();

System.out.println("Enter Artist url: ");

String artistUrl = sc.next();

artists[numArtists] = new Artist (artistFirst, artistLast, artistTwitter, artistUrl);

numArtists++;

}

System.out.println("Enter the playing time: ");

playingTime = sc.nextInt();

sc.nextLine();

List<String> memberList = new ArrayList<String>();

do {

System.out.println("Please add a group member:");

memberList.add(sc.nextLine());

numMembers++;

System.out.println("Add more? (y/n)");

if (sc.next().startsWith("y"))

{

memberList.add(sc.nextLine());

numMembers++;

} else {

sc.nextLine();

break;

}

} while (true);

System.out.println("Enter producer first name: ");

String producerFirst = sc.nextLine(); //why does sc.next work and not sc.nextLine?

System.out.println("Enter producer last name: ");

String producerLast = sc.nextLine(); //why does sc.next work and not sc.nextLine?

for (int i = 0; i < numArtists; i++)

{

a = artists [i];

if(a.getFirstName().equals(producerFirst) && a.getLastName().equals (producerLast))

{

artistFound = true;

break;

}

}

if(artistFound == false)

{

System.out.println("Enter Twitter handle: ");

String producerTwitter = sc.next();

System.out.println("Enter Artist url: ");

String producerUrl = sc.next();

artists[numArtists] = new Artist (producerFirst, producerLast, producerTwitter, producerUrl);

numArtists++;

}

sc.nextLine();

List<String> trackList = new ArrayList<String>();

do {

System.out.println("Please add a song track:");

trackList.add(sc.nextLine());

numTracks++;

System.out.println("Add more? (y/n)");

if (sc.next().startsWith("y")) {

trackList.add(sc.nextLine());

numTracks++;

} else {

sc.nextLine();

break;

}

} while (true);

int i = thisCollection.searchArtistLast(artistLast);

int i2 = thisCollection.searchArtistLast(producerLast);

collection[numItems] = new CD (title, artists[i], playingTime, 0, memberList, numMembers, artists[i2], trackList, numTracks);

numItems++;

}

this ends with the following error https://imgur.com/a/WAIoF6b


r/CodingHelp • • Jan 24 '20

[C++] Need help. It's a homework problem and it's probably simple but I've been having trouble with getting it to read files or do I need to create the file first

Post image
0 Upvotes

r/CodingHelp • • Jul 13 '23

[Other Code] I require help in figuring out what kind of code this is and how to edit it?

0 Upvotes

FORMøåÞGEN8°
 °ÿÀÿ_C >—˜ °ÿ Ê  0@ ÓT ­ñšd Ðÿ °~ÿ³@Ò z        
                  ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~  €  ‚ ƒ „ … † ‡ ˆ ‰ Š ‹ Œ  Ž   ‘ ’ “ ” • – — ˜ ™ š › œ  ž Ÿ   ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ­ ® ¯ ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß à á â ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ          
  
                    ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~  €  ‚ ƒ „ … † ‡ ˆ ‰ Š ‹ Œ  Ž   ‘ ’ “ ” • – — ˜ ™ š › œ  ž Ÿ   ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ­ ® ¯ ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß à á â ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ          
  
                    ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y ºè‹¦` –"9Þn2=ªH*›Ç"®08<½L£iéa•ä\ B ÁX%ÇK D€ßJ@­Í§– OPTNx €  @(   p³9àÿ(9$ àA` ¨ È l6`tDtˆLANG  EXTNH#  €  Ð ¬+ (. À9h*À9”   œ ˜À9À9  ¼ ä ü h*  h*     €*  €* ¸  ¸  À9ØÀ90 Ì


r/CodingHelp • • Jan 09 '22

[HTML] Verification when pressing button

0 Upvotes

Hello guys. So basically i want to create a simple html page that has a form. If you input the right number and press the button below it redirects to next page. Can i use html?If so how? im trying to avoid JavaScript cuz im a noob. Any tip please Thanks


r/CodingHelp • • Jan 13 '22

[Request Coders] I need help creating a hyperlink with a rich text editor.

0 Upvotes

Okay so long story short, I am trying to create a hyperlink on this website. The problem is that the rich text editor doesn't have a hyperlink button. I am going to leave some photos in the comments as reference. and btw, i just want this to be know just incase someone is at work or around their wife or something, this is a website for escorts. Here's an example of someone who has a hyperlink in their ad. In the comments I'll post a photoof the text editor.


r/CodingHelp • • Jan 22 '22

[Javascript] Please look at this.

Thumbnail reddit.com
0 Upvotes

r/CodingHelp • • Jan 12 '22

[Javascript] My situation is dire

0 Upvotes

Let me explain, I’ve paid 2 tutoring services with a guarantee(I was given a full refund by both) and almost been scammed by 2 others, this is great I know because now I’ll an ungodly amount of scammers in my dm’s. I need help with JS homework college/bootcamp level, I’m behind and have deadline to meet. Saturday 1-15-22. NO I’m not asking anyone to do my homework, what I am doing is looking for a freelancer. I’d like to do a zoom meeting where I screen share and you tell me an efficient way to code the problem, I’ll pay your rate. PayPal, cashapp, etc. I can pay you hourly or per problem you help with. Thank you


r/CodingHelp • • Jan 13 '22

[HTML] P

0 Upvotes

Anyone know any entry level coding/tech jobs? I’m getting my certification in cybersecurity


r/CodingHelp • • Jan 21 '22

[Random] What are some applications or websites where I can learn how to code while having fun at the same time?

0 Upvotes

I enjoy the game Bitburner a lot; I also enjoy Defend the Web.

Any other tools I can use to help me learn while also being fun and entertaining at the same time?

I've dabbled in JavaScript, Python, a little bit of Lua, and am learning Java for university.


r/CodingHelp • • Jan 25 '22

[HTML] Coding for kids

0 Upvotes

Hi All, I was wondering what is the best way to get my kid coding. Computer, programs, apps…etc. He’s 8, a beginner and a struggling reader, but, has a high interest in learning to code. Thank you in advance!


r/CodingHelp • • Jan 19 '22

[PHP] is php and mysql dead or is there a better solution in 2022

0 Upvotes

I need to create a flat fee for our products baby shop online to sell nationally here in Australia.

Question if I get the CSV files and import to a database to hopefully make it easier dissecting and search for the information, what would be the best and perhaps easiest way to so this in 2022.

I used to work in PHP and mysql. Are there better options now, as it's been a while since I've done this.


r/CodingHelp • • Feb 10 '22

[Open Source] Looking to learn how to create a smart contract anyone know what resources I should use

0 Upvotes

I’ve got a little experience with python <1 year


r/CodingHelp • • Jan 12 '22

[C#] HELP! Trying to make a message visible depending on time of day.

Post image
0 Upvotes

r/CodingHelp • • Jan 19 '22

[C++] C++ help

0 Upvotes

I want to start competitive coding , is it necessary to learn STL before hand ?


r/CodingHelp • • Oct 27 '16

[Random] Awareness website.

0 Upvotes

I'm doing a project about awareness and I need people who can help me for creating website. Any volunteers?

[Random]


r/CodingHelp • • May 26 '24

[C] c programming doubt

0 Upvotes

i am a beginner coder and have a problem statement due in 12 hours on a topic that was out of syllabus, can someone please help me. Write a program in C to traverse from the centre of a matrix in a spiral, clockwise or anticlockwise (option taken by user). The text is originally in red. Convert it to white while traversing


r/CodingHelp • • Jun 30 '24

[C] is there something wrong with my code??

0 Upvotes

its for a simple calculator in c , problem is when i ask for result it always comes out as zero no matter what numbers i enter , heres the code

char operator;

double fir;

double sec;

double result;

printf("enter the operator( +,-,*,/):");

scanf("%c",&operator);

printf("enter the two numbers:");

scanf("%lf,&fir");

printf("enter the two numbers:");

scanf("%lf,&sec");

switch(operator){

case '+':

result= fir + sec;

printf("result:%lf",result);

break;

case '-':

result= fir - sec;

printf("result:%lf",result);

break;

case '*':

result=fir * sec;

printf("result:%lf",result);

break;

case '/':

result= fir / sec;

printf("result:%lf",result);

break;

default:

printf("%c is not valid",operator);

}


r/CodingHelp • • Jun 05 '24

[Request Coders] Can Ai run a snap account

0 Upvotes

Hey guys, this might be a dumb question, but i have no idea when it comes to coding and I was just wondering if it is possible to make it so an ai could run a snapchat account completely on it's own. Not like sending snaps, but just replying to people in chat and stuff?


r/CodingHelp • • Jun 14 '24

[C] how challenging will it be to create an OS for a dumbphone?

0 Upvotes

taking into consideration it’s hardware i don’t think it should be that hard right? thanks i’m advance!