Results 1 to 25 of 25

Thread: C++/C# BASIC

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date: Aug:2007
    Location:
    Posts: 1,335

    C++/C# BASIC

    S- Malab Simulink.
    C++.
    BASIC/Fortran/Pascal/Assembler C++/C#.
    ,

    , "C++ " -> .

    :
    0) - ?
    1) ?
    BASIC GOSUB <> RETURN .
    2) , ?
    3) , C, .
    B/F/P GOTO, Assemler JMP.
    , GOTO label: GOTO 53?
    4) , :
    Code:
    :   
    IF c~=100   
       IF b>=45
             IF a==1
             overflow=1
             a=0
             out=flex3
             END
       END
    END
    BASIC
    Code:
    IF .....AND ..... OR .... THEN <> :PRINT < > :GOTO label:
    1 .

    , :
    - . ?
    - . ?
    - . ?
    .
    Last edited by PET3; 10th April 2010 at 11:50.
    , ,
    .

  2. #2
    Bombera's Avatar
    Join Date: Jul:2001
    Location: 4EVA
    Posts: 13,833
    0)
    1) C . , . .
    2) . " " ?
    3) . goto. . , , ( ). , . , .
    4) .

    , C ";"
    EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
    Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|

  3. #3
    Registered User
    Join Date: Aug:2007
    Location:
    Posts: 1,335
    .
    Matlab Simulink goto IF END Global <>
    Last edited by PET3; 10th April 2010 at 11:57.
    , ,
    .

  4. #4
    Nuclear's Avatar
    Join Date: Sep:2004
    Location: , . ()
    Posts: 3,352
    Quote Originally Posted by PET3 View Post
    4) , :
    Code:
    :   
    IF c~=100   
       IF b>=45
             IF a==1
             overlow=1
             a=0
             out=flex3
             END
       END
    END
    BASIC
    Code:
    IF .....AND ..... OR .... THEN <> :PRINT < > :GOTO label:
    1 .
    C++ :
    Code:
    if (c!=100 && b>=45 && a==1)
    {
             overlow=1;
             a=0;
             out=flex3;
    }
    else //   ,   
    {
    ...
    }
    "" , , , / .

    , , , ( ).
    . HWBG !

  5. #5
    stalinator 2047 bat_zerga's Avatar
    Join Date: Oct:2003
    Location: /
    Posts: 4,214
    0) - ?
    atlab- - 4- Matlab. , ATLAB , ( - -).
    1) ?
    BASIC GOSUB <> RETURN .
    - . ?
    - M ( - ). .
    - . '
    h=3
    h=h+1=4
    h=h+1=5
    h=h+1=6 ..
    . , &.

    2) , ?

    MATLAB-a .

    hipotenuza.m :

    hipoten -
    sum -
    kat1 -
    kat2 -
    Source
    function [hipoten,sum]=hipotenuza(kat1,kat2)
    hipoten=sqrt(kat1^2+kat2^2)
    sum=kat1+kat2
    --------------------------------------------------
    c d [a,b]=hipoten(c,d)
    - .

    3) , C, .
    B/F/P GOTO, Assemler JMP.
    , GOTO label: GOTO 53? . ?
    - LAB .
    4) , :
    BASIC
    Code:
    IF .....AND ..... OR .... THEN <> :PRINT < > :GOTO label:
    1 .
    . ?

    '' .



    - Toolbox !
    - , !
    - , .
    , ., .

  6. #6
    Registered User
    Join Date: Aug:2007
    Location:
    Posts: 1,335
    ,

    , " BASIC Fortran?
    , .. ( ) , .
    .
    , .
    , Java .
    Last edited by PET3; 13th April 2010 at 17:56.
    , ,
    .

  7. #7
    Registered User
    Join Date: Aug:2007
    Location:
    Posts: 1,335
    /- C#. . .
    /- , .
    Comand Table , , . .
    .
    Last edited by PET3; 17th May 2010 at 18:14.
    , ,
    .

  8. #8
    Bombera's Avatar
    Join Date: Jul:2001
    Location: 4EVA
    Posts: 13,833
    K ? , / .
    , , . .
    EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
    Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|

  9. #9
    Defender Kaspirtov's Avatar
    Join Date: Jun:2006
    Location: Sf
    Posts: 7,414
    Quote Originally Posted by Bombera View Post
    K ? , / .
    ?
    System.IO.Ports -

    ------------
    @PET3, , Bombera-a. Common Table .... .NET- ... ( C# C++.)

    , , MSDN-a table - System.Collections, , ..., C/C++

    "Common" C/C++ -

    , MSDN-a

    :
    Quote Originally Posted by PET3
    - ;
    - ASCII ;
    System.Console
    ANSCII, UNICODE...
    System.Text.Encoding

    :
    System.Drawing

    O VS2008 3D
    System.Windows.Media;
    System.Windows.Media.Imaging;
    System.Windows.Media.Media3D;

    - DrawingContext,
    /* , */

    , , Math System.Math . ...
    Last edited by Kaspirtov; 18th May 2010 at 13:19.
    " , , , , ."

  10. #10
    Bombera's Avatar
    Join Date: Jul:2001
    Location: 4EVA
    Posts: 13,833
    Quote Originally Posted by Kaspirtov View Post
    ?
    System.IO.Ports -
    I/O () , .

    C# ( Win API), . , C# , .
    Last edited by Bombera; 18th May 2010 at 15:25.
    EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
    Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|

  11. #11
    Defender Kaspirtov's Avatar
    Join Date: Jun:2006
    Location: Sf
    Posts: 7,414
    Quote Originally Posted by Bombera View Post
    C# ( Win API)..
    ?! - .

    Win API? , / , ... . workaround .. , ... ?

    A, , ...

    .. ... . , lib project C# app reference. E C# wrapper
    Last edited by Kaspirtov; 18th May 2010 at 16:33.
    " , , , , ."

  12. #12
    Bombera's Avatar
    Join Date: Jul:2001
    Location: 4EVA
    Posts: 13,833
    Quote Originally Posted by Kaspirtov View Post
    ?! - .
    . , Win32 API( )

    Quote Originally Posted by Kaspirtov View Post
    Win API? , / , ... . workaround .. , ... ?
    , , . , Windows , , , . , , API- - GDI, DirectX, OpenGL, .

    Quote Originally Posted by Kaspirtov View Post
    .. ... . , lib project C# app reference. E C# wrapper
    ( 9) , ( I/O . , . ). , . - , NTVDM . DOS , , C#, DOS . . C++ ( , . . , ).
    Win32 API COM , . .
    Last edited by Bombera; 18th May 2010 at 18:40.
    EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
    Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|

  13. #13
    Registered User
    Join Date: Aug:2007
    Location:
    Posts: 1,335
    / /, :
    - ;
    - ASCII ;
    - / ;
    -, ;
    - ;
    - ;
    - ;
    - ;
    - ;
    -/ ;
    - Graphic Array / .
    .
    , .
    .
    . . Comand Table . , .
    . , . - . . , . . . .
    .
    . . , .
    , .
    , , .
    .
    Last edited by PET3; 18th May 2010 at 10:32.
    , ,
    .

  14. #14
    Registered User
    Join Date: Aug:2007
    Location:
    Posts: 1,335
    .
    , MSDN-. 3 CD-. .
    , Command Table http://www.skytopia.com/project/arti...ci/c-help.html
    Last edited by PET3; 18th May 2010 at 13:38.
    , ,
    .

  15. #15
    Defender Kaspirtov's Avatar
    Join Date: Jun:2006
    Location: Sf
    Posts: 7,414
    Quote Originally Posted by PET3 View Post
    :

    :
    :
    char x[20][100]; -a: char x[20,100]; System.Collections;

    System.IO
    O System.String

    , #include < >, using ;

    i = atoi("456"); => Parse TryParse, "atoi"

    . , Garbage Collector, (System.GC), . IDisposable, , . . (.. Dispose(), , forse- , ). "" GC .

    Garbage Collector .NET

    - . , ref , , . . -, ref , : func(ref int a) {}

    . - , C# .
    " , , , , ."

  16. #16
    Game programmer
    Join Date: Feb:2007
    Location:
    Posts: 1,948
    Quote Originally Posted by PET3 View Post
    .
    , MSDN-. 3 CD-.
    MSDN Microsoft - http://msdn.microsoft.com/en-us/default.aspx
    , C#, . - (.. ), , , . , ( ) , , tutorial- ( C++) ( , )...

    ?
    , 1
    Code:
    Bitmap dot = new Bitmap(1,1);
    dot.SetPixel(0, 0, Color.Red);
    Graphics
    Last edited by Todor032; 18th May 2010 at 16:44.

  17. #17
    Bombera's Avatar
    Join Date: Jul:2001
    Location: 4EVA
    Posts: 13,833
    , , , , .
    EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
    Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|

  18. #18
    Registered User
    Join Date: Aug:2007
    Location:
    Posts: 1,335
    , Win32 Windows. IRQ
    , IrDA BIOS .
    OS- - , , .
    , ATA BIOS , , PC , OS CRC Time out .
    C# , Windows .
    Time Shield .
    Open Sorce OS, - . 2 , .
    . , , - ", "
    , .
    , Bombera, Kaspirtov Todor032.
    Last edited by PET3; 18th May 2010 at 23:10.
    , ,
    .

  19. #19
    Bombera's Avatar
    Join Date: Jul:2001
    Location: 4EVA
    Posts: 13,833
    Quote Originally Posted by PET3 View Post
    , Win32 Windows.
    , . C# - .

    IrDA- . , .
    EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
    Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|

  20. #20
    Defender Kaspirtov's Avatar
    Join Date: Jun:2006
    Location: Sf
    Posts: 7,414
    PET3, , , , C++ C# , .

    , " " ....
    . . - . . , "best practices" 2, , ... ...
    " , , , , ."

  21. #21
    Registered User
    Join Date: Aug:2007
    Location:
    Posts: 1,335
    C# e junior C++ . . , , , junior C++, C#. Windows, - , . , , , . , , - . , , . , C# . , C. .
    "", - . , .
    Last edited by PET3; 21st May 2010 at 10:29.
    , ,
    .

  22. #22
    Registered User 's Avatar
    Join Date: Feb:2006
    Location:
    Posts: 653
    Quote Originally Posted by PET3 View Post
    C# e junior C++ . . , , , junior C++, C#. Windows, - , . , , , . , , - . , , . , C# . , C. .
    "", - . , .
    , , junior c# . .

  23. #23
    XaMaB's Avatar
    Join Date: Nov:2001
    Location:
    Posts: 20,387
    / , C# . /c/c++. C# win/web .

    . , , - , 2/3 . . , .
    : XaMaB; . 0.42

    In God we Trust (all others must submit a X.509 certificate). , ()

  24. #24
    Registered User
    Join Date: Aug:2007
    Location:
    Posts: 1,335
    . .
    , ,
    .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |