This is the code I'm trying to run: (Note: The class name "poly" and other class "vrtx" are named as such to approximate the purpose of the problem ...
This is the code I'm trying to run: (Note: The class name "poly" and other class "vrtx" are named as such to approximate the purpose of the problem ...
Upfront disclosure: I think the entire thing is nonsense and "works" by chance, but I found this code and it seems to "work" for low-enough values of ...
Im trying to print out the strings from a txt file in order. The pasted code just writes one and the same string over and over again, and I cant fo ...
I'm trying to make sure I understand the syntax for function pointers in C. I know it's just a pointer to a specific type. That being said, why does t ...
I'm currently studying Computer Science and we started working with Pointers. I had the feeling that I started to understand pointers but I ran into a ...
I use the following type: In my code, I declare an array of double buffer, using the volatile keywoard (because the buffers can be updated/read asy ...
Or we can also do something like this: ...
I have a problem in which there is a struct that will hold the name, age and student id. I have to take an input from the user and make that number of ...
ave gratis plenum ! i am trying to access swiss ephemeris (aka sweph) from luajit ffi i have successfully compiled swiss ephemeris into libswe.so an ...
In this problem statement, we have to take an array of numbers from the user, then ask for a number they want to search for and give address of it. I ...
I'm reading the section on array arithmetic in K&R and came across something curious. I posted the whole paragraph for context, but I'm mainly foc ...
The Complete Program is here http://bmohanrajcse.blogspot.com/2018/01/9-construction-of-dag.html I didn't Know where & what to correct ,Please ...
This is my code: My task it to create a data base for students. I created arrays with mens' and womens' names, so that the program can randomly ass ...
I am not able to debug what is going on. The code seems correct yet I am new to pointers to pointers, and here there are 4 in series. #include <st ...
I have a collection of boxed object: I have a function that needs to return a *mut MyObject, and it pretty much look like this. But I am getting ...
I am trying to understand why the java visualizer draws pointers to array items assigned to Strings, but doesn't draw pointers from variables to a Str ...
I created 2 complex types BitsByte variable pointers and initially set them to nullptr. One will hold the uppers Byte of the word and the other will h ...
I have an assignment where I need to let the user create the height and width of a grid. Then be able to place "ships" onto that grid at any x and y c ...
In this problem, I have to create a dynamic array and get data from the user, If the user keep entering value, a new array should be created and the d ...
I'm new to c and I want to insert this code to generate a game grid, when I run it without making it inside a function it works, and when I declare it ...