By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,953 Members | 1,161 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,953 IT Pros & Developers. It's quick & easy.

Regarding structure in c++.

P: 2
HI Friends,
I am facing a problem Please help me as fast as you can.
As we know there is no data type for octal variable so we will have to need a struct for it . kindly demonstrate a program in which i can take a input variable from user , can store it and can retrieve it when needed.


Thanks & Regards:
Navneet Kumar.
Jun 15 '07 #1
Share this Question
Share on Google+
1 Reply


gpraghuram
Expert 100+
P: 1,275
HI Friends,
I am facing a problem Please help me as fast as you can.
As we know there is no data type for octal variable so we will have to need a struct for it . kindly demonstrate a program in which i can take a input variable from user , can store it and can retrieve it when needed.


Thanks & Regards:
Navneet Kumar.
Hi,
If u preceede the integer value with 0 then it is treated as an octal value.
I cant understand why u need a structure to store the same.
Can u explain it further?
Raghuram
Jun 15 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.