Sounds like you are a PC based programmer :-)
The little testprogram I posted was just for demonstration.
The screen output is not needed.
The main program is to work with the data....
Type: Posts; User: wollek
Sounds like you are a PC based programmer :-)
The little testprogram I posted was just for demonstration.
The screen output is not needed.
The main program is to work with the data....
thanks whiteflags and laserlight
I will read through the link itCbitC has send and play around with your suggestions.
At the beginning I was suspicious I had a problem with my hexdump output as...
Thanks itCbitC!
That's what I just remembered.
The link will help me to get back in the saddle, thanks!
As I said my program has to read a unspecified amount of data.
The struct in my example as only one element but in fact it will be a dozen more .
Reading the data in one at a time would mean...
Looks like you set me in the right direction and I will be able to answer my questions myself.
Keyword is dynamical memory allocation.
I just remembered about 20 years ago while doing pascal...
Okay, looks I have a fundamental misunderstanding here.
So what would be the correct way to address a element of a structured group with unknown array size?
In other words, I have a set of...
please explain , why does incrementing a pointer makes no sense?
I thought that if I increment a pointer it will point to the next struct.
Honestly, I think it makes no sense to have a pointer...
Hi,
I am new to the forum and also a rookie C-programmer.
So please excuse if I will ask a typical beginner question to you but this problem drives me nuts for days now.
Here is the problem:
...