Search:

Type: Posts; User: 2kaud

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds; generated 48 minute(s) ago.

  1. Re: VS 2008 is it free to download anywhere? I don't find any working links

    The free VS2008 was the Express version. It can be obtained here:
    https://www.blitzcoder.org/forum/topic.php?id=94

    But why? Why not use the latest version VS2022 community which is also free:...
  2. Replies
    32
    Views
    958

    Re: Coding Hobbyists - Why do you code?

    I started coding in HP Time Shared Basic (TSB - basically Dartmouth Basic) when I was at school (earlyish 1970's) and found I had an aptitude for it. I wrote programs to assist with school...
  3. Replies
    32
    Views
    958

    Re: Coding Hobbyists - Why do you code?

    Thirty-five years - you're just getting into the swing of things! I've been coding for fifty years. :p :p :wave:
  4. Replies
    16
    Views
    564

    Re: Copying over BSTR string pointers in UDTs

    For Deletion, an option is to just mark the element as deleted for retrieval purposes but present for tree structure. If the deleted element is re-inserted then just remove the delete mark.
  5. Replies
    9
    Views
    404

    Re: Degree Minit Second in Visual Basic

    This can be done directly without performing any conversion. Consider something like (not tried as I don't use VB):



    Dim degA As Long, minA As Long, secA As Long
    Dim degB As Long, minB As...
  6. VS 2022 Re: std::string from c++ dll rejected by Visual Basic String

    Consider:

    https://stackoverflow.com/questions/31409006/how-to-return-a-string-of-unknown-size-from-dll-to-visual-basic...
  7. Replies
    2
    Views
    2,811

    Re: PuTTY line drawing

    The wa-21 link put me on the right track. You have to change DEC character set to get the line drawing characters

    https://en.wikipedia.org/wiki/DEC_Special_Graphics

    All working OK now.
    ...
  8. Replies
    2
    Views
    2,811

    [RESOLVED] PuTTY line drawing

    VT100 defines the line drawing chars as those between 208-213, 218 and 247-251 (https://en.wikipedia.org/wiki/VT100_encoding ). However when I try to display the line drawing characters with these...
  9. VS 2022 Re: std::string from c++ dll rejected by Visual Basic String

    I don't use VB - so I'm guessing that you shouldn't return std::string from RK_GetNameObjectID(int ID) as VB won't know what to do with it. The c++ std::string class uses dynamic memory to store the...
  10. Replies
    6
    Views
    465

    Re: VB6+Win32 - Menus

    no pain - no gain! :D
  11. Replies
    6
    Views
    2,931

    Re: how optimizate the programming?

    There are two distinct optimisations - algorithm optimisations which are covered in good/advanced algorithm books and program optimisations which are covered in good/advanced language specific books....
  12. Replies
    6
    Views
    2,931

    Re: how optimizate the programming?

    The authoritative source re algorithms is Donald Knuth's 'Art of Computer Programming'
    https://www.amazon.co.uk/Computer-Programming-Volumes-1-4B-Boxed/dp/0137935102/ref=sr_1_1
  13. Thread: Very slow access

    by 2kaud
    Replies
    24
    Views
    2,298

    Re: Very slow access

    Who said I hadn't... :p
  14. Thread: Very slow access

    by 2kaud
    Replies
    24
    Views
    2,298

    Re: Very slow access

    yes - I get the same.

    I also like this from Zvoni's post




    Time travel anyone?
  15. Re: Unresolved external for localtime - Microsoft C 5.10 for MS-DOS

    localtime() isn't one of the documented functions for quickc. See Appendix B of:
    https://www.pcjs.org/documents/books/mspl13/c/mspqc/
  16. Thread: Very slow access

    by 2kaud
    Replies
    24
    Views
    2,298

    Re: Very slow access

    Same here. Had a couple of timeouts.
  17. Re: Weird "bug" with Dim? Does everyone know that Dim ignores logic?

    Yep, Pascal doesn't allow this type of code. You'd either have to have vars say AL and AS defined at the beginning of the block or possibly a variant type.
    Pascal allows variable definitions at the...
  18. Re: [RESOLVED] Converting ASCII Byte Array to Single or Double ... Fast

    They require a null-terminated array of ASCII chars (bytes) (the same format that atof() requires as a param). Is this a byte-array in VB? I don't use VB.
  19. Re: [RESOLVED] Converting ASCII Byte Array to Single or Double ... Fast

    For split a byte array can VB6 use the c function strtok? This returns a pointer to the next string delimited by a char(s). The found delimiter is replaced by NULL - giving you null-terminated...
  20. Replies
    17
    Views
    1,247

    Re: Quicksort issue

    With Quick Sort you need to choose a 'viable' pivot. In the worst-case scenario, which occurs when the smallest or largest element is chosen as the pivot, Quick Sort shows a time complexity of O(n^2)...
  21. Thread: Post Race!

    by 2kaud
    Replies
    68,958
    Views
    18,618,041

    Re: Post Race!

    Well for 68754 the sum of its digits is 30. It has a total of 4 prime factors and 16 positive divisors....
  22. Thread: Very slow access

    by 2kaud
    Replies
    24
    Views
    2,298

    Re: Very slow access

    Why not on each one provide a ribbon of links to all the others?
  23. Thread: Very slow access

    by 2kaud
    Replies
    24
    Views
    2,298

    Re: Very slow access

    Yes, response is much improved.
  24. Thread: Very slow access

    by 2kaud
    Replies
    24
    Views
    2,298

    Very slow access

    I'm getting a very slow response from this site. Between 20 and 30 seconds to access anything on the site with occasional 504 Gateway timeouts. Ping reports a round-trip time of 15ms.

    Is this...
  25. Re: Feeling nostalgic I fired up QuickBASIC and wrote a Brain***** interpreter!

    Re ISAM. The beauty of ISAM is that you can create a file with multiple indexes and use these indexes to quickly locate required record(s). So from the TYPE in post #61 you might have an ISAM file...
  26. Re: [RESOLVED] Need help with crazy C++ pointer macro

    When I have to deal with multiple pointer dereferences (which I agree can be an absolute pain in the ****) I tend to draw diagrams representing memory and pointers and give value(s) to memory (such...
  27. Re: [RESOLVED] Need help with crazy C++ pointer macro

    When adding a number (n) to a pointer, c/c++ always treats n as the number of 'items' to be added - where 'item' is the type pointed to by the pointer. So if T is a pointer to int then T + 3 will add...
  28. Re: Responding to an existing thread doesn't work

    What's with the partial swastika?
  29. Replies
    16
    Views
    1,675

    Re: Python under "Other Languages"

    Do VBForums have enough Python 'expert's to be able to answer Python questions?
  30. Replies
    16
    Views
    1,675

    Re: Python under "Other Languages"

    This was also asked for before here:
    https://www.vbforums.com/showthread.php?902190-2024-Suggestions&highlight=python
  31. Error on reporting a thread - And Other Site Issues

    I wanted to report a thread to ask the mods to move it but I get this error
  32. Replies
    3
    Views
    1,263

    Re: IEEE 754 floating point conversion

    Well we contracted that well known programming company Acme Corporation to produce the code. They put their best 3 programmers on it (Daffy Duck, Goofy and Porky Pig) and produced this below. It...
  33. Replies
    3
    Views
    1,263

    Re: IEEE 754 floating point conversion

    I thought General PC was the most appropriate - but feel free to move as there's been no replies :cry::cry:
  34. Re: Feeling nostalgic I fired up QuickBASIC and wrote a Brain***** interpreter!

    Is it ISAM you don't understand or using ISAM within QB? If it's ISAM there's plenty of info on the Internet.
  35. Replies
    97
    Views
    5,354

    Re: Why did Microsoft abandon ,killed VB6?

    Bring back pascal/Delphi! You can specify the bounds of arrays as a type:



    TYPE SUIT = (CLUB, DIAMOND, HEART, SPADE);
    VALUE = (ACE, TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE, TEN,...
  36. Replies
    3
    Views
    1,263

    IEEE 754 floating point conversion

    I have 32 bit floating point numbers stored as (little endian):
    (first 16 bits)
    1 bit Mantissa sign (bit 15)
    15 bit High Mantissa
    (second 16 bits)
    8 bit Low Mantissa
    7 bit Exponent
    1 bit...
  37. Replies
    97
    Views
    5,354

    Re: Why did Microsoft abandon ,killed VB6?

    [rant on]
    Originally MS wanted 'to control' (ie. own) Java so that they could 'adapt' it to how they wanted it. That failed so MS came up with .net as the competitor to Java. c# was to be MS's Java....
  38. Re: I beg of you PLEASE consider offering perpetual licenses.

    There is possibly another method I don't think has been mentioned. If you don't want subscription then you get what you pay for and only what you pay for. No free updates, no free fixes etc. If you...
  39. Re: I beg of you PLEASE consider offering perpetual licenses.

    See dday's post #10 re escrow.

    However unless I've missed something (quite possible...) then what happens if Wayne is able to continue working on it but just doesn't for some reason. Does it then...
  40. Re: I'm getting mad wit this overflow...

    Post #5

    ??? In c/c++ the type of Operands in an expression are 'promoted' to the higher type (unsigned is higher than signed, 32 bit is higher than 16, double higher than int etc). This...
Results 1 to 40 of 491
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width