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

    C++ Please help with Linked list sorted insert (C++)

    I do not understand why you write && *current->next->infoPtr < *x_ptr in the line 32? At the line 40-41, I think you should write the following instead: Node* w = new Node(x_ptr, list); list = w;
  2. LTomy

    C++ Please help with Linked list sorted insert (C++)

    Oh, did you learn C before? Learning classes is hard if you are not comfortable with the basics such as pointers (Well, it is hard even if you do ahah). Yes! If you want to compare the Fruit objects, you must do it like that! If you do not 'access' the object by dereferencing the pointer, what...
  3. LTomy

    C++ Please help with Linked list sorted insert (C++)

    Hello! Lines 47-53: else if (list->next == NULL) { if (x_ptr < list->infoPtr) // Why are you testing that? { Node* n = new Node(x_ptr, NULL); // You do nothing with it.... } } There are a couples of things that does not make much sense. First, when you...
  4. LTomy

    Help needed

    I do not know much about Arduino :/
  5. LTomy

    The first challenge of 2021! Submissions closed!

    Hmmm, this is calm here? #include <stdio.h> int main(void){ printf("# # ### ### # ####### ###\n# # ###### # # #### # ### # # # # #### # # # # ###\n#...
  6. LTomy

    CSS Hamburger menu

    When called, the following function will show/hide (toggle) the element with the id 'menu': <script> function toggleMenuDisplay() { var x = document.getElementById("menu"); if (x.style.display === "block") { x.style.display = "none"; } else { x.style.display = "block"; } }...
  7. LTomy

    CSS Hamburger menu

    Basically, your menu must start with the CSS style display: none; and it must have the same id as in the following line in the JS script var x = document.getElementById("menu");.
  8. LTomy

    CSS Hamburger menu

    Hello st3lla, Here your menu is merged with the example you linked: <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <style> body {...
  9. LTomy

    JavaScript D3.js simple bar chart does not display the bars

    Hello lorelei, Sorry that you had received no reply :/! I am glad you found a solution though ;)
  10. LTomy

    Help needed

    Hi Lofthouse, Have you made progresses on that issue?
  11. LTomy

    Building a real estate website

    Hello, Learning to create websites from scratch is great, but I takes time to learn. I think you should start with WordPress while you learn to code and finally make your website from scratch, once you have have required experience, if you still want to. You should search for HTML and CSS...
  12. LTomy

    HTML & CSS Templates

    Hi meetdilip, I do not... xD Feel free to share them if you find some!
  13. LTomy

    Looking for coding games for smart kids?

    It kind of look like spam, but what has that person to gain from that xD? Yeah, modding improve coding skills. I was asking, because he simply said "Minecraft". Playing Minecraft, by itself, does not. Java is interpreted. It is compiled into ByteCode (Not into binary). Lua is probably easier...
  14. LTomy

    Looking for coding games for smart kids?

    Hi yardely26, I do not see how Minecraft can help a kid to learn coding? Are you talking about mod creation?
  15. LTomy

    HTML & CSS HTML5 audio - tweak controls??

    Hi, I think you would have to make a custom button and use Javascript to manually play the clip when the button is clicked.
  16. LTomy

    Unicode question

    Hmm, I looked at your website, but I did not find out the problem :/.
  17. LTomy

    Unicode question

    Hello Siim518! UTF-8 should be able to represent pretty much any character you can think of. Have you set the charset of the HTML document to UTF-8? Basically, do you have the following element in the <head> of your document?: <meta charset="utf-8"> I just realised you said "Wordpress"...
  18. LTomy

    JavaScript How to group multiple arrays into one data structure

    I do not know Angular. I do not understand? Simply retrieve the message id from the hovered message and then retrieve the object associated with it. Once you have the object, you can simply use its methods to retrieve the information about the message in order to display them.
  19. LTomy

    JavaScript How to group multiple arrays into one data structure

    Why would you extract them into individual arrays?
  20. LTomy

    JavaScript How to group multiple arrays into one data structure

    Hello, You should look into classes. Create a class that contains the id, source, time and content of the message and make an array of objects of that class.
Back
Top Bottom