Skip to content

Need some help with serialization & deserialization #4651

Closed Answered by Manohar-Penta
Manohar-Penta asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @nlohmann , Thanks for helping me. I have mostly wrote code in Codeforces or Leetcode, So don't have much idea about developing with c++. The debugger gave me context to solve the problem.

The problem was with ftruncate() which removes the data but have to use the lseek() to move the position where the data should be appended in file.

thanks again, this project really helped me complete this assignment.

Replies: 2 comments 14 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
14 replies
@Manohar-Penta
Comment options

@Manohar-Penta
Comment options

@nlohmann
Comment options

@Manohar-Penta
Comment options

Answer selected by Manohar-Penta
@nlohmann
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants