Skip to content

Can't split into "list" of floats with single pointer #3

@ghost

Description

  • "calloc" can't be used to generate list of floats for splitted data,
    • Program will abort after 7th item
    • Unsure why, possibly due to overwriting memory space that can't be overwritten
  • Need to now learn about vectors (Use DSA - Codechef), then fix this issue

STEPS TO RESOLUTION:

  • Learn about vectors in c++
  • create vector of data
  • dynamically add items (via splitting)
  • create separate function and add to strings.cpp in ag

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions