|
Computer programming
|
View this Thread in Original format
| Michael19 |
| anyone out there who knows anything aobut C programming? |
|
|
| Michael19 |
i am using Borland and i need to put a menu instead another menu.
i used an if statement to do the first menu, but i am not sure how to put another menu inside that? |
|
|
| Lephaid |
| instead = inside? |
|
|
| Michael19 |
| yea, will change it now |
|
|
| itsTrueSonic |
hmm.. programmer here ..
here are two options that you can choose from :
1- there's like a tab or (->) left arrow button to shift the menu to the right side to create a submenu (that's what it is called .. a menu within a menu)
2-like Java, i think you create a Menu object in your coding.. create a main Menu object (the parent) .. then call one of the members (i think it should be Add) and add another Menu object within that parent Menu Object. |
|
|
| DjChook |
Why don't just make a switch within each option..
I don't think that C has the defigned types of "menus" |
|
|
| itsTrueSonic |
| quote: | Originally posted by DjChook
Why don't just make a switch within each option..
I don't think that C has the defigned types of "menus" |
in Borland C there is .. whenever you are making GUIs and stuff.. |
|
|
| Michael19 |
i tried making a switch but didnt work, give it another go though, not really very good at this programming lark!
i didnt think there was defined menu types in borland either.. |
|
|
| itsTrueSonic |
| quote: | Originally posted by Michael19
i tried making a switch but didnt work, give it another go though, not really very good at this programming lark!
i didnt think there was defined menu types in borland either.. |
there should be .. i have Microsoft VS for C++ .. and they have Menu object data types available there .. so Borland (which i feel is better in implementing the C language) should have it .. try carousing around the Help options and they should help you. |
|
|
| DjChook |
The point is that VC++ had the tools.. Borland C as far as I know is pure C .. no C++ / MFC and stuff...
So that's why I think you need to simply program the darn thing. |
|
|
|
|