MVS STANDARD EDITION 2005

I was beta testing a copy of mvs prof. I got to the point where i thought i was ready to program, so i went out and bought a version of MVS STANDARD EDITION 2005.

This standard edition is worse than the beta prof edition. I can not do for next loops, while, invalidate, update, processcmdkey, font.drawtext, resume, and the list goes on and on.

All i can do is program in a straight line, and most of that programmng is not accepted.

Can i replace my standard edition 2005 with something that works. Ive been beta testing for 14 weeks.




Answer this question

MVS STANDARD EDITION 2005

  • Andy 01264

    1. You couldn't have beta-testing Visual Studio since it is a released product. I think you meant "trying the evaluation version"

    2. There is absolutely no functional difference between the retail and evaluation versions of Visual Studio, provided it's the same edition, e.g. Standard

    3. Sorry, but when you say "I cannot do for next loops, while " etc, it does not make any sense. It would be akin to saying I cannot sit down in this new car I bought. Please, explain yourself



  • shahrul

    sorry, it's _putcher(char putches),    not putchar()     in console mode.

    i do not know what to use in place of SetCursorPos. The only thing i ever used was gotoxy(1,1). Could you suggest a call, one for windows and one for console this is all new to me, i write in c. I'm making most of this up as i go.

    thanks for the input.

     In the windows engine i use this code to fill the array

    // for(y=2;y<=9;y++){

    // for(x=4;x<=24;x++){

    // x1b=(x-1)*characterwidthb;

    // x2b=x*characterwidthb;

    // y1b=(y-1)*characterheightb;

    // y2b=y*characterheightb;

    // SetRect(&rc,x1b,y1b,x2b,y2b);

    // DrawText(hdc,messagechar,1,&rc,DT_LEFT|DT_TOP);

    // }}

    // Invalidate();

     

     In the my c++ rogram i use this code to place characters in the array, i do not know if this works

    void SetCursorPost(int x, int y){};

    void _putcher(char putches){

    putstring = putches;

    messagechar = &putstring;

    printf("\a");

    x1b=(x-1)*characterwidthb;

    x2b=x*characterwidthb;

    y1b=(y-1)*characterheightb;

    y2b=y*characterheightb;

     

    WM_PAINT;

    }

    I am going to figure this out, one way or another!!!!! These r the key to writing to the handheld.

    i can see why SetCursorPosition does not work, I got the wrong function. I can set up my own fuction to move the cursor. I thought gotoxy(1,1) would work. It would save weeks of time if you would tell me the function. Is it POINT



  • Sam_2

    putchar takes a parameter - a character to output.

    SetCursorPos has nothing to do with console output. It set Windows cursor position (the one you move around with mouse)



  • Dan Lukinykh

    I have been putting around "Ask a Question" and they say there is no gotoxy command counterpart for Vc++, for console development. I take that to mean, i can not move my cursor around on a console, right now !!!!! They also said there is a command in the making. If this is true I am going to concentrate my effort on the pocket pc screen. thanks!!

  • JayPi

    for next loop: i draw chars to the screen in a 21x7 array. In the console model i get 2 lines of 70 characters. When i write the code inside the windows engine i get the 21x7 array:

    for(x=1;x<=7;x++){

    for(y=1;y<=21;y++){

    SetCursorPos(x,y);

    putchar();

    }

    }

    i should get      ABCDBFHJNVBFHEJKDJSUW

                              FFERGGHTHTYJYUJYTJTYY

                              DFFRRFEEFEFTYTYHHTTHH

                             ABCDBFHJNVBFHEJKDJSUW

                              FFERGGHTHTYJYUJYTJTYY

                              DFFRRFEEFEFTYTYHHTTHH

                             ABCDBFHJNVBFHEJKDJSUW

     

    THIS IS WHAT I GET IN THE CONSOLE MODEL

    QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ

    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

     

    I tried manually putting in  '\n '  at y=21, and it worked on half the array

     

    while statement: while works a lot like the for next loop. i can play with the loops except they never work right.

    x=0;y=0;

    while(x<=7){

    while(y<=21){

    SetCursorPos(x,y);

    putchar();

    y++;

    }

    x++;

    }

     

     

    what im  hoping for, is a work around on my main() block, then i hope the rest will fall into place.

    Then i can get this chevy running, tuned up and ready to fly. 



  • MVS STANDARD EDITION 2005