Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~461 People Reached
Favorite Forums
Favorite Tags
c++ x 21

2 Posted Topics

Member Avatar for deepglue555

string pin, checks, list; checks = whitecheck(kingsq); pin = whitepin(kingsq); list = whitelist(checks, pin, wkbool, wqbool, enpassant) i wrote a chess program in VB6 and have finished converting it to C++. however everytime pin or checks is not a null string it throws a GPF. how can i pass the …

Member Avatar for deepglue555
0
276
Member Avatar for jimbob90

[QUOTE=mrboolf;757229][ICODE]getline(cin, line);[/ICODE] Shouldn't you take your line from the ifstream? What daviddoria meant with the add function is that you are every time rewriting the file instead of just adding lines. Also you are not closing anything. Edit: You declare [ICODE]ifstream a;[/ICODE] in main but you make no use of …

Member Avatar for deepglue555
0
185

The End.