Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. LTomy

    sometimes my code doesn't let me enter a character if it is asked earlier in the program

    Bienvenue maxime61210, I think the problem is that when you read a floating-point number with 'printf', the newline character created when you press enter is not taken off so when you read a character, you actually read that newline character. To test if this is the case, look if e == '\n'.
  2. LTomy

    C++ help me code something very simple? im a beginner

    Welcome hendyies, Calculating the number of laps if the speed is 2.2m/s and time 600 seconds: int stadiumLength = 400; float speed = 2.2; int nbSeconds = 10 * 60; int distanceRunned = speed * nbSeconds; int nbLaps = distanceRunned / stadiumLength; Repeating the loop as long as the user does...
  3. LTomy

    JavaScript need help with a little script

    You really should follow a course on JS, it is hard to guide you if you do not have basic knowledges. We can not tell you what do to step-by-step.
  4. LTomy

    JavaScript need help with a little script

    An id is used to uniquely identify an element. Here we define an element with the id 'id1': <p id="id1"></p> Here we retrieve that element in JS: document.getElementById("id1") Here we change the content of the element: document.getElementById("someId").innerHTML = "Some text"; After the code...
  5. LTomy

    JavaScript need help with a little script

    Hello u0lf! Here we change the content of an element with the id 'someId': document.getElementById("someId").innerHTML = "Some text";
  6. LTomy

    Python 'for' loops, 'exp' variable question

    Hello Steve389, We can not help you without the code! 'exp' is simply its name, it could represent anything. However, if it is in a 'for' loop, it is probably used to keep track of the number of times the loop iterated (So it stops at some point).
  7. LTomy

    Else if not returning value

    Ahah, no problem, that kind of things happens ;)
  8. LTomy

    Blenderplayer Web

    Well, I am not saying that you can not if you want! So, you want to interpret an executable file ('blenderplayer.exe')? This is not trivial. Do you know assembly/binary code for intel CPUs and Windows system calls?
  9. LTomy

    Blenderplayer Web

    Hi Joshex! Are not 'Blender3D games' discontinued? Your project is very complex and I do not think it is worth it considering it is not supported anymore.
  10. LTomy

    Hi everyone

    Welcome Zyphon_22 ;)
  11. LTomy

    Else if not returning value

    Hi Rusty, The problem may come from the fact that you read numbers into 'double' variables ('h' and 'temp') with the specifier '%d' (For 'int') instead of '%lf' (For 'double').
  12. LTomy

    Python Need some exercise

    Welcome Mani_digital415, Where do you learn python? Are there not any exercices in that course? I am not familiar with python, so I can not guide you much here.
  13. LTomy

    JavaScript Adding Order To Every Single Elements

    Hello Ritzy Wax! I depends on how you coded it, but you could simply use a variable to keep track of the number of the current note and increase its value by one each time you add a note.
  14. LTomy

    Hi and pointers

    You are welcome ;) Yeah, this is probably that.
  15. LTomy

    Hi and pointers

    Well... :thinking: It is kind of hard to help considering you are not the actual developper! Have you any experience in coding? So, there are many options, but not all combinaisons are possible, right? If so, that is not really hard to do using Javascript (Which is already used in the page you...
  16. LTomy

    Hi and pointers

    Hello dna! So, if I understood right, you do not want unavaillable products to be displayed in the dropdown menu? Is your server using PHP? Are the informations about the products in a database? It does not sound hard to do.
  17. LTomy

    HTML & CSS N00b in need

    Hello CrumpledkingSkin, What does 'handleFormSubmit' do? What is the code server-side? You can send the data to a PHP page, by adding the following classes to the <form> element: <form action="process_form.php" method="post"> </form> Within the PHP page, you can access the value of the <input>...
  18. LTomy

    Python Help with discord tokens

    Welcome to CodeForum RandyBudGG ;) I do not know about that, but other members may be able to help!
  19. LTomy

    Python Beginner loop help!

    That would also work, but I think 'goto' statements make the code harder to understand and many people believe they should be avoided.
  20. LTomy

    HTML & CSS Need help to create this page exactly like this

    Hi psycho_41, Coding such a page requires a good amount of code. Your question is vague and we can not code it for you. How much experience do you have in HTML? You will need to use the tag <input> here.
Back
Top Bottom