Sorting Link List
Posted on 2003-02-28
sorting a link list:
Hi I have made a class called Pipes and I want to sort the pipes based on their id.
the pipe with the lowest material id comes on top.
I am unable to figure out a way.
can somebody tell me how to sort a link list.
2.How to check for uniqueness of ID, i.e ID which has been added once cannot be added again
3.Do I have regular-expressions in C++ . So That I can format my material ID as
SS304 or SS316 i,e a string with first two characters as letters and last 3 characters as numbers
---------------------- Imp -----------------
This is not a homework problem, but a problem for my research. I am using C++ in my thermo hydraulics code. The problem is that I have used visual basic and Java Script but never C++ to change fortran codes.
My current job involves code conversion of fortran 77 and making it more maintainable