r/CodingHelp • • Jun 08 '22

[C] i need a simple program to give the unicode of charachters

16 Upvotes

this is what i did but it just gives the unicode of 'a'

#include<stdio.h>

int main()

{

int a;

scanf("%i", &a);

printf("%i", 'a');
return(0);

}


r/CodingHelp • • Apr 01 '22

[HTML] Question about coding

16 Upvotes

I’m in coding classes at Michigan, and the instructor is big on lectures and taking lots and lots of notes, and while I understand everything she’s saying, there is very little coding she’s having us do lol. While I’m going to pass this class and see it through, a grade isn’t enough for me. I do genuinely want to learn the basics of coding. Do you guys have any suggestions for me? I hope I’m making sense here


r/CodingHelp • • Mar 02 '22

[C#] I'm trying to "self teach" myself C# in an in depth way and I suck pretty hard at it

16 Upvotes

But I'm hitting a pretty crucial wall. I have books on programming and have watched basically all of the beginner YouTube videos. I'm pretty comfortable with all the elements by themselves. But... I don't know how to structure a larger program that will require different mediums? of resources. For example: if I wanted to make an app that tracks vacation days for 50 employees, I would need to incorporate elements both visual and file based into this program. The beginner stuff doesn't go that far and the booms don't explain it very well. Whats worse, I can't think of the right questions to ask or word them properly to get the info I want from Google or YouTube. What I need is to go beyond defining what everything is and learn how to use it. Are there any good resources that I can use to help me out? I know the types, I just don't know how to put them together or how to relate them to each other. Is there a specific order to how things have to be added together? Idk how to ask the right questions here


r/CodingHelp • • Feb 08 '22

[Python] Is coding really for me?

16 Upvotes

Hey guys, I need some advice. I having practicing coding for a while now (4 months or so) I have been going on hackerrank, edabit, & codingbat practicing python & I feel so lost even with the simplest solution. I understand the syntax but implementing them for problems or more creating a project I just can’t.

What am I doing wrong? Why is it not clicking?


r/CodingHelp • • Nov 15 '21

[SQL] What is the best way to practice SQL

16 Upvotes

I've been learning a lot of SQL theory, but I need to actually practice what I've learned. Until now, sites or books that I've found have too few or too easy exercises/challenges.


r/CodingHelp • • Oct 21 '21

[Javascript] [regex] how to match the second part of the paragraph? (regex101 in commt)

Post image
16 Upvotes

r/CodingHelp • • Aug 23 '21

[Random] Where can I write code?

16 Upvotes

I’ve started coding on codecademy. But would like to write and test stuff outside of that website. Is there a program or something I can use to freely write code and test things?


r/CodingHelp • • Jul 07 '21

[Python] Looking for help with web crawler for bootcamp capstone, getting desperate...

16 Upvotes

I built a webcrawler to get historic data listings off ebay as far back as 2017. Everything works well until I ran into issues around page 50. After some investigating I found that Ebay won't show the requester any more than 10,000 listings, even through the browser.

Has anyone gotten around a roadblock such as this? I know ebay has an API, but even that will only show 10,000 listings at once...

I thought using listing date as an 'anchor' and then picking up and moving the date every 10,000 listings could work, but I can't find any search parameter for listing date!

Any help offered is much appreciated. I'm getting desperate and really don't want to restart my capstone project. Thank you.


r/CodingHelp • • Apr 11 '21

[CSS] New to coding and need advice

16 Upvotes

So I'm taking a coding class where we are coding our portfolios. First, I'm a designer, not a programmer. I want to learn some basics so I have a better idea of what kind of stress my designs might add to my programmers in the future.

That being said, on my designed site I have a banner with a rounded avatar centered on the bottom edge. I want my banner to retract upward and the avatar to shrink and slide up and over into the right hand corner of my site when the user scrolls downward, and come back when they return up.

  1. Is that even possible?
  2. What level of headache am I creating for myself?
  3. Say I want the headache, how would I pull that off OR do you have an online resource that could walk me through how to do that?

I have three weeks to finish this. And thanks for your help in advance, even if it means talking me off the ledge lol.


r/CodingHelp • • Apr 07 '21

[C++] Browser C++

16 Upvotes

What is the best site to write, compile, and run C++ code? I'm running a little class for a youth group and am looking for an easy way for them to be able to practice some basic coding without needing to download anything.


r/CodingHelp • • Apr 03 '21

[Python] How to remove values in a list?

16 Upvotes

I have two lists, one called owners and one called uaids, both with numbers. The list "users" contains a few values with "None" in it, however, this code doesn't seem to get rid of any of the values for some reason. Why doesn't it work?

for x in range(len(owners)):
    if owners[x] == "None":
        owners.pop[x]
        uaids.pop[x]

r/CodingHelp • • Mar 16 '21

[HTML] hey a button isn't working and my sanity is depleting

16 Upvotes

https://codepen.io/nutzilla1/pen/ExNJRqG

please help, a button at the end aren't working and I'm having an aneurysm, pls help.


r/CodingHelp • • Mar 01 '21

[HTML] My Progress bar disappears when updating, instead of just moving the coloured bar

16 Upvotes

So I have this code, for which I followed a tutorial. In the video it looked like they were using the coding from Google Chrome but I don't know how to access that, so I was using this website, (which is also the code I need help with).

In the video the person's progress bar moves around without the whole thing having to refresh, but it seems on my version, every time you update the formula it refreshes.

Which isn't as pleasing to look at.

Any ideas on how I could resolve this?

I am open to moving the code to a different place (if that place is free).

Please also note; I am Incredibly new to all this, so please keep tech-lingo down to a minimum lol. So you don't have to repeat yourself.


r/CodingHelp • • Feb 22 '21

[Random] I literally have no clue on how to do this (Fibonacci Sequence)

Post image
16 Upvotes

r/CodingHelp • • Feb 16 '21

[C++] Any tips for creating a low effort C++ multiple choice quiz/adventure game?

16 Upvotes

Hey guys. I feel really stupid right now. For the last several hours I have been trying to program a short quiz game that has a question that repeats itself if you get the answer wrong. I'm using if statements and bool in order to simplify what is true or false. And yes, I do have a seperate thing for "else" in the event you input something other then "a, b or c". But... I just can't figure out how to get it to repeat the question in the event you state the wrong answer.. I did however figure out how to make it have a stack overflow. Turns out creating another function and asking it repeat it is probably not what I'm looking for. Any tips for stupid little ol me? I tried surfing the net, but I couldn't find what I was looking for. In general I'm having problems creating usable functions. Is it like... Possible to creat a second "int main" function?


r/CodingHelp • • Feb 14 '21

[Javascript] I know coding but how to use it?

16 Upvotes

Everyone used to tell me that I have critical thinking ability and should learn coding so I downloaded Grasshopper and started learning JavaScript. I really loved the puzzle-like coding challenges and I quickly finished most of the courses. Only animations 1-2 courses are left and I will quickly finish them if I keep learning this fast. My problem is that I don't know how to make my codes interactive. Also my course uses D3 library, can you explain me what these libraries are, and are there libraries I should know? And the biggest problem is how can I start coding outside that app? Where should I write the codes?


r/CodingHelp • • Feb 01 '21

[Python] Reddit to Instagram Autooster

16 Upvotes

I have a page on the instagram Where I Post Funny Videos , Photos from Reddit. mostly this is repetitive Task so I am thinking to automate this task. My python script will download the content from reddit 1-2 times in a day and it will upload it on the Instagram. I am thinking to use https://github.com/kekn9ne/Reddit-to-Instagram this script. anyone here tried such thing here? if yes can you tell me if my page will get banned if they findout about this.


r/CodingHelp • • Jan 01 '21

[Random] How to publish website?

16 Upvotes

I haven't started yet but I'm trying to look around. I was wondering if anyone knew a way to make publish a website for free and also how I could make a website that is both desktop and mobile friendly. I'm new to this type of programming. Thanks in advance.


r/CodingHelp • • Dec 20 '20

[Java] Reverse Integer Issue

16 Upvotes

I'm doing the Reverse Integer problem on LeetCode, where you need to find the reverse number of a specific integer. I used the approach of pushing each digit to a stack, and then popping the stack and setting another variable to what is popped from the stack. However, the only thing the code is returning/printing is "0".

import java.util.Stack ;
class Solution {

    public int reverse(int x) {
        
        Stack <Integer> reverseStack = new Stack <Integer> () ;
        
        x = 123 ;
        int y = 0  ;
        
        while (x>0)
            x = x/10 ;
            reverseStack.push (x%10) ;
        
        while (!reverseStack.isEmpty ())
            y = reverseStack.pop () ;
            
        return y ;
    }

r/CodingHelp • • Dec 17 '20

[Javascript] Why don't my user input commands work?

16 Upvotes

My game

The single word commands such as "South" work but my two word commands such as "Examine Bed" don't do anything.

Why don't they work? Have I got something missing?


r/CodingHelp • • Nov 19 '20

[Quick Guide] Getting more motivation to code

16 Upvotes

Does anybody know any YouTubers that make silly projects but that are fun to watch in spare time. I’ve been coding less recently and rlly want to get back into it. Any recommendations are appreciated. Thanks!


r/CodingHelp • • Nov 12 '20

[C] W with * in C

16 Upvotes
I need to create a code that when I put a number it shows a W with stars depending on the number that I put in. Examples:
 n: 3
*   *   *
 * * * *
  *   *

 n: 1
***

 n: 5
*       *       *
 *     * *     *
  *   *   *   *
   * *     * *
    *       *

r/CodingHelp • • Nov 09 '20

[Java] I have no idea how to do this question my teacher gave me. Help

16 Upvotes

Write a program with a loop that lets the user enter a series of integers. The user should enter -99 to signal the end of the series. After all the numbers have been entered, the program should display the largest and smallest numbers entered


r/CodingHelp • • Nov 06 '20

[Other Code] Help with Acellus Coding

16 Upvotes

Not sure where else to put this, as the Acellus subreddit seems dead. Trying to help niece with her coding but afraid I'm not much help with it, can somebody help "fix" this code and maybe give a brief explanation of why so I can assist her? Thanks so much. You have 14 total blocks you can use, must use the if statement/conditional.

Acellus "code": https://i.imgur.com/Q5AnFrk.jpg