Can anyone help me write the program to find the magic numbers in c/c++??I have looking for this solution for a long time so ill be grateful if sumone here can solve it..
patria987
0
Newbie Poster
Recommended Answers
Jump to Postwhat do you mean by magic numbers?
Example:
int i = 123;
the "123" is considered a magic number. Is that what you mean?
Jump to Posti think he means
unsigned long MAGIC_NUM = 0xDEADBEEF;
All 5 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
jephthah
1,888
Posting Maven
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
jephthah
1,888
Posting Maven
Salem
5,138
Posting Sage
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.