Beginners - March 2020 (Page 14)

access dynamic class members
 
I'm trying to convert a class array into a dynamically allocated array of class but I can't figure out how to access the class member functions. What syntax wou...
[3 replies] Last: " class array " and " array of class " ... do you mean essentially sam... (by keskiverto)
Reversing an arrays elements and outputting as a pointer returning
 
Here is my objective and I am stuck on making the elements go in reverse, "Write a function that accepts an int array and the array’s size as arguments. The f...
[3 replies] Last: int *reverseArray( int const A , int size ) { int *p = new int ; ... (by lastchance)
segmentation fault
 
I'm trying to covert an array into a dynamically allocated array and I got a segmentation fault I can't figure out. gdb says that I have a write error somewher...
[5 replies] Last: I don't know if the movie invented the term or not, but anyway, fubar ... (by jonnin)
March 2020 Pages: 1... 121314
  Archived months: [feb2020] [apr2020]

This is an archived page. To post a new message, go to the current page.