python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Getting length of a float array in C++
Im trying to find out the length of a given X array in my c++ program and I can't figure out how to see how many elements are in there.
float *X = (float *) rgrid->GetXcoordinates->GetVoidPointe...
PatTheTrickster
Votes: 0
Answers: 1
What would be the correct way to "recreate" sizeof operator with user defined sizes during compile time for structs/classes
Morning,
what would be a correct way to sort of "recreate" the sizeof operator for struct and classes and supply it with my own sizes.
My initial idea was to create a helper class that looks...

Artur K.
Votes: 0
Answers: 2
c programming, How can i get the sizeof a variable through a function using a pointer as a parameter?
How can i get the sizeof a variable through a function using a pointer as a parameter?
readEachChar(unsigned char * input){
printf("The the size of the string %zu", sizeof(input));
...

user14570759
Votes: 0
Answers: 4