Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 05:08

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

Advertisement



conversion C++ to Delphi

Discussion on conversion C++ to Delphi within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2009
Posts: 237
Received Thanks: 402
Question conversion C++ to Delphi

Hi guys,
Who can help with conversion C++ code to Delphi?
2:
Thx
dwar is offline  
Old 02/03/2010, 16:50   #2
 
flo8464's Avatar
 
elite*gold: 0
Join Date: Nov 2008
Posts: 161
Received Thanks: 38
Quote:
b) What does this mean “for ( ; ; )”?
It's looping for ever or until it's left by return/break.

Quote:
c) What actually do PopFront and PushBack?
Popfront removes the first element at the beginning of the list, pushback adds a new element at the end of the list.
flo8464 is offline  
Old 02/04/2010, 03:19   #3
 
elite*gold: 0
Join Date: Apr 2009
Posts: 237
Received Thanks: 402
Thx.
What about “CArray<byte>”? Is it declaration of dynamic byte array?
And how can I rewrite “ %= “, “>>= “ ?
dwar is offline  
Old 02/04/2010, 12:25   #4
 
flo8464's Avatar
 
elite*gold: 0
Join Date: Nov 2008
Posts: 161
Received Thanks: 38
Quote:
What about “CArray<byte>”? Is it declaration of dynamic byte array?
That is neither part of the STL or boost, it is MFC-Bullshit.
First hit Google:

Quote:
And how can I rewrite “ %= “, “>>= “ ?
The first:

"var %= 4" means "var = var modulo 4" (I think "mod" is the expression in Delphi)

Second:

"var >>= 4" means "var = var >> 4", shifting 4 bits to the right, guess "shr" shifts to the right in Delphi.
flo8464 is offline  
Thanks
1 User
Old 02/04/2010, 13:47   #5
 
elite*gold: 0
Join Date: Apr 2009
Posts: 237
Received Thanks: 402
thx alot for helping.
dwar is offline  
Reply


Similar Threads Similar Threads
DELPHI - Who make Exploits, Hacks and Tools with DELPHI?
05/15/2013 - CO2 Programming - 13 Replies
Hi all. Iwith DELPHI, but a dont now. hello, I use Delphi to program and i like someone put here source code of make Exploits, Hacks and Tools bot here, or part of the code. ty to all
[C++] char[] to string conversion
07/23/2010 - C/C++ - 2 Replies
hi, I have a problem with conversion char to string. char GetUnitName() { char cUnitName; memcpy(cUnitName,(void*)0x007E7A38,16); return cUnitName;
[DELPHI&METIN]Wie sind die Delphi Befehle für einen Bot?
03/07/2010 - General Coding - 3 Replies
Hallo liebe com, ich habe mal eine Frage: Ich möchte einen Metin Bot in Delphi schreiben aber ich weiß nicht die Befehle für eine bestimmte Taste senden etc. könnt ihr mir die pls sagen oder per pn geben MfGGGGGG
Yet Another CPS to Gold Conversion
01/21/2007 - CO2 Exploits, Hacks & Tools - 9 Replies
i think there are couple of conversion out there but this is very simple written in VB How to use: 1. Enter the avg price of the (inflated) DB. default is 20kk 2. If you want to find out what the item worth in CPS then leave Priceofitem(CPS) as Zero (0). Enter the price in GOLD in the other box. 3. If you want to find out what the item worth in Gold then leave Priceofitem(Gold) as Zero. Enter the price in CPS in the other box 4. Hit calculate. if you find any bug please let me know...



All times are GMT +2. The time now is 05:08.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.