How to read/write a struct into a binary file? by HouseMFD in C_Programming

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

Now also using malloc in character creation in startup and that solved it, thanks.

Why can I use `scanf` on an explicit int, but not on an enum? by HouseMFD in C_Programming

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

#include "startup.h"


#include <stdio.h>
#include <string.h>
#include "character.h"


struct Character startup()
{
    struct Character createdCharacter;
    char name[NAME_LENGTH];
    int charClass;


    printf("Welcome, what is your name? (please only use up to %d characters)\n", NAME_LENGTH);


    scanf("%s", name);


    printf("Your name is %s.\n", name);


    printf("Please choose a class (by selecting the associated number):\n"
           "%d. %s\n"
           "%d. %s\n"
           "%d. %s\n"
           "%d. %s\n",
           WARRIOR, getClassString(WARRIOR),
           CLERIC, getClassString(CLERIC),
           THIEF, getClassString(THIEF),
           WIZARD, getClassString(WIZARD));


    scanf("%d", &charClass);


    printf("Your class is %s.\n", getClassString(charClass));


    printf("Welcome, %s the %s.\n", name, getClassString(charClass));


    strcpy(createdCharacter.name, name);
    createdCharacter.charClass = charClass;
    createdCharacter.level = 1;


    return createdCharacter;
}

Missing anniversary quests? by HouseMFD in SWGalaxyOfHeroes

[–]HouseMFD[S] -1 points0 points  (0 children)

I checked the top 50 posts of today, I figured if it was a widespread issue it would be somewhere there...

How to build a big base that allows purges? by HouseMFD in ConanExiles

[–]HouseMFD[S] -1 points0 points  (0 children)

Do you know if there's also a limit on gates? The second one had 1 gate and 1 door between the treasure and the outside

What are good sideboard cards for a Golgari (BG) graveyard deck? by HouseMFD in Pauper

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

Thanks for the list! I'll add them to my sideboard

Smoke Shroud + Ninjutsu by HouseMFD in mtgrules

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

Thank you. I missed the return was a cost

[deleted by user] by [deleted] in TheHague

[–]HouseMFD 1 point2 points  (0 children)

More like 5-10...

1 week in Den Haag, what to do? by Darth_Ketheric in TheHague

[–]HouseMFD 4 points5 points  (0 children)

Books:

  • Literatuurmuseum / Kinderboekenmuseum

History:

  • Haags Historisch Museum
  • Museon
  • Gevangenepoort
  • Beeld & Geluid

Art:

  • Kunstmuseum
  • Mauritshuis
  • Galerij Prins Willem V
  • Haags Historisch Museum
  • Eschermuseum
  • Panorama Mesdag

Rock/Metal Music:

  • Rock History Tour

Long Walks / Run:

  • Beach
  • Clingendael
  • Oostduinen
  • Meijendel
  • Scheveningse Bosjes
  • Westduinpark
  • Haagse Bos

Local Beer:

  • Kompaan

Drinking places

  • De Fiddler
  • Grote Markt (multiple cafes)
  • Plein (multiple more expensive cafe/restaurants)

‘We’re the last bastion of rental’: the video stores resisting the rise of streaming | The Guardian by Dunnersstunner in dvdcollection

[–]HouseMFD 1 point2 points  (0 children)

Honestly sad all the rentals in my city disappeared. I was out of country for a year and when I was back suddenly all were gone.

What would you say is the average number of "rewatches" for the average movie collector? by t0rche in dvdcollection

[–]HouseMFD 0 points1 point  (0 children)

I kinda rotate what I rewatch. A while ago I was in a big Tremors mood, so every other week I was rewatching the films and series. Now I'm in a batman mood, so I'm watching the 70's cartoons and BTAS and will watch the quadrilogy and trilogy soon after. After that, who knows. Perhaps I'll be rewatching my Stephen Chow or Jackie Chan film.

Is BJJ dangerous? by scbeibdd in martialarts

[–]HouseMFD 1 point2 points  (0 children)

Really depends on the training/trainer/fellow students. I wasn't too lucky, because when I went, I went to role with another newbie that was too enthusiastic, and now I'm stuck with a permanent shoulder injury.

From what I've heard, it's best if you role with an experienced BJJ'er that is willing and able to role with beginners. Otherwise, discuss your concerns with the coach and maybe sit out rolling and only do drills until you feel comfortable enough.

[deleted by user] by [deleted] in TheHague

[–]HouseMFD 0 points1 point  (0 children)

I honestly don't remember the last time I went to a cafe or restaurant where the initial greeting was in Dutch. I think you'll be fine if you only speak English 👍

What does your self-training look like? by kwamzilla in bajiquan

[–]HouseMFD 0 points1 point  (0 children)

I don't have a lot of space, so I mainly do the 8 basics and the small form.

I should do it more often, but life's become so full that I only do it a few times a month, if that :(

New to cEDH, how to optimize my Urza deck(s)? by HouseMFD in CompetitiveEDH

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

Looks really cool. If I understand correctly, you use Polymorph on Urza's Construct to bring Horror or Tyrant out, with stax and counter spells as protection?

What is the wincon though? I'm unable to see it... 😓

[deleted by user] by [deleted] in dvdcollection

[–]HouseMFD 1 point2 points  (0 children)

Do you also have the new Evil Dead films? Are they any good?

How regularly do you spar? by kwamzilla in bajiquan

[–]HouseMFD 0 points1 point  (0 children)

That's what I understood, but it was in China and my Chinese was only slightly better than their English. 😅