Search:

Type: Posts; User: Shini

Search: Search took 0.00 seconds.

  1. Well I've changed my code above so that it shows...

    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...
  2. UPDATE: Managed to get that particular section...

    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...
  3. Ah of course, sorry about that, I'd only put in...

    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...
  4. Ah right! Well I've changed it and it finally...

    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] =...
  5. Passing an array from within a Struct into a function...

    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...
  6. Ah right! Well I've just tried this in a brand...

    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...
  7. Thanks again Kurt for the help! I've changed the...

    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...
  8. Hi Kurt, Thanks for that, I always keep making...

    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...
  9. A Class, an int array and a for loop walked into the bar....then they got stuck.

    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...
Results 1 to 9 of 9