Well i have no problem parsing the data the way i need to. It is a lisp-style list and certain elements conatain data. If someone calls the convert function i want it to convert this specific element to the appropriate data type.
No...it can be any type of data. It stores values ranging from -3.3243425 to 2.000000 to 69901232873123, to -3.4, etc.
So therefore any of the files used with this parser may contain any type of data type, ranging from int, double, float...etc.
I have a text file which contains different types of data. I read in the text file into a CString and use it to parse information. However, I need to now get some of the data out, but some of it could be double, float, or int. I know of the functions like atoi, atof, etc. However, I need to...
I am trying to search a file containing lisp code for the number of elements in the list. If anyone knows or has a suggestion on how to get the car (i.e the first element in the list) out of the CString object i have, and how to get the cdr (i.e the rest of the stuff in the list), it would be...
ya i realized i need to use mid now instead....but i think im gettin there. I got a ways to go, but im closer then i was when i came into work this morning hehe.
Hmm maybe my problem lies somewhere else...do u mind lookin at my code? I am tryin to remove all comments from this CString (i.e anywhere I see a ;;).
CString CParamString::excludeComments(CString &s)
{
TRACE("Entering excludeComment(CString &s)\n");
int iSLength = s.GetLength()...
ya i already tried those....the prob is that it says they are illegal escape sequences. I am not sure how CString::Find looks for carriage returns etc.
I am attempting to find a Carriage Return, a Line Feed, and/or Tabs in a CString. I am trying to use the CString::Find function, but am not sure what the correct parameter it takes. I thought \015, \102, \011, would be find however, it says that I have an illegal escapte sequence. Can anyone...
Ya...ill have to take a look at the code when i get to work on monday, but that looks like it will be helpful. Thx :-)
Im sure ill have some more questions
I am trying to read in a text file that contains information in list form. Basically output from a lisp program that contains data. I need to ignore comments which in this case are ;;. I am trying to create a class which is derived from the CString class that when is used to create objects...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.