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.

0 Endorsements
~3K People Reached
Favorite Tags
Member Avatar for wazzer225

Hello just curious, I know that i'm supposed to use new in c++ but decided to experiemnt with malloc. Can you explain to me why the following code crashes and what is the reason. I was under the impression that the size of vector is fixed as it just stores …

Member Avatar for Stefano Mtangoo
0
3K
Member Avatar for wazzer225

Hello I'm trying to iterate backwards through a vector. with a while loop it works fine. prints out: 12 8 4 1 However the for loop prints 196735 12 8 4 Could you please tell me why this is. Probably something wrong with my logic i don't know I'm using …

Member Avatar for mitrmkar
0
104
Member Avatar for wazzer225

Hi, I was attempting to convert the following grammer into CNF S -> XY X -> aXb | e Y -> aY | a The Mark Scheme gives the following: S -> AX | AY | a X -> AK | AB Y -> AY | b A -> a …

0
60