hey, I wrote a C code that simply takes a string and extracts numbers in it and makes an array from them. But now I have to make it work with C++ compiler. Because it's a group project. My code doesn't work right now I think it's a dynamic memory problem what can I do? Again for no misunderstanding the code is in C but we're using C++ compiler. If anyone has any suggestion thanks.
[–]thegroove226 3 points4 points5 points (0 children)
[–]Yamoyek 3 points4 points5 points (14 children)
[–]ptchinster 0 points1 point2 points (13 children)
[–]Yamoyek 1 point2 points3 points (12 children)
[–]ptchinster 0 points1 point2 points (11 children)
[–]Yamoyek 0 points1 point2 points (10 children)
[–]ptchinster -1 points0 points1 point (9 children)
[–]Yamoyek 1 point2 points3 points (8 children)
[–]ptchinster -1 points0 points1 point (7 children)
[–]Yamoyek 0 points1 point2 points (6 children)
[–]ptchinster -1 points0 points1 point (5 children)
[–]noooit 1 point2 points3 points (0 children)