Wildcards (Q):


  Twisted Fate throws 3 cards forward in an arc, dealing magic damage 60 / 110 / 160 / 210 / 260 (+ 65% AP) to enemies they pass through. 


Pick a Card (W):


  When first activated, cards flash over Twisted Fate's head in the following order: blue, then red, then gold (this cycle repeats itself). When he uses the ability again, he picks the current card over his head; the card picked converts his next basic attack within 6 seconds to deal magic damage and add a special effect. Twisted Fate has 6 seconds to select a card.


Do the Wildcard cards apply the same effect as the cards in Pick a Card?


Question: c stack smashing detected on file managing
Answer: You are using i to access your vRigoreA array in the while (vRigoreA[i]='x';). However, i is set to 5 after your for-loop, so you are accessing stack memory not belonging to the array. At the end of the function, the debugger detects that out-of-bounds writes happened.