hey Iwant to convert from interger to character
char num[1000];
num=rem;
strrev(num);
what is wrorng whith this form??
warning : warning C4996: 'strrev' was declared deprecated
I can't understand this warning
Hope Help me
Lotus_2011
0
Light Poster
Recommended Answers
Jump to Poststrrev is deprecated (OLD OLD OLD)
use
int num = 5; // number char buffer[1000]; // this is where the integer is converted to itoa(num, buffer, 10);
Jump to Postitoa is a non-standard function.
Have a look at sprintf instead. http://www.cplusplus.com/reference/clibrary/cstdio/sprintf.html
Jump to PostC# is a Microsoft language, part of the .NET family.
All 10 Replies
hacker9801
49
Junior Poster
Lotus_2011
0
Light Poster
Colin Mac
53
Posting Whiz
Lotus_2011
0
Light Poster
hacker9801
49
Junior Poster
Lotus_2011
0
Light Poster
Colin Mac
53
Posting Whiz
Lotus_2011
0
Light Poster
Necrolis
-2
Light Poster
Colin Mac
53
Posting Whiz
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.