English
C ++ Forum

Zeiger

 
Hello, somehow pack I it with the Zeiger not of C++(Dev C++).
it comes here the worth 0 out, really wished I 45 having.

who knows itself there from with the Error, whom I with the Zeiger made have?

mfg
peter
CompileMarkSeparation
declare testram#
dim testram#,100
cls
test()
print byte(testram#,0)
WaitInput
end

proc test

    parameters testram#
    int *a;
    *a=addr(testram#);
    a[0]=45;

09/13/08  
 



but not the proc Test simply byte testram#,0=45.
 
09/13/08  
 




Sebastian
König
You can C++ and XProfan-code not these Nature and point mix. Profan2Cpp accepted first of all time just XProfan, very How the normal Interpreter or. Compiler. If one (ex Profan2Cpp 2.0) still direct C++-code use möche (can in manchen Make Yes helpful his), so must this between whom special-Kommentaren <INLINE_CPP> and </INLINE_CPP> stand. These comments weden with P2CPP: eingeleitet. for Particulars moreover verweise I time on The Profan2Cpp-Help, point "Sonstige Features"

MfG

Sebastian
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
09/13/08  
 



Ahhhh.., means tidy detach.
the have I do not made.

How can I then now a function of C++ reinsetzen?

mfg
peter
 
09/13/08  
 



Nutzt You XPSE?
 
09/13/08  
 



No not yet in Profan2cpp.
must first this on The row get.

what wanted thou testing in the Context with Profan2cpp.

mfg
peter
 
09/13/08  
 



How can I then The Variablenzeiger/variables of XProfan on C++ transfer?
only with "PVAR"?

mfg
peter
 
09/13/08  
 




Sebastian
König
Peter Bierbachh
How can I then The Variablenzeiger/variables of XProfan on C++ transfer?
only with "PVAR"?


Yes, only so becomes the right name ensured.

an C++-function can You integrally normal as well as in C++ Call. See to that example whom code with AllocConsole(), whom I in another Thread here posted have.
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
09/13/08  
 



Peter Bierbachh
No not yet in Profan2cpp.
what wanted thou testing in the Context with Profan2cpp.


it supported The cpp-inlineasm-Blöcke (yet) not, it attempts these to XProfan to konvertieren.
 
09/13/08  
 



AllocConsole()...,
steuer me there time there, find I do not.

These Übergabe from the variables is for very important.
Perhaps have you got yet so einpaar kleien Notes.
Thank you.

DIe others things functions now self-evident.
was my Error. not correctly. red.

mfg
peter
 
09/13/08  
 




Sebastian
König
Sorry, I meant WriteConsole() here  [...]  the whole is a neckline from this code:
CompileMarkSeparation
MfG

Sebastian
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
09/13/08  
 



understand I do not in the Context with of/ one Memory-Variable :
declare ram#
dim ram#,1000

These would like I in C++ now with bytewerten fill.
knows but not , How I The in:
long *zeiger;
reinbekomme.

variables go really so transfer:
char i[100];
zeiger=&i; >>> zeiger=&PVAR(ram#) is not.
and then can with
zeiger[0]=234 etc zugegriffen go or filled go.

mfg
 
09/13/08  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

8.647 Views

Untitledvor 0 min.
funkheld12/17/13
H.Hackl03/22/12

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie