SHARE
TWEET

Untitled

a guest Nov 19th, 2019 79 in 11 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if(valg-1 != gAntallOppgaver-1){
  2.     printf("Fjerner oppgaven og rydder i oppgavelista.\n");
  3.     oppgaveSlettData(gOppgavene[valg-1]);
  4.     gOppgavene[valg-1] = gOppgavene[gAntallOppgaver - 1];
  5.     gOppgavene[gAntallOppgaver-1]=NULL;
  6. }else{
  7.     printf("fjerner oppgaven\n");
  8.     oppgaveSlettData(gOppgavene[valg-1]);
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top