Just making that change with current->next in add, and also making space->next null in the create() function fixed everything. Otherwise a link to a zip (or github repo or whatever) is a good idea.Nice work! I didn't even notice that there was an issue with how the records were displayed, i just noticed that for some reason after running add(), the current->next pointer added wasn't NULL like i would think it should be. You should post all of the code when possible (like if it's less than say 500 lines). While (current->next) current = current->next Also, smanage just contains functions i use for string input, one of those functions being "purge()" which clears the buffer: It has two tools: aewan, an ASCII editor and aecat, for viewing the created file. It produces stand-alone cat-able ASCII art files and an easy-to-parse format for integration into terminal applications. }P.S.: sorry if this is too much code at once for you, but i'm not telepathic and don't know which parts of this program i should post here. Aewan is a multi-layered ASCII graphics/animation editor. first or previous-> node with node past current, current is linked with current->next show diagram if loop hasn't reached the end , count, current->value, current, current->next) If the file contains a A in a given character set, and you would like to see 65, because thats the byte used for A in ASCII, then you would need to do: < file iconv -f that-charset -t ascii od -An -vtu1 To first convert that file to ascii and then dump the corresponding byte values. ![]() As the escape character is often used in terminal applications, it is typically sent through to the far. It has nothing to do with ASCII or any other character set. telnet uses the group separator as its escape to its interactive interface. don't show diagram if end of list is reached The keystrokes for the further control characters are as follows: - Escape - File Separator - Group Separator - Record Separator - Unit Separator. ![]() " %p, current: %p.\n", first->next, current->next, current) Printf("head value is %d, current value is %d\n", first->value, current->value) For some reason, curent->next stops being displayed as null after ![]() shows position and value of nodes at this point in the program link or re-link the nodes together until we
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |