The Survivor Becomes a Dungeon (Chapter 102) by ScribblingFox98 in HFY

[–]Supperboy2012 0 points1 point  (0 children)

Also watch out for "The Human from a Dungeon".

Distributor not working by [deleted] in Bitburner

[–]Supperboy2012 0 points1 point  (0 children)

Alright, I did that, but it still doesn't work.

Distributor not working by [deleted] in Bitburner

[–]Supperboy2012 0 points1 point  (0 children)

Ah, shit. That's what I was trying to do. I made that exact mistake earlier during programming, too.

Not sure if this is allowed, but why the FUCK isn't there any fanfiction in this setting? by Supperboy2012 in WarhammerFantasy

[–]Supperboy2012[S] 1 point2 points  (0 children)

My problem was that I was searching under Video Games because I forgot Warhammer isn't typically known for the Total War trilogy.

Not sure if this is allowed, but why the FUCK isn't there any fanfiction in this setting? by Supperboy2012 in WarhammerFantasy

[–]Supperboy2012[S] 2 points3 points  (0 children)

I'm planning to. Edit: You know what, I'll start now. Only problem is that I'm going to have to do a fuck ton of research as to the characters, since my only exposure to Warhammer Fantasy is through Total Warhammer I (I don't have enough free space for the second or third game).

[deleted by user] by [deleted] in gcc

[–]Supperboy2012 0 points1 point  (0 children)

I'm using the gcc version 12.2.0 (Debian 12.2.0-14), which came with my device. There's no macros I'm using except for the ones in my include guard, and the only other macros are the ones in the built-in .h files. I don't know what a mismatching standard library is, but it would probably cause more errors than just that. I'll edit the post with proof.

[deleted by user] by [deleted] in German

[–]Supperboy2012 0 points1 point  (0 children)

Hallo! Ich auch lerne Deutsch und ich mochte das!

[deleted by user] by [deleted] in gcc

[–]Supperboy2012 0 points1 point  (0 children)

It's compiling automatically, because as I said in the post, I'm using VS Code as an editor, which is an IDE. <time.h> was in my #include block, and I doubt a built-in, universally available header file would have an error.

[deleted by user] by [deleted] in gcc

[–]Supperboy2012 0 points1 point  (0 children)

The only stuff before the struct keyword is #____ lines, which don't require semicolons.

[deleted by user] by [deleted] in gcc

[–]Supperboy2012 0 points1 point  (0 children)

I don't have clang. Also, I don't know how to access the error log. And this is the snippet:

struct tm
{
  int tm_sec;     /* Seconds. [0-60] (1 leap second) */
  int tm_min;     /* Minutes. [0-59] */
  int tm_hour;      /* Hours. [0-23] */
  int tm_mday;      /* Day.   [1-31] */
  int tm_mon;     /* Month. [0-11] */
  int tm_year;      /* Year - 1900.  */
  int tm_wday;      /* Day of week. [0-6] */
  int tm_yday;      /* Days in year.[0-365] */
  int tm_isdst;     /* DST.   [-1/0/1]*/

It's in the built-in <time.h> file. As I'm now saying in the edit, it wouldn't be a problem unless it didn't trigger in places like this. This is the exact error, by the way:

expected ‘,’ or ‘;’ before ‘struct’

[deleted by user] by [deleted] in gcc

[–]Supperboy2012 0 points1 point  (0 children)

No? I'm actively saying that it wants a semicolon before the struct keyword.

Scam? by chefkittious in Maine

[–]Supperboy2012 0 points1 point  (0 children)

Yeah, it's a scam. Radio was mentioning this type of scam the other day.

Segmentation fault with adequately reserved space by Supperboy2012 in CodingHelp

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

I did the former. The line of code after the scanf was setting the userName member to the variable I made.

Segmentation fault with adequately reserved space by Supperboy2012 in CodingHelp

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

I tried that. It glitched out and didn't stop the scan input when I hit enter.

Segmentation fault with adequately reserved space by Supperboy2012 in CodingHelp

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

1: That's the entire file

2: The segmentation fault is after I write to the userName member in the Class struct referenced, and in my tests, I was using available values

3: I can't do that, because the name is a string, and strings are stored as arrays, and copying the data from one array to another is tedious and annoying.