You are not logged in.

  • "Vernunftmensch" is male
  • "Vernunftmensch" started this thread

Posts: 1,714

Date of registration: May 17th 2011

Location: Aachen

  • Send private message

member since 18 member since

1

Tuesday, June 5th 2012, 3:48pm

Zeigerproblem

Source code

1
2
3
4
  (*((int*)(superdiamanten_ende+1)))=x;
  (*((int*)(superdiamanten_ende+2)))=y;
    x=(*((int*)(superdiamanten_ende+1)));
      y=(*((int*)(superdiamanten_ende+2)));


ändert sowohl x, als auch y.

vorher ist definiert:
char* superdiamanten_ende;

Wo ist mein Denkfehler?
Wer den C64 nicht ehrt ist des x64ers nicht wert.

  • "Vernunftmensch" is male
  • "Vernunftmensch" started this thread

Posts: 1,714

Date of registration: May 17th 2011

Location: Aachen

  • Send private message

member since 18 member since

2

Tuesday, June 5th 2012, 4:06pm

Erledigt:

Mir ist soeben eingefallen, daß ich mitlerweile hinterm Kernal bin und den dazu ausschalten muß.


:rauch:
Wer den C64 nicht ehrt ist des x64ers nicht wert.

  • "internium" is male

Posts: 4,482

Date of registration: Aug 30th 2008

Location: Berlin

  • Send private message

member since 54 month member since 54 month member since 54 month

4

Tuesday, June 5th 2012, 4:15pm

Hat auch nichts mit Assembler zu tun ;)

Lysosom

Master

  • "Lysosom" is male
  • »Lysosom« is a verified user

Posts: 2,492

Date of registration: Nov 21st 2009

Location: Ramsey, NJ

  • Send private message

member since 36 month member since 36 month

5

Tuesday, June 5th 2012, 11:52pm

Lasst uns doch ein wenig OT produzieren :D Damit sich der Thread wenigstens gelohnt hat
Hardware (Retro): Amiga 1000 (NTSC), Amiga 1200 (PAL), Amiga 2000 (PAL), Amiga 4000 (PAL), Schneider CPC 464, Atari Portfolio, Sharp PC E 220 / Hardware (aktuell) : 2 Gaming PC,iMac 20", Powerbook, Amigaone 500 (eingetroffen) / Software: C64 (Power64),Amiga (E-UAE, WinUAE, JanusUAE), AROS (auf altem IBM Thinkpad)

TheRyk

KKK?! That's not good.

  • "TheRyk" is male
  • »TheRyk« is a verified user

Posts: 7,990

Date of registration: Mar 14th 2008

Location: Ostereierinsel

  • Send private message

member since 54 month member since 54 month member since 54 month

6

Tuesday, June 5th 2012, 11:57pm

Hurra! :thumbsup: Lasst uns weiter nerven, damit ein Mod sich erbarmt ;)
Wenn Sie irgendwelche Satzzeichen in meinen Postings vermissen, bedienen Sie sich, bitte:
@!#?@! (Zitat Q*bert, Arcade Version, 1982)