how can I draw the hilbert curve using visual basic 6.0 code?
776457
Hey i really came here 2 help u out...\neh... sorry din understand ur q... plz don't feel bad....!!!
365741
I think all you have to do is plug in a few values for C to get a graph.  For example, try 0, 5, 10, 15, 20.  It's continuous so you can connect the dots.\n\n(0,0), (5,87.5), (10,350), (15,787.5), (20,1400)\n\nTotal labor for 20 is 1400.
191281
Try Planet Source Code:\nhttp://www.planetsourcecode.com/vb/default.asp?lngWId=8
939024
Draw yourself a cartesian graph, vertical line is the y axis, horizontal is the x axis.\n\npick points on the x axis like 1, 2, 3, etc.  plug thos values into the equation and solve for y. then pair the numbers, place points in the graph by taking the x value going straight up (or down if y is a negative number) and place the dot accross from the y value.  do this for each set of points then connect the dots with a line or a curve. for instance in your equationstart with x=1\n\ny= 7(1-5)(1-2)^4(1+.5)(1+2.5)^3\ny= 7(-4)(-1)^4(1.5)(3.5)^3\ny=7(-4)(1)(1.5)(42.875)\ny=-1800.75\n\nso in XY format the first point would go at (1, -1800.75)
531033
Draw it your self on x-y plane, then determine the coordinates
575551
I recommend Unit 5 of this course:\nhttp://www.cs.mtu.edu/~shene/COURSES/cs3621/NOTES/\n\n(Construction of Bézier Curves, De Casteljau's Algorithm, Subdividing a Bézier Curve)\n\nand the software "DesignMentor V2: Curve":\nhttp://www.cs.mtu.edu/~shene/NSF-2/DM2-BETA/index.html
1056394
Try this link from Planet Source Code. It's in C++, but you should be able to convert it to C:\nhttp://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=5602&lngWId=3
154865
There is a free version of diagramming software, called "Dia" which is hosted on SourceForge.  If you are using Windows, they do have a Windows download as well.  The site contains the download links, FAQ and documentation if needed.\n\nAlternatively, there is another package (which has a free trial, but is commercial) called "SmartDraw", which can also be used if you only need to temporarily create diagrams.\n\nI've included the links to both below.
330673
Well for an official and thorough comparison between Visual Basic 6.0 and Visual Basic .net refer http://www.microsoft.com/learning/syllabi/en-us/2562bfinal.mspx\n\nCoz let me tell you will find wat you are looking for and which we all also won't be able to tell you.
747560
http://www.cplusplus.happycodings.com/Computer_Graphics/code22.html\nhttp://www.wol.net.pk/mtshome/cppComputerGraphics.html#Area%20Filling\n\nThis is C, but close enough:\nhttp://www.programmersheaven.com/download/15200/download.aspx
1118192
I don't use vb.net myself (C# I use).\n\nIf you want to keep the 0's in the front though, it has to be a string, not an integer.\n\nYou convert it over to integer, add the next number, then cast it back to string, and pad the length to the desired number of 0's\n\nPseudo code:\n\nLicenseNoNum = CastToInt(LicenseNostr)\nLicenseNoNum = LicenseNoNum + 1\nLicenseNoStr = CastToStr(LicenseNoNum)\nWhile LicenseNoStr(Length) < 8\nLicenseNoStr = '0' + LicenseNoStr.\n\nYou could also just store it as an integer, and perform the cast for printing, which might be all you were looking for.
162512
http://www.intelligentedu.com/newly_researched_free_training/Visual_Basic.html
1004428
' Spiro.bas\n'\nDECLARE SUB MoveTo (x AS DOUBLE, y AS DOUBLE)\nDECLARE SUB Spiro (ns AS INTEGER, nw AS INTEGER, nt AS INTEGER, d AS INTEGER, spos AS INTEGER, x AS DOUBLE, y AS DOUBLE, col AS INTEGER)\nDECLARE FUNCTION HighestCommonFactor (a AS INTEGER, b AS INTEGER)\n'\n' TEST ROUTINE\nDIM s AS INTEGER ' loop counter\nDIM col AS INTEGER ' Drawing color\nDIM r AS INTEGER, spos AS INTEGER, x AS DOUBLE, y AS DOUBLE\n\n    SCREEN 9 ' Set screen mode to 640x350, 16 colors\n    x = 320 ' or Max x coordinate / 2\n    y = 175 ' or Max y coordinate / 2\n    col = 1\n    diam = 2    ' Diameter of drawing wheel\n    spos = 100  ' Starting position\n    FOR b = 1 TO 12 ' Draw 12 spirographs\n        Spiro 360, 120, 360, r, spos, x, y, col\n        r = r + 2               ' increase distance from centre of drawing wheel\n        spos = spos + 10        ' increase starting position\n        col = col + 1           ' next color\n    NEXT\n    END\n\n' Draw the loci of a point on a circle revolving inside\n' another circle, or a circle revolving round another circle.\n' Parameters:\n' ns,   No. teeth in stationary part (-ve = outside)\n' nw,   No. teeth in wheel (-ve = clockwise)\n' nt,   No. of teeth to 'do'\n' r,    Radius\n' spos, tooth to start at\n' x, y  Coordinates of centre\n' col     Drawing color\nSUB Spiro (ns AS INTEGER, nw AS INTEGER, nt AS INTEGER, r AS INTEGER, spos AS INTEGER, x AS DOUBLE, y AS DOUBLE, col AS INTEGER)\n DIM n1 AS INTEGER, n2 AS INTEGER, i AS INTEGER, n AS INTEGER, no AS INTEGER\n DIM a AS DOUBLE, b AS DOUBLE, alpha AS DOUBLE, beta AS DOUBLE\n DIM offang AS DOUBLE, dab AS DOUBLE, adif AS DOUBLE, aob AS DOUBLE\n DIM x1 AS DOUBLE, y1 AS DOUBLE, x2 AS DOUBLE, y2 AS DOUBLE\n DIM PI AS DOUBLE\n\n    PI = 3.141592658979324#\n    n1 = ABS(ns): n2 = ABS(nw)\n    a = n1 / (2# * PI): b = n2 / (2# * PI)\n    IF ns < 0 THEN\n        dab = a + b: r = -r\n    ELSE\n        dab = a - b\n    END IF\n    \n    offang = (spos - 1) * 2# * PI / n1\n    alpha = 0#: adif = PI / n1: aob = a / b\n    n = (n2 / HighestCommonFactor(n1, n2))\n    no = 2 * n * ABS(nt)\n    x1 = dab + r: y1 = 0#\n    x2 = x1 * COS(offang) + x: y2 = x1 * SIN(offang) + y\n    MoveTo x2, y2\n    FOR i = 0 TO no - 1\n        IF nw < 0 THEN alpha = alpha - adif ELSE alpha = alpha + adif\n        IF ns < 0 THEN beta = -alpha * aob ELSE beta = alpha * aob\n        x1 = dab * COS(alpha) + r * COS(alpha - beta)\n        y1 = dab * SIN(alpha) + r * SIN(alpha - beta)\n        x2 = x1 * COS(offang) - y1 * SIN(offang) + x\n        y2 = x1 * SIN(offang) + y1 * COS(offang) + y\n        ' setcolor(col); lineto(x2, y2)\n        LINE -(x2, y2), col\n    NEXT\nEND SUB\n\n' MoveTo x, y\n' For QBasic\n' For other languages, replace or omit\nSUB MoveTo (x AS DOUBLE, y AS DOUBLE)\n DIM dr AS STRING\n    dr = "BM " + STR$(INT(x)) + "," + STR$(INT(y))\n    DRAW "X" + VARPTR$(dr)\nEND SUB\n\n' Highest common factor  - Euclid's algorithm\nFUNCTION HighestCommonFactor (a AS INTEGER, b AS INTEGER)\n DIM i AS INTEGER, j AS INTEGER, r AS INTEGER\n    IF a > b THEN\n        i = a: j = b\n    ELSE\n        i = b: j = a\n    END IF\n    r = i &#92; j\n    WHILE (r <> 0)\n        i = j: j = r: r = i &#92; j\n    WEND\n    HighestCommonFactor = j\nEND FUNCTION
589835
You will need a WinHelp compiler (Help Workshop). It comes with Visual Studio 6.0. It has a very nice tutorial/help to tell you how you can create a .hlp file.
379626
Try the Visual Basic Bible.  It'll set you back around $50, but it's an awesome book.
556841
Try Planet Source Code. Below are 52 examples (You probably should do your own homework, however...):\n\nhttp://www.planetsourcecode.com/vb/scripts/BrowseCategoryOrSearchResults.asp?blnWorldDropDownUsed=TRUE&txtMaxNumberOfEntriesPerPage=10&blnResetAllVariables=TRUE&optSort=Alphabetical&txtCriteria=Binary+Tree&lngWId=3
1155232
http://leepoint.net/notes-java/45examples/20components/60calculator/calc.html