What is the difference between a RECORD and REGISTER?

Recommended Answers

It depends on the context. Typically, records vary wildly. A record could be the data content in any data structure or database, or it could be a string of characters between commas in a CSV file. In the context of your previous thread, a record is a line in the …

Jump to Post

All 4 Replies

It depends on the context. Typically, records vary wildly. A record could be the data content in any data structure or database, or it could be a string of characters between commas in a CSV file. In the context of your previous thread, a record is a line in the temporary file being worked with.

A register is a tiny bit of memory that is used as temporary storage for data. Things move in and out of registers quickly because there are so few of them and they're in high demand.

thanks, i knew that but it didn't help me when i tried to figure out the code

thanks, i knew that but it didn't help me when i tried to figure out the code

It's just a matter of figuring out what they mean by the terms they use. A register is a temporary holding pen and a record is a more permanent holding pen. You have one register and a potentially unlimited number of records.

^^^ yeah, its starting to come back, the part about a register being temporary and the record being permanent helps

i can see im going to love this site already, i'm waiting to see if i get excepted to this computer science undergraduate/graduate program. If i do or don't this site will be my second home :)

im about to read through your whole answer and try to figure out the rest of the program now...appreciate you

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.