Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 06:25

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



HELP ME PLZ ON C++

Discussion on HELP ME PLZ ON C++ within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2012
Posts: 6
Received Thanks: 0
Exclamation HELP ME PLZ ON C++

how can i define version of my project ?

#define __VER 1

#if __VER >=1
#define new_item_1 / version 1
#endif

#if __VER >=2
#define new_item_2 /version 2
#endif

#if __VER >=3
"define new_item_3 /versao 3
#endif

desire output :
if VER >= 1 // version 1
if VER >= 2 // version 1 + version 2
if VER >= 3 // version 1 +version 2 + version 3

HELP PLZ
OrionShine is offline  
Old 08/30/2012, 05:33   #2
 
elite*gold: 1
Join Date: Jun 2011
Posts: 344
Received Thanks: 326
Your Ver comes Versioncommon.h.
Mayby you will have __VER 100.
Then define it like this in your Versioncommon:
#define __VER 100.
Your Customs System in __VER must now under or exactly 100.
Example:
#if __VER >=( means Equal to or less) 99
text
#endif
Zoeybird is offline  
Thanks
1 User

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.