3,892 Posted Topics
Re: Read [URL="http://www.daniweb.com/techtalkforums/thread70096.html"]this[/URL], [URL="http://www.daniweb.com/techtalkforums/thread50370.html"]this[/URL] and[URL="http://www.daniweb.com/techtalkforums/thread67837.html"] this.[/URL] | |
![]() | Re: Try this suggestion: [quote][COLOR=#000000] I just had a problem with a user trying to run Borland C++ 5.02 on a Windows XP Pro computer in a non-privileged account. She would get a message box "Make failed", and in the Message window: Could not load: tlink.exe One of the reasons why … |
Re: Have you tried out one of the different versions of Ubuntu..*just say something to get the donut* Where is my donut ? ;) | |
Re: Storing floating point numbers would be a havoc with the above algorithm. The repeated multiplication and division is going to kill the values which you actually started out with. But still pretty good one. Also since its very much possible that the values inserted might be numbers close to the … | |
Re: He didn't really mean it. As far as program is concerned, read [URL="http://www.cplusplus.com/reference/clibrary/cstring/strtok.html"]this[/URL], [URL="http://www.phim.unibe.ch/comp_doc/c_manual/C/EXAMPLES/strtok.c"]this[/URL] and[URL="http://www.cppreference.com/stdstring/strtok.html"] this.[/URL] | |
Re: [quote=Ancient Dragon;312400]I'm 64 -- born 1943. Contrary to popular belief, age does not make one wiser -- just makes one older.[/quote] I guess that would be older + wiser.... :mrgreen: | |
Re: Right, but again it is implementation specific. The language doesn't mandate it. | |
Re: > Third reason is there are no frameworks for business logic part of applications There is always J2EE. Business methods of the Entity bean having CMT (container managed transactions) are implemented by the container. | |
Re: Asking it [URL="http://wxforum.shadonet.com/"]here[/URL] would be more like it. | |
Re: *Arghh* they are hurting my eyes. I have even stopped visiting the software development forum because of it. ;-) IMHO, colors are not needed for one to know they are entering or leaving a particular section, since I would be the one performing the action. Like someone had stated before, … | |
Re: [quote=jwenting;353771]Most often when people "optimise" code they are just guessing where the problems are, grasping at straws and doing things they once heard someone say would make things faster (and usually they don't of course).[/quote] Not always true -- well maybe true for beginners who think their code needs optimization … | |
Re: Why not just package the required DLL's into a installer and ship them with your executable? | |
Re: Dani, I am using an adblocker along with no script and its just the slow loading pages here, nothing else. | |
Re: I seriously doubt Google would be in any way affected by this tie up. I mean come on, when we think of search, we think of Google. I have even see lots of people use the term 'Google it'. And with the power of innovative thinking at its side (read … | |
Re: Thats not the way an input tag is written -- its an empty tag. As per the XHTML standards, it should be something like; [inlinecode]<input type="text" name="txtName" />[/inlinecode] | |
Re: Portability? I thought it was ease of maintenance? ;-) | |
Re: [URL="http://www.ogre3d.org/"]Ogre[/URL] and [URL="http://irrlicht.sourceforge.net/"]Irrlicht.[/URL] | |
Re: The thing you experienced is also known as Short Circuit Evaluation. If you want to find a way around it, try using the logical version of Bitwise AND. Something like this: [inlinecode]$ret = $ret & foo(); //notice single &[/inlinecode] This way you can be always sure that the second part … | |
Re: Print the entire array in main() after accepting user input and see if it is printing out any records, which it definitely should. And why pass the variable 'i' when you can declare it as a local variable in the function itself. Passing it around won't serve you any purpose, … | |
Re: So kid, try to be modest instead acting smart. This kind of attitude won't fetch you any help. Thread closed. | |
Re: Better yet, add a new function to the String object type by using the prototype property. [code=javascript] String.prototype.trim = function() { return this.replace(/^\s+|\s+$/g, ""); }[/code] And then use the function trim as if it belonged to the String type. [code=javascript] var str = " okay this works fine "; alert(str.trim());[/code] | |
Re: Old VB was an object based language, not an object oriented one. There is a major difference you know. | |
Re: No need to change your signature. You make all the mods and administrators seem like Hitler's. We don't ban someone for email id in their signature. The past record of the member is also kept in mind and considering you have been a good kid, chances of you getting banned … | |
Considering that the new reputation feature of displaying the name of the repper is out, its quite interesting to skim through some old threads and see what some people think about others. [URL="http://www.daniweb.com/techtalkforums/thread76625.html"]Here[/URL] is one interesting thread which has a lot of 'interesting' rep activity. I just thought you would … | |
| |
Re: *Bling* Battle apparently lost. Dani is in favor of [I]the games. [/I]The kids get to rejoice, the ones who oppose are free to cower away.A straight end to a twisted tale. | |
Re: Asking the same question in the [URL="http://wxforum.shadonet.com/"]concerned forum[/URL] would get you maximum help. | |
Re: With so less information it is difficult to render any sort of help. Given the current scenario it seems that the problem is not with your code but with your path settings. | |
| |
Re: > this code is erotic. Ahem...I guess you meant 'erroneous'. [URL="http://www.answers.com/topic/erotic"]Erotic[/URL] is ah.. something else. :-) Oh and btw, asking the same question in the [URL="http://wxforum.shadonet.com/"]concerned forum[/URL] would fetch you better and fast help. | |
Re: BTW, its not a problem with your program, its a problem with the text editor which are not intelligent enough to make out the newlines. You could of course try using the 'newline' property of the System class but again with an editor like Notepad, the results are not very … | |
Re: I can still hand out +ve and -ve rep. Maybe some problem at your side. Let Dani know of this one. | |
Re: [quote=Rashakil Fol;344280]These are [I]disgusting[/I]! That's it, I'm moving to Canada.[/quote] Don't forget to change your location to [I]Canada[/I].....;) | |
Re: Next time try a more meaningful title. I edited the current one to make some sense out of it... | |
Re: Here is a crude attempt -- feel free to modify and polish it. [code=cplusplus] #include <iostream> #include <stack> #include <map> #include <string> #include <iterator> using namespace std; int main() { stack<char> list; map<char, char> symbols; map<char, char>::iterator it; const string VALID = "(){}"; symbols['('] = ')'; symbols['{'] = '}'; char … | |
Re: Your search function takes an item of type T (which is a structure named Book by the looks of it) and you are trying to pass a string variable to it. | |
![]() | Re: Accept the size of the Account array from the user at run time and dynamically allocate the array. If not that, then use vectors. [code=cplusplus] Account* accArray = new Account[size_from_user]; for(int i = 0; i < size_from_user; ++i) { //code } delete[] accArray; [/code] |
Re: Post your most recent attempt. Assuming that you have a basic knowledge of C++, coming up with a starting design wouldn't be that difficult for you. | |
Re: PM notifications for commets on code snippets... Its one of the reasons why I stopped posting code snippets. | |
Re: Without attempting the problem first, any help would be hard to come by. | |
Re: Oh, I thought I was the only one targeted, but it seems like I have got some good company. ;-) Not surprisingly, most of the comments I see in your rep chart are the same as I have got with a few profanity thrown here and there. I don't know … | |
Re: Looks like we get to see the dark side of Davey when tutorials are concerned. ;-) | |
Re: [quote=m_kashif17;355885]hi i m new[/quote] ...and hello, we are old. ;-) | |
Re: BufferedWriter is used for writing to the underlying file stream which you have opened. The files in consideration are created by the FileWriter object you use inside the constructor of the BufferedWriter class. From docs: [quote]Whether or not a file is available or may be created depends upon the underlying … | |
Re: Maybe [URL="http://www.acm.uiuc.edu/webmonkeys/book/c_guide/2.15.html"]this[/URL] would help. |
The End.