delete last node of a circular linked listLets call the target node to delete (the last one): discard [code]// Set pointers to the previous a...
Really really basic vectors.In order to print a vector, use [ ]'s instead of ( )'s, just like arrays: cout << v[n]; If a vector...
Loop giving a segmentation faultDoes returning a string, or changing the return value into void help? Since you do not originally r...
String Loopto append words to a string just loop: cin >> word; sentence += word; http://www.cplusplus.com/ref...
This user does not accept Private Messages