Memory allocation error that doesn't make sence!? Programming Software Development by DarthPJB … { Compiled=CompileMesh(CompileObj); Mesh = CompileObj; } [/code] The strange part is the previous section never gets …; } Mesh->Polygons=TriangleBuffer; return Mesh; }[/code] Now I will admit that the originally loaded models…has any interest in 'stealing' my (rather poor) code, however if you do for some unbeknown … JList element tags? Programming Software Development by Jaydenn … really explain it in words, let me explain it in code. [CODE]public class MyObject { public int i; public MyObject(int i…().getTag(); int i = myObject.i; //should be 10. } }[/CODE] Please excuse the poor code, I was rushing to create an example. Is there… Recieve photo by Serial and write to file problems Programming Software Development by ievolve ….. when I'm writing into a byte array.. Excuse my poor code its been a long time since I've touched .net… be greatly appreciated.. or general comments on improving the current code/ method) [CODE]Dim InPacket(0 To 2000) As Byte Dim photo… My.Computer.FileSystem.WriteAllBytes("photo.jpg", photo, True)[/CODE] jQuery & IE issue Programming Web Development by Coyx …Looking for some help with a piece of code in a jQuery slider. The problem is that… [url]http://www.darenthmjs.com/[/url] The code is as follows. [CODE]<?php if(get_option('glt_lof_slider_tabs')=='false') : ?>…FEATURED SECTION--> <?php endif; ?>[/CODE] Any help would be great. Apologies for the poor code formatting. :( Simulator, Thread Design, and You Programming Computer Science by Grenwood …far too many years, we've rewritten our code base and had very poor code re-usability. Currently, we are trying to make… a centralized code base that can be used as …thread for each connection, and did a lot of recreating code to define what that connection did. Because of our … Dial tone detecting before performing a call!! Programming Software Development by Waskar … presense without performing a call dail?????!!!!! I've write a code, in vc++, to make connections over 16 Comm Ports (throw… swithing some of them before telling my poor code about that) that's mean that my code MUST to know about the LINE… Homework help; For loop Programming Software Development by CloudKill9 … this...any help would be appreciated. Ohh sorry for the poor code structure. [code] #include <iostream> using namespace std; const int… were: " << ct << endl; return 0; } [/code] [Prob]Download image with python Programming Software Development by debasishgang7 … image but the quality of the images is getting very poor. [CODE]import urllib url = 'http://www.site.com/others/getimage.aspx…') f.write(data) f.close() print "Image Generated!!!!"[/CODE] Is there any other way to Download images from a… C++ graphics library Hardware and Software Linux and Unix by lewashby … uses the SDL library. The problem is the book has poor code examples, a lot of them don't even show the… fun to work with only to discover that it's code is C, not C++ which is what I'm trying… how to find neighbors using an object's coordinates Programming Software Development by digitaldust … accomplish this task without all the many iterations of my poor code? many thanks, simone Guide: how to secure your website Programming Web Development by Vincentas … you with developing your website and protects you from your poor code, it is always easier to maintain a website when you… PHP Redirecting and Rerouting Programming Web Development by mmcdonald … VERY far from good but I'm sick of having poor code when it comes to these redirects. What do you do… Re: C program to shutdown PC Programming Software Development by Jason Giggs [QUOTE=WaltP;1419149]And your question about this poor code is... what?[/QUOTE] hi...why is the code poor? i mean, i didn't even know we could shutdown the pc using c. can u please tell me a (better) way? Thanks Re: C program to shutdown PC Programming Software Development by WaltP And your question about this poor code is... what? Re: Trouble with uploading a product with multiple images Programming Web Development by ryantroop … your multi-file upload. This is, in my experience, poor code design (and poor logical design). The first rule that most programmers pick… that do the same exact thing. TL;DR: Refactor your code to something like this: for ($i = 0; $i < count… Re: Get the update (painted) rectangle using GetUpdateRect() in WM_PAINT (win32 api) Programming Software Development by Clawsy … don't really have this in order... here is the code. [CODE] LPPAINTSTRUCT lp; HDC hdcInvRect; char s[100]=""; LRESULT…, lp->rcPaint.bottom); SetWindowText(hwnd,s); }break; } } [/CODE] I guess it's poor code again... I don't need to use GetUpdateRect… Re: disappearing data. Programming Web Development by arrgh …, do yourself a favor and don't use Dreamweaver generated code. Honestly it's poor code and is hard to read and debug. Re: PHP Class Issue Programming Web Development by mschroeder -nevvermind Singletons are almost always an indication of poor code design. They're extremely difficult to mock and test.…a particular class if necessary. -kroche Looking at your code it looks like your domain objects are all extending … become troublesome if you ever have to test your code independently. Something to consider would be to make your… Re: C++(Payroll program) Programming Software Development by Jason Giggs i would say that is a very poor code. you're missing the indentations, and the code is not generic as it doesn't… using classes and objects as in your case. follow this code and you'll get the idea of IO using objects…. But the file created this way is binary. [CODE]#include <iostream> #include <fstream> using namespace… Re: C++ double comparison performance Programming Software Development by MosaicFuneral … probably tell you that your compiler probably turned this into: [code]for (i=0;i<4000000000;i++) cc = 2.0…+i;[/code] or even just did the math before hand(depending on… it could do a million things that would effect this poor code. Re: HAving problem with an array sorting program. We have to read and write from file. Programming Software Development by Asheem lol, ths poor code, can't threaten nyone, I don't know, why, but can you check my code, is it correct or wrong. Re: Binary Search of an Integer Array Programming Software Development by Adak …'s less than elegant, simply because it repeats lines of code. It's less than efficient, because it repeats the comparison… checking it out and testing them. This one is obviously, poor code. It does get the general idea across. That has some… Re: please correct the two syntax errors after exit; Programming Web Development by almostbob …, about exit being outside the code block now if you can't see that because of the poor code formatting, there are exits… outside the code block where they should be, and you… Re: Similar to boggle game in c++ Programming Software Development by rproffitt …/programming/threads/519642/similar-to-boggle-game 2. I see poor code formatting. Why all those blank lines? Messy! 3. I see…. I can't tell if you just need some boogle code from the web or if this is homework which is… Re: Are computer scientists really programmers? Programming Computer Science by Schol-R-LEA I have long argued that 'Computer Science' is a poor term for what most people study in college, as it … hold professional standing. Business needs be damned - poor code costs a lot more than no code at all, and it is time the… industry faces up to that fact. Bad code kills - not often, but it does; a poorly-written hardware… Re: Spelling and notification bars Community Center Meta DaniWeb by happygeek … the old vBulletin system where people had either not formatted code at all, or formatted it incorrectly using BBCode. It…course of many weeks manually editing these posts; incorrectly formatted code was reformatted by hand, one posting at a time, … option, throws up the nightmare scenario of starting the poor code formatting process all over again. Re: Comparing arrays Programming Software Development by Narue … can get this... Then don't accept poor code. Try this for the comparison instead: [code] #include <iostream> bool is_equal ( int…;"They're not equal"<<std::endl; } [/code] Re: Files above the root - how does this work? Programming Web Development by almostbob … of the file and without a logged in session nothing [code=php]<?php /* download.php */ if(!session_id) { die ('only registered…: attachment; filename="$filename"'); readfile("$hiddenfile"); ?> [/code]very poor code unchecked dont think it works its a concept example Re: Open source project(s) for beginners! Programming Software Development by StuXYZ … surprisingly high. The reason is that when you code is public, if you submit poor code/good ideas, it gets re-written, and…do the documentation of a project, building up to the code and then bug fixes and then contributing. All of that…], so it will take a bit of looking at the code, running the program, and asking intelligent questions [in that … Re: new window in Internet Explorer is always blank Hardware and Software Microsoft Windows by TallCool1 … to you? Applying patches over patches on such an inherently poor code base is like patching a rotten tire over and over… (the time of the last major revision to the IE code base) are seriously hampered by the dominance of IE. These…