Search:

Type: Posts; User: 2kaud

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: Visual Small Basic v1.8.5 for kids and beginners

    I don't use Basic but IMO the issue for 'kids/beginners' isn't so much the language per say, it's getting to grips with the IDE. VS/VS Code are quite complex and you really need to know how to use it...
  2. Re: Visual Small Basic v1.8.5 for kids and beginners

    [Also see https://www.vbforums.com/showthread.php?894006-Small-Visual-Basic-v1-3-2&p=5580704#post5580704]

    Note my comment post #7.
  3. Replies
    8
    Views
    1,063

    Re: Small Visual Basic v1.3.2

    Note that there is an ISO standard for Basic (out of date!):
    https://www.iso.org/standard/18321.html


    There was an ISO working group for Basic (WG8 of SC22) but it has now been disbanded....
  4. Re: Best Alternative to VB6 for teaching and training

    My 2 suggestions are still Twinbasic and Lazarus
  5. Re: Best Alternative to VB6 for teaching and training

    Well the top programming languages for 2022 are:
    Python
    Java
    JavaScript
    Kotlin
    Ruby
    R
    PHP
    Go
    C/C++
  6. Re: Best Alternative to VB6 for teaching and training

    For learning programming, I would suggest Pascal together with Lazarus. Pascal is an 'easy' language to learn and teaches good programming habits. It has very few 'quirks' compared to some languages...
  7. Re: QB64 site and forum explodes into nothing, then rises like a phoenix?

    I moved from Windows 3/3.11 to 95 to NT - so I never experienced the 'horror' of either 98 or me. We first used NT/95/3 etc with Netware, then we got our first NT server and ditched Netware. The...
  8. Replies
    82
    Views
    6,699

    Re: The best programming language?

    MS did adopt C++ - it's called C++/cli and uses .net via 'boxing'. This is Herb Sutter's baby....
  9. Thread: Ancient History

    by 2kaud
    Replies
    16
    Views
    461

    Re: Ancient History

    Algol68 was first implemented for CDC in about 1977. I first used it in 1979 (I think. It was a long time ago...). Algol68 was very different to Algol60. There was disagreement amongst the...
  10. Thread: Ancient History

    by 2kaud
    Replies
    16
    Views
    461

    Re: Ancient History

    I used Pascal/Fortran/Algol68/Assembler on CDC computers and Pascal/Basic (various)/Fortran/c/Assembler on mini-computers (DEC/DG etc) then Basic/Assembler/Proc/Access for Pick-based computers (still...
  11. Thread: Ancient History

    by 2kaud
    Replies
    16
    Views
    461

    Re: Ancient History

    I never came across RPG as I never programmed IBM mainframes..,
  12. Thread: Ancient History

    by 2kaud
    Replies
    16
    Views
    461

    Re: Ancient History

    Cobol was the one language I've used that I absolutely hated. hated. hated. We learnt Cobol in the late 70's during my 2nd year University CS and we had to produce a non-trivial program using batch...
  13. Re: C++: how convert a user class to const POINT*?

    const is used as operator POINT() doesn't now change any class member variables and marks the function as const so that it can be used with a const class instance. In my previous #8 post I marked...
  14. Re: C++: how convert a user class to const POINT*?

    Polygon(HDCConsole, DrawPlane.data(), DrawPlane.size());


    You can't. See my post #16.
  15. Re: C++: how convert a user class to const POINT*?

    As #6 compiles OK and #8 doesn't either you have a quite old compiler, or you need to inform the compiler to compile as C++17/++20 using an appropriate option. eg –std=c++17 or -std=c++20 if...
  16. Re: C++: how convert a user class to const POINT*?

    I'd also suggest using the latest MS VS compiler. VS2022 community is free to install/use:
    https://visualstudio.microsoft.com/free-developer-offers/

    PS. Note that if you do install VS, then C/C++...
  17. Re: C++: how convert a user class to const POINT*?

    What version of the GNU compiler? It seems that you're using an old version. I'd suggest upgrading to the current.

    However, as I only use VS I can't help with issues with other compilers. Sorry.
    ...
  18. Re: C++: how convert a user class to const POINT*?

    The code as posted above as post #8 compiles OK with MS VS2022 as C++20.

    What compiler are you using? If VS2022, have you set the Language Standard to C++20 (or latest)?
  19. Re: C++: how convert a user class to const POINT*?

    The (POINT) cast calls the POINT() function to perform the cast:



    mypoints[i] = (POINT)DrawPlane[i];


    Also, some simplified code that enables DrawPlane to be const (the problem with my...
  20. Re: C++: how convert a user class to const POINT*?

    This test code compiles OK with VS2022 (with just some conversion warnings):



    #include <vector>
    #include <Windows.h>
    #include <cmath>

    class position
    {
  21. Re: C++: how convert a user class to const POINT*?

    Ah. Polygon() for it's second parameter requires a pointer to an array of POINT. DrawPlane is a std::vector of position. You can't cast a std::vector of position to a memory pointer of POINT. You...
  22. Re: C++: how convert a user class to const POINT*?

    How do you call the Polygon() API - and what errors are you getting? operator POINT() is a cast function that will return a type POINT when position type is used but POINT is required.
  23. Replies
    10
    Views
    870

    Re: Original VB6 install CD?

    As you have the key, why not just download VB6?
    https://winworldpc.com/product/microsoft-visual-bas/60
  24. Replies
    152
    Views
    3,236

    Re: US college enrollment is declining

    I'd say not. But IMO education has been dumbed down. So that it appears that the students are getting dumber. And this doesn't have much to do with how hard /effort students put into their studies....
  25. Replies
    69
    Views
    20,589

    Re: VB6-compiled apps being flagged as virus

    It's not just VB6 compiled apps. I've also had the same issue with C++ .exe files being flagged...
  26. Re: Learning C++, looking at function pointers. Is this Good?

    Easier like this:



    #include <iostream>

    using Func = void(*)();

    class Test {
    Func ExternalFunction {};
  27. Thread: Dead Monitor

    by 2kaud
    Replies
    25
    Views
    732

    Re: Dead Monitor

    Personally, instead of one 27" monitor I prefer a couple of smaller ones.
  28. Replies
    152
    Views
    3,236

    Re: US college enrollment is declining

    Then there is procreation, raising children, dispute resolution, looking after the dis-functional STEM people. If all there were were top-of-their game STEM people, I would fear for the future of the...
  29. Thread: Post Race!

    by 2kaud
    Replies
    67,110
    Views
    12,579,640

    Re: Post Race!

    Do we need to issue a 'Most Wanted' for Shaggy?

    "They seek him here,
    they seek him there,
    those vbforumers seek him everywhere.
    Is he in heaven or is he in hell?
    That demned elusive Shaggy."
  30. Replies
    1
    Views
    752

    Re: Call by Reference or by Value?

    I don't know what question you're trying to ask. arr is passed by value - but arr is effectively a pointer as when an array is passed it is 'decayed' to a pointer. So any changes made in arr in...
  31. Re: Confusion about pointers and references in C++

    Interesting question. The real question is why the first code compiles. The given swap() function takes 2 args of pointers to ints. However you are passing ints in the function call. So why does this...
  32. Thread: TwinBasic

    by 2kaud
    Replies
    1,186
    Views
    433,337

    Re: TwinBasic

    The developer.microsoft.com link in post #1064 above doesn't work.
    "We are sorry, the page you requested cannot be found."
  33. Replies
    1
    Views
    352

    Re: Pointers and references in C++

    One way is:



    #include <iostream>
    #include <string>

    std::string string_reverse(const std::string& str) {
    std::string rev;
  34. Thread: Post Race!

    by 2kaud
    Replies
    67,110
    Views
    12,579,640

    Re: Post Race!

    To me, this is Meccano. A motorised crane...

    185129
  35. Thread: Post Race!

    by 2kaud
    Replies
    67,110
    Views
    12,579,640

    Re: Post Race!

    I don't know what it is like now - but back in the day (60's and 70's) it was all metal and very sturdy - held together with proper metal screws and nuts using metal spanners and screwdrivers. The...
  36. Thread: Post Race!

    by 2kaud
    Replies
    67,110
    Views
    12,579,640

    Re: Post Race!

    I vaguely remember that. I thought it went away decades back.

    So did I - but apparently not.

    https://www.meccano.com/en_gb
  37. Thread: Post Race!

    by 2kaud
    Replies
    67,110
    Views
    12,579,640

    Re: Post Race!

    I preferred Meccano to Lego - with screws and nuts and metal plates and gears and screwdrivers and spanners and chains and motors and ... I thought Meccano had gone but I see that it's still around....
  38. Replies
    5
    Views
    972

    Re: Like operator for c/c++ ?

    If all you want is something simple, then have a look at as a starter:

    https://www.cs.princeton.edu/courses/archive/spr09/cos333/beautiful.html
  39. Replies
    5
    Views
    972

    Re: Like operator for c/c++ ?

    What functionality do you need from 'like'?

    I don't use SQL so don't know what its like does. But in past years when someone talked about 'like' they often meant something like soundex (or...
  40. Thread: Post Race!

    by 2kaud
    Replies
    67,110
    Views
    12,579,640

    Re: Post Race!

    So why is your name red?
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width