predefined functions Programming Software Development by mauro21pl Hi Quick question. Is it possible to find the source code for the predefined functions in C++ Tnaks Re: predefined functions Programming Software Development by krnekhelesh Go to Dev C++ folder. There [B]might[/B] be a folder named library. Normally for all compilers they keep all the predefined header files here. Predefined methods to see if two objects are the same class Programming Software Development by BLUEC0RE … objects instead of comparing the class of each object. Any predefined methods out there? add predefined text to many inputs Programming Web Development by reco21 Hello, I'm wondering how to add predefined text to many input fields on click of an image. so I have 4 images and I click one and 4 fields are filled with predefined text. If I click another the text is changed with some other predefined text. Thanks Re: validate PHP value against predefined mysql database Programming Web Development by Aydot22 …: There are 2 separate databases 1. The database for the predefined codes. This database contains one table with only the code…;Unable to select database"); //field value name is ScratchCode //Predefined list name in MYSQL is Scode $formScratchCode=$_POST['ScratchCode']; $selectQuery… validate PHP value against predefined mysql database Programming Web Development by Aydot22 I need a PHP expression to validate a field value against a list predefined in mysql database So that anything different from that in the database will not be submitted to the database. Looking forward to your assistance. Making a predefined battle function to be called. Programming Software Development by valestrom What I want to do is have a predefined battle function, I can code the function, all I need to know how to do is have the function sitting there, so when I call it, all it takes is one or two variables to set up and go. So every time I don't have to input damage calculators, defense algorithms etc. Help would be greatly appreciated, thanks. Re: Making a predefined battle function to be called. Programming Software Development by pseudorandom21 …=valestrom;1640872]What I want to do is have a predefined battle function, I can code the function, all I need… Re: Making a predefined battle function to be called. Programming Software Development by valestrom … something like if (steps == 10) // some function to call a predefined "battle function"[/CODE] Printing values to predefined document Programming Software Development by 47pirates I'm trying to print the necessary values in the predefined document for an example, in a Bill name in the left side and date on top right. I already had that documents with empty name and dates . how can i print the name and date to corresponding location in bill from my program. Please suggest. Re: Printing values to predefined document Programming Software Development by JamesCherrill What format / file type is the predefined document? calculating the squareroot without using predefined functions Programming Software Development by daniel.ngugi.980 please help me to write a code which includes a function for calculating the squareroot of a number without using the predefined functions in the function header............ Storing a predefined div with a class in a variable Programming Web Development by designershiv Dear All, I am trying to store a predefined div with a class in a variable using jQuery, Please find my below code and let me know whether it is right or not. loader : $("<div/> + {class:'test'}") thanks in advance. Moodle - Upload User with a predefined CSV rather than filepicker Programming Web Development by d1stbee ….... the csv import file looks like this, can use a predefined filepath? if ($proffields = $DB->get_records('user_info_field')) { foreach ($proffields as… Re: predefined functions Programming Software Development by krnekhelesh What compiler are you using? Re: predefined functions Programming Software Development by mauro21pl Dev-C++ Which compiler could i use to check the source code thx Re: predefined functions Programming Software Development by phalaris_trip Funny enough, there's no guarantee that the STL is actually written in C++. I was reading somewhere that infact sometimes it breaks the rules.. but it's ok because it's all sealed shut.. If you google "c++ dereferencing null pointer" you might find the article.. As for the other libs, have a browse through the Dev-C++ folder.. Re: predefined functions Programming Software Development by Bench If you'd like to have a look at the code for one particular implementation of the STL, then check the SGI website for their source code [url]http://www.sgi.com/tech/stl/download.html[/url] Re: Predefined methods to see if two objects are the same class Programming Software Development by BLUEC0RE I should add that I want to compare one object to another, not comparing an object to an actual class definition (such as instanceof, which compares an object to a class def.) Re: Predefined methods to see if two objects are the same class Programming Software Development by apines I have to admit that I am a little bit confused - if you want to check the type of the object, you can use instanceof. If you want to compare two objects of the same type you can override the equals method. I am not sure what you are trying to do... Re: Predefined methods to see if two objects are the same class Programming Software Development by BLUEC0RE yeah I have a habit of making confusing posts :S. I have three objects (ob1, ob2, ob3) ob1 = class1 ob2 = class2 ob3 = class1 ob1.equalsClass(ob2) = false ob1.equalsClass(ob3) = true the values inside dont matter, just as long as the objects classes are equal Re: Predefined methods to see if two objects are the same class Programming Software Development by apines I see, then use the getClass() and getName() methods to get the name of the class as a String, for example: [CODE=java]Integer var = new Integer(); var.getClass().getName();[/CODE] Will return "java.lang.Integer". After you have that, it's a question of comparing Strings. Re: Predefined methods to see if two objects are the same class Programming Software Development by kramerd Perhaps this will work? [CODE] if (ob1.getClass() == ob2.getClass()) ... [/CODE] Re: Predefined methods to see if two objects are the same class Programming Software Development by BLUEC0RE thanks a lot for getting back to me Re: Create a file and fill it until a predefined size value Programming Software Development by RenanLazarotto Yeah, i first thought on that, but that only fills a file with random chars. When I mean fill a file with a predefined size its like, create a file and add random data to it until it reaches x kb/mb/gb/whatever. There is a way to control it? Predefined Graph function........ Programming Software Development by rahul8590 i am working on my project which is on regeression of lines . well i have been successful in fitting a straight line to the given set of coordinates . since i have come so far after a lot of striving , i have been a bit exhausted on writing a graphic function of plotting the co - ordinates and displaying a graph. Well is there any function or … Re: Predefined Graph function........ Programming Software Development by Salem Short answer - no. Longer answer - depends on which OS/Compiler you have and what libraries you have installed (or willing to install) Re: Predefined Graph function........ Programming Software Development by rahul8590 well i am willing to install any libraries.. n working on minGW compiler. n working on windows , its kinda not possible to change the platform .. but in the worst case that can be considered..... Re: Predefined Graph function........ Programming Software Development by Salem [url]http://www.libsdl.org/[/url] Re: Predefined Graph function........ Programming Software Development by rahul8590 well i just need a function which can plot a graph in x/y axis thats it.