736 Posted Topics
Re: [QUOTE=dips255;635012]We want to integrate sms gateway with our website based on asp. We are looking for vendors for the same. any help? we want to enable the advertisers on our site to receive customer inquiries by sms[/QUOTE] What protocol are u gonna be using to submit messages to your sms … | |
Re: This once again is not related to Java script, just set the default page in your webserver as "file.html" for that specific folder and voila when anyone types "http://cbuy.webs.com/file.html" he will see the file in his browser but "http://cbuy.webs.com/" in the address bar, But why would you want to hide … | |
Re: How about comparing the string directly with its reverse, You howvere will need to use the [URL="http://java.sun.com/javase/6/docs/api/java/lang/StringBuffer.html#reverse()"]StringBuffer[/URL] if you want to reverse a string directly and then directly compare it the original string. I donno but somehow I feel its too easy to be true ? | |
Re: [URL="http://www.daniweb.com/forums/announcement8-2.html"]Rules[/URL] for getting help in Home Work | |
Re: [QUOTE=curtranhome;636822]can anyone please give me the code (or point me in the right direction) to be able to password protect a web page with javascript that gets the usernames and passwords from a database and displays a message if the entered password or username is wrong and points the user … | |
Re: Serious on the Job programming since a Couple of years now, Java is my main bread and butter getter, I had done basics in C/C++ in college and loved it. Now I am luckily working on creating real world applications using it. | |
Re: Wrong forum, theres a JSP forum in the Web Development section !!! | |
Re: Take a look at how the [icode]getche()[/icode] function works. | |
Re: Just let the attribute "u" be an int array of size (c-a), And in your constructor instead of after displaying the values just store the squares as below:- [CODE=Java] public class sumSquares { public sumSquares(int a, int c){ // Since we need the squares of c and a also u=new … | |
Re: [QUOTE=nomolos;636471]calling an HTML page that has a USERNAME and PASSWORD field using JSP[/QUOTE] What the heck are you talking about ? Do you wish to redirect to the given html page ?? A simple <jsp:forward> can do the job then. | |
Re: [CODE=C++] // Line added here lowest=sales[0]; for ( int x = 0; x < SZ; x++ ) { if( sales[x] < lowest ) { lowest = sales[x]; } }[/CODE] Your "lowest" variable needs to be initialized to the first element in the array, else you will always have a problem … | |
Re: If you mean use a DLL, then I suggest you take a look at [URL="http://java.sun.com/developer/onlineTraining/Programming/JDCBook/jni.html"]JNI[/URL], the Java Native Interface | |
Re: I've herd its possible using [URL="http://www.mono-project.com/Main_Page"]Mono[/URL] Neva tried it though. | |
Re: This is happening cause you are using GCJ which does not support all classes mentioned in the official J2SE specifications. Most probably on Windows you are using the JRE from Sun, I suggest you install the same on your Linux machine. | |
Re: [QUOTE]I've got it working so that all fields in a row are selected. The problem is, I don't know which fields will be empty, so I cannot hard code the select statement to leave out certain fields.[/QUOTE] First requirement of its types I have seen, Whats the schema ? ------------- … | |
Re: [QUOTE=samarinder;634158]hey even i m also new.... have u put mysql connector jar in classpath. plz check[/QUOTE] I think the thread starter is talking about PHP and you r confusing it with the J-Connector. So how are you connecting to the database, can we have some code to see what you … | |
Re: I dont know how your class is defined, but I am just gonna be doing a wild guess here: [CODE=C++] employee *emp[10]; emp->outputData();[/CODE] Looks like an array of pointers to objects of class "employee", First this means that your objects will not be automatically created (try putting a cout statement … | |
Re: Is this a webapplication in JSP/Servlets you are talking of ?? Also some code on as to what you tried would help us, help, help u !! | |
Re: Well you can make our task a lot easier by INDENTING your code Anyway thanks to Eclipse I could indent your code directly. Now lets look at your "delet" function [CODE=C++] void delet(struct student *first,int val) { struct student *ptr,*temp; ptr=first; while(ptr!=NULL) { if(ptr->rollno==val) { temp=ptr; ptr=ptr->next; free(temp); } else … | |
Re: How are u trying to connect to the SQL server database, using which protocol ? TCP/IP or via NamedPipes, Check whether the method u r trying is enabled on the SQL Server you are trying to connect to. | |
Re: Amazing I found the exact program you needed [URL="http://www.daniweb.com/forums/announcement8-2.html"]Here[/URL] | |
Re: Note the semicolon next to the while loop, [CODE] while(getc(pFile)!=' ');[/CODE] Thanks to that, your while continues to run and skip all the characters on the line until it finds a ' ' <space>. Just remove that semincolon and try. | |
Re: Have u added [icode]#included<cstring>[/icode] in the file which contains your class definition(ppoly.h). you will need it for the [icode]strcmp()[/icode] function which is on Line 51 | |
Re: This is a Java forum and Javascript seems off topic here, Anyways in your validation function when you find no errors, just tell java script to submit your form by mentioning:- [CODE=javascript]document.<your form name>.submit();[/CODE] Provided you have set the action property of your form tag, else set the action property … | |
Re: Try looking at [URL="http://www.opengroup.org/onlinepubs/007908775/xsh/sem_init.html"]sem_init[/URL] , I think it seems to be what you are looking for. | |
Re: You need to compile C++ programs in GCC using g++ and not gcc. [CODE]g++ filename[/CODE] | |
Re: Hi Yuichi, My suggestion is almost similar to Alex's, only looking at your prigram I think you should not only declare your array which which is holding the queue as global, but also a variable which holds your actual queue size (i.e no of elements currently in the queue and … | |
Re: if the jar you have is an executable jar, just doubling clicking on it should make it run, However if that doesn't work the at the command line type: [CODE]java -jar filename.jar [/CODE] If that too doesn't work (which means the manifest file was not properly included with the jar), … | |
Re: Hi Alex, I see the problem you are facing, and have been there.. In Java when you are typing in a regex you need to understand that a simple "\" stands for indicating escape characters inside your string (Hence the error when you mention "\+" as there no such escape … | |
Re: Have you considered using a [icode]do{}while(); [/icode] loop, where at the end of the loop you ask input from the user if he wishes to continue and check the same inside [icode]"while"[/icode] | |
Re: You can try out using "fscanf" to read your matrix elements from files, or if you prefer going purely the C++ way I suggest looking at "ifstream" class | |
Re: "graphics.h" file if I am not wrong is associated with Borland's Turbo C++ compiler, I do not think there is a graphics.h file for VC++, just like we dont have one for GCC | |
Re: In C++ [CODE]char FilePath[]="...[/CODE] is equivalent to :- [CODE]char *FilePath="..[/CODE] so when you are passing the variable "FilePath" to a function, the function needs to accept a "char* "(or char variable_name[]) as an argument and not just "char". | |
Re: [QUOTE=Salem;624684][url]http://curl.haxx.se/libcurl/[/url] Would take care of a lot of the lower level details of HTTP.[/QUOTE] Yep the cURL API will make ur job more easier by handling lower level tasks | |
Re: Should'nt declaring the object in C++ be like [CODE] int *t=...; . . . CSafePtr<int> myobject(t);[/CODE] Rather than: [CODE] CSafePtr<int> myobject(int *t) [/CODE] | |
Re: You do not need to use "split()" in a for loop [CODE] <% String info; String line = cacheManager.getCache(info); for(j = 0; j < parts.length; j++) { String [] parts = line.split(" "); } %> [/CODE] Just use this code instead:- [CODE] <% String info; String line = cacheManager.getCache(info); //for(j … |
The End.