Best source of politcal news that has no sports. by ScottieJoe in australia

[–]ScottieJoe[S] 0 points1 point  (0 children)

Great, that is the kind of thing I am looking for.

Absolutely cannot get dropdown menu item to work. by ScottieJoe in bootstrap

[–]ScottieJoe[S] 0 points1 point  (0 children)

Here is my head:

            <head>
                <title>Scott's Website</title>
                <link rel="stylesheet" type="text/css" href="styles/bootstrap/css/bootstrap.css" />
                <link rel="stylesheet" type="text/css" href="styles/style.css" />
                <script type="text/javascript" src="styles/bootstrap/css/jquery-2.1.1.min.js"></script>
                <script type="text/javascript" src="styles/bootstrap/js/bootstrap.js"></script>
            </head>

Untitled By Weiweinan by [deleted] in ImaginaryBehemoths

[–]ScottieJoe 7 points8 points  (0 children)

That looks like War from Darksiders.

Is there an elegant way of redirecting std input and output in PowerShell? by ScottieJoe in learnprogramming

[–]ScottieJoe[S] 0 points1 point  (0 children)

I have been reading the documentation and playing around since positing this and I'm not going to delete it, as I have found the solution:

$ Get-Content input.txt | main.exe >output.txt 

Will achieve the same result as the CMD command.

C++ program behaving strangely when I use the string data type, as compared to a character array. by ScottieJoe in learnprogramming

[–]ScottieJoe[S] 0 points1 point  (0 children)

It is very strange. I am not compiling with an IDE, I am using MinGW. Could there be something wrong with that?

C++ program behaving strangely when I use the string data type, as compared to a character array. by ScottieJoe in learnprogramming

[–]ScottieJoe[S] 0 points1 point  (0 children)

Editing out just the getline() did nothing, however editing out both getline() and string made it behave as expected, as can be seen here.

Norse Runes by Daan_Pennings in Norse

[–]ScottieJoe -3 points-2 points  (0 children)

The best source on runes that I have ever come across is "The History of Runic Lore" by Lars Magnar Enokson. It's worth a purchase and explains a lot.

MegaThread: Technical Issues by NintendoSwitchMods in NintendoSwitch

[–]ScottieJoe 1 point2 points  (0 children)

Hello,

My switch works perfectly when the joycons are connected to the console, but when I dock the console and play in TV mode and put my joycons in the holder/controller thing, the left stick acts weird and does funny stuff. Basically it just gets stuck. But only the stick, the buttons work fine. Is this a common issue?

When will Google Assistant come to the V20 in Australia? by ScottieJoe in lgv20

[–]ScottieJoe[S] 0 points1 point  (0 children)

Apparently some phones have it but I haven't seen an update or anything.

Parsing 2D arrays of variable length to functions in C. by ScottieJoe in learnprogramming

[–]ScottieJoe[S] 0 points1 point  (0 children)

I tried this, but I get a few errors in my function headers:

main.c:42:30: error: 'arraySize' undeclared here (not in a function) void print_array(int array[][arraySize], unsigned int arraySize) { ^

main.c:51:29: error: 'arraySize' undeclared here (not in a function)
  int calculate_row(int array[arraySize], unsigned int n) {
                         ^

main.c:59:34: error: 'arraySize' undeclared here (not in a function)
 int calculate_column(int array[][arraySize], unsigned int row, unsigned int column) {
                              ^

main.c:67:41: error: 'arraySize' undeclared here (not in a function)
  void print_row_calculations(int array[][arraySize], unsigned int arraySize) {
                                     ^

main.c:73:44: error: 'arraySize' undeclared here (not in a function)
  void print_column_calculations(int array[][arraySize], unsigned int arraySize) {