English
C ++ Forum

XProfanwerte/characters go any rausgeschmissen...

 
any characters The in XProfan vorkommen from the C++-Lines go at Compilieren rausgeschmissen as error. example too "char test;" etc can not C++ integrate.

Program :
CompileMarkSeparation
declare testram#
dim testram#,200000
cls
test()
WaitInput
end

proc test

    int b;
    int g;
    int r;
    int n;
    int wert;
    wert=199000;
    for(n = 0; n <= wert; n = n + 1)

    {

        b=byte(testram#+n) & 255;
        g=byte(testram#+n+1) & 255;
        r=byte(testram#+n+2) & 255;

        if ((r==0) & (b==0) & (g==0))

            byte testram#,n+3=0;

        else

            {

                byte testram#,n+3=255;

            }

            byte testram#,n+2=b;
            byte testram#=r;

        }

    endproc


Error Message :



"Dev-Cpping++.exe" -c PrfMain.cpp -o .objPrfMain.o -I"Dev-Cppinclude" -I"Dev-Cppincludec++" -I"Dev-Cppincludec++ackward" -I"Dev-Cppincludec++mingw32" -L"Dev-Cpplib" -B"Dev-Cppin" -fexceptions -s -mwindows -w -O2 -fno-elide-constructors -Wno-deprecated

"Dev-Cpping++.exe" -c cpp-Test.cpp -o .objcpp-Test.o -I"Dev-Cppinclude" -I"Dev-Cppincludec++" -I"Dev-Cppincludec++ackward" -I"Dev-Cppincludec++mingw32" -L"Dev-Cpplib" -B"Dev-Cppin" -fexceptions -s -mwindows -w -O2 -fno-elide-constructors -Wno-deprecated

cpp-Test.cpp: In function `p_variant Proc_test(int, ...):

cpp-Test.cpp:56: declaration of `n shadows a parameter

cpp-Test.cpp:61: parse error before `<= token

cpp-Test.cpp:61: parse error before `) token

cpp-Test.cpp:63: non-lvalue in unary `&

cpp-Test.cpp:64: non-lvalue in unary `&

cpp-Test.cpp:65: non-lvalue in unary `&

cpp-Test.cpp:66: parse error before `== token

cpp-Test.cpp:66: parse error before `== token

cpp-Test.cpp:66: parse error before `== token

cpp-Test.cpp:76: parse error before `) token

cpp-Test.cpp:185: parse error at end of input

Dev-Cppinmake.exe: *** [".objcpp-Test.o"] Error 1

Finished.


mfg
peter
 
09/13/08  
 



You mark whom C-code not as such, Sebastian hats here declared: [...] 
 
09/13/08  
 




Sebastian
König
here [...]  have I it too straight again declared
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
09/13/08  
 



having I before posted.
will be it again testing.

mfg
peter
 
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

2.891 Views

Untitledvor 0 min.

Themeninformationen

this Topic has 3 subscriber:

unbekannt (2x)
Sebastian König (1x)
iF (1x)


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