Well I've changed my code above so that it shows more or my code, the reason i didnt have it before was because I didnt know that the problem could've lied in main, thought it was just a problem with...
Type: Posts; User: Shini
Well I've changed my code above so that it shows more or my code, the reason i didnt have it before was because I didnt know that the problem could've lied in main, thought it was just a problem with...
UPDATE: Managed to get that particular section fixed, however I now have another issue with similar problems.
UPDATE2: Changed the code so that its actually more like my code, apologies for being...
Ah of course, sorry about that, I'd only put in the information regarding the passing of structs into a function because I didn't realise that I had another problem.
I've put down the full code...
Ah right! Well I've changed it and it finally compiles!
So something like this....
void set_values(struct SPackets *packets, struct temp_Packet temp){
packets->_src[nPacket] =...
Hi All,
I've got a struct which has several integer arrays inside of it. I'm trying to pass this struct into a function but I'm getting an error which says that the variables are not a member or...
Ah right! Well I've just tried this in a brand new project and it works. But for some reason it wont seem to work in the context of this current program I'm trying out. Think I'll be able to solve...
Thanks again Kurt for the help! I've changed the disp_values() to have no parameters and that's working perfectly.
There's still a problem with the int main() though, the compiler is saying that...
Hi Kurt,
Thanks for that, I always keep making mistakes with the minor differences with stuff like that. I've applied the changes that you have written about (i.e. moving disp_values() and num...
Hello everybody!
I've got a problem with the code below and would appreciate any help that you could give me.
The problem is that I have a class called "Class_1" and inside I have multiple...