Search:

Type: Posts; User: s3a; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.13 seconds.

  1. (My)SQL trouble (select+from+group by+having+count)

    Hello, everyone. :)

    I'm using MySQL 8.

    Here is what I'm trying to do:
    "Find ID, first name, last name and number of programs of students who are enrolled in at least two different programs in...
  2. Using overloaded operator= with copy constructor & std::swap function crashes (C++)

    Hello, everyone. :)

    I just wanted to ask: Why is the following code crashing, and how do I make it not crash?:

    #include <iostream>
    #include <algorithm>
    #include <utility>

    class MyClass {
  3. Bootable USB is not booting on a certain computer of mine that supports USB

    The Windows installer doesn't boot on a certain computer, but it does boot on another one.

    A USB Linux OS (Debian) does boot from that same computer.

    The Windows installer boots on another...
  4. I suspect GDB isn't working because of no debug info for it

    Hello to everyone who's reading this. :)

    I'm having trouble debugging a C++ program I'm working on.:

    My system is a hybrid of stable, testing, and to a lesser extent, unstable.

    Here is what...
  5. The youtube-dl program keeps getting error with 53rd video of this YouTube playlist.

    Here is my terminal interaction.:

    user@hostname:/media/sf_my_folder/C++_Playlist$ youtube-dl --yes-playlist...
  6. My simple-ish OpenGL program is not displaying anything other than a gray background.

    I am very new to OpenGL, and I am trying to modify the following file(s) to learn, but I can't even get it/them running properly, in the first place!

    My simple-ish OpenGL program is not displaying...
  7. Stuck on converting recursive code into iterative code that uses a Stack (in Java)

    Hello, everyone.

    I'm stuck on converting recursive code into iterative code that uses a Stack, but, even after days of "breaking my head," I still haven't figured it out. :(

    I had an assignment...
  8. [all variants] How do I make VPN connection within guest work, without host being connected to VPN?

    Hello, everyone. :)

    Could someone please help me get my guest OS to make a VPN connection, without my host OS being connected to a VPN, using VirtualBox?

    Technically, I haven't been able to get...
  9. NoSuchElementException: No line found for String nameOfPerson = kb.nextLine(). Why?

    Hello, everyone. :)

    Could someone please help me figure out why this Java syntax

    import java.util.Scanner;

    public class MyClass {

    public static void main(String[] args) {
  10. I'm having difficulty with PHP File Reading

    Hello, everyone. :)

    The following PHP code is not only taking long to be processed, but it's printing a bunch of NULLs (278,034 NULLs, specifically).:

    <?php
    echo "I am searching.";
    ...
  11. Re: Trying to get CSS counter to span across two s and/or s of a (HTM

    @norobro:
    Actually, I figured it out, and I wanted to contribute my findings to you (and anyone else that might find this thread useful), it seems that the problem was that I had to replace the...
  12. Re: Trying to get CSS counter to span across two s and/or s of a (HTM

    Firstly, thanks for your help so far. :)

    I've been looking at this thread for a while, though, and I'm still stuck; sorry! :(

    I made an improved version of the syntax you gave me, and it (also)...
  13. Trying to get CSS counter to span across two s and/or s of a (HTML5)

    Before anyone suggests to use the start attribute of <ol> tags ( https://www.w3schools.com/tags/att_ol_start.asp ), I am trying to not do it that way.

    More specifically, I am trying to do it using...
  14. How do I use grep to match end of words, rather than after words or end of lines?

    Hello, everyone. :)

    I believe I can use $ for end of lines and \> for after words, but I want to see if there is at least one word on any given line where that/those word(s) end(s) in nix.

    I...
  15. Re: How can I get egrep to match something that occurs n to m times *but not more*?

    Thank you both! :)
  16. Re: How can I get egrep to match something that occurs n to m times *but not more*?

    Technically, it works when I do


    egrep "thin[g]{2,3}" ./list.txt | egrep -v "[g]{4,}"

    , but how do I make it work by just using regex, without "piping trickery"?
  17. How can I get egrep to match something that occurs n to m times *but not more*?

    If I do


    egrep "thin[g]{2,3}" ./list.txt

    , it shows me all the occurrences "thin" followed by 2 or more "g"s.

    In other words, the above egrep line seems to do the same thing as the...
  18. Re: Why does egrep "[0-9*]" f.txt not show the lines with no digits whatsoever in the

    That was very helpful! Thanks!
  19. Why does egrep "[0-9*]" f.txt not show the lines with no digits whatsoever in them?

    Hello, everyone. :)

    Why does egrep "[0-9*]" f.txt not show the lines with no digits whatsoever in them (in addition to showing the lines with digits in them)?

    When I do egrep "[0-9+]" f.txt, it...
  20. Replies
    2
    Views
    3

    [SOLVED] Re: Regular expression searching not working

    That was very helpful! Thanks!
  21. Replies
    2
    Views
    3

    [SOLVED] Regular expression searching not working

    Hello, everyone. :)

    I'm to trying to find words containing shelf or self, and I tried using the commands, but none of them worked:
    grep s[h?]elf /usr/share/dict/words
    grep s[h\?]...
  22. Re: Replacing "echo " with "result=" does not work, but I don't understand the error.

    Oh! Thanks. :)

    I have another question, though.:
    How come the echo statement within the function in the BASH syntax that worked in my first post actually printed something [like...
  23. Replacing "echo " with "result=" does not work, but I don't understand the error.

    Hello, fellow Linux lovers. :)

    I'm trying to write the BASH equivalent of the following Java syntax.:


    public int factorial(int n) {
    if(n>1) {
    return n * factorial(n-1);
    } else {...
  24. Re: I'm struggling with the CSS counter mechanism for controlling numbering of t

    Thanks for the answer. :)

    The thing is, I saw that website, but I still don't understand the concept(s) well enough. In fact, I've looked at so many websites, including various YouTube videos, but...
  25. I'm struggling with the CSS counter mechanism for controlling numbering of tags

    Hello to everyone who's reading this. :)

    I'm really struggling with CSS counter stuff. Basically, all I am trying to do is to make the numbering of an ordered list continue when the ordered list...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4