dubstar
format c:
- Joined
- 3 Dec 2002
- Messages
- 1,357
i have arrays set up, i can display the arrays, i can search the arrays but i'm having trouble figuring out what to set the array variable at to delete specific lines of code.
i assume setting it like this will delete.
for strings: string_var = ("");
for ints: int_var = (); -- but this doesn't work, neither does NULL
for char: char_var = ('')
or is there a way to delete AN ENTIRE LINE based on ONE array var matching the search, and putting in that array's location?
ie: search for "Michael"
found "Michael" in first_name[46]
delete the entire line or everything related to [46]
i already know that once its deleted from memory, i can just Loop the array and send that information to an open file for export.
i assume setting it like this will delete.
for strings: string_var = ("");
for ints: int_var = (); -- but this doesn't work, neither does NULL
for char: char_var = ('')
or is there a way to delete AN ENTIRE LINE based on ONE array var matching the search, and putting in that array's location?
ie: search for "Michael"
found "Michael" in first_name[46]
delete the entire line or everything related to [46]
i already know that once its deleted from memory, i can just Loop the array and send that information to an open file for export.