multuple struct in seperate switch case

hi,

i am wondering , can you put different structs in seperate switch cases .

is there a method to do this , as i am trying it and it is not working . any tips ?
Last edited on
Post code.
well its assignment code , i just want to get any tips on how it works and i'll tackle the code.
I think part of the reason he asked you to post code is because what you're asking is a little unclear.

Why don't you try writing code on how you think you would do something like this, and post that. If it ends up working, great. If not we'll be able to tell you why and help you fix it.
Disch was putting it lightly. Honestly, I don't have the slightest clue what you are asking us winggeek. This is why you need to post some code that demonstrates what you are trying to do. It doesn't have to be a gigantic program or your entire assignment. You could create a simple main function with a switch and some struct declarations that will allow us to see what you are attempting to do.
Topic archived. No new replies allowed.