sir, ihave a doubt on converting a inputed decimel number to a octal number
will u help me?
gowswan 0 Newbie Poster
Recommended Answers
Jump to Post>#include<iostream.h>
>#include<conio.h>Nonstandard headers.
>#include<stdio.h>
Unused header.
>void main()
Incorrect.
>clrscr();
Unnecessary and a nonstandard function.
> n[c] = 55 + r;
> n[c] = 48 + r;ASCII hacks.
>getch();
Nonstandard function.
All 4 Replies
jwenting 1,905 duckman Team Colleague
varunrathi 0 Light Poster
Dave Sinkula commented: Use code tags. And don't use void main(). +0
jwenting 1,905 duckman Team Colleague
Dave Sinkula 2,398 long time no c Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.