I have a jsp with lots of javascript code. Whenever there is a javascript error on the page, shown in the status bar of the IE browser, the line number reported to contain the error, does not match wi
I am generating C code based on information provided by another file (an XML file). Certain chunks of C are included in this XML file and should be included verbatim in my generated C file. I wish to
I have an array of CGPoints (basic struct with two floats: x and y). I want to use OpenGL ES to draw a t开发者_C百科extured curve using these points. I can do this fine with just two points, but it ge
I\'ve read in a text file and converted each line into a list. using this script: l = [s.strip(开发者_运维问答).split() for s in open(\"cluster2.wcnf\").readlines()]
How can one delete the very last line of a file with python? Input File example: hello world foo bar Output File example:
I have a problem. I used Gridbaglayout in my JFrame. One of the component is JPanel. I wanted to draw a gridline as a background for my JPanel. e.g in the program below, it supposed to produce 3 vert
I\'m implementing a small game and am having trouble getting the physics working properly. In this game, there is one ball (a circle which moves from frame to frame, and may change radius) and several
hi i\'m having this html markup <body> <table border=\"0\" width=\"50%\" align=\"center\"> <t开发者_JAVA百科r>
I\'m developing a website with server-side JScript engine over ASP server. I h开发者_如何学运维ave several try-catch clauses in my code looking roughly like this:
Normally, you开发者_JAVA百科\'d use something like: glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);