736 Posted Topics

Member Avatar for dips255

[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 …

Member Avatar for stephen84s
0
82
Member Avatar for curtranhome

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 …

Member Avatar for Luckychap
0
132
Member Avatar for Waseemn

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 ?

Member Avatar for Alex Edwards
0
182
Member Avatar for adarshcu

[URL="http://www.daniweb.com/forums/announcement8-2.html"]Rules[/URL] for getting help in Home Work

Member Avatar for stephen84s
0
60
Member Avatar for curtranhome

[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 …

Member Avatar for stephen84s
0
90
Member Avatar for lAmoebal

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.

Member Avatar for stephen84s
0
362
Member Avatar for sayedjustetc
Member Avatar for stephen84s
0
85
Member Avatar for jen_
Member Avatar for pradhan.nc
0
90
Member Avatar for saurabh92

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 …

Member Avatar for saurabh92
0
128
Member Avatar for nomolos

[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.

Member Avatar for stephen84s
0
49
Member Avatar for manzoor

[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 …

Member Avatar for manzoor
0
99
Member Avatar for nnhamane

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

Member Avatar for stephen84s
0
73
Member Avatar for tuse

I've herd its possible using [URL="http://www.mono-project.com/Main_Page"]Mono[/URL] Neva tried it though.

Member Avatar for stephen84s
0
99
Member Avatar for regent_royal

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.

Member Avatar for regent_royal
0
174
Member Avatar for guruOfCool

[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 ? ------------- …

Member Avatar for stephen84s
0
85
Member Avatar for s_susanta

[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 …

Member Avatar for stephen84s
0
101
Member Avatar for ederX

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 …

Member Avatar for VernonDozier
1
619
Member Avatar for regent_royal

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 !!

Member Avatar for stephen84s
0
68
Member Avatar for manavsm

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 …

Member Avatar for stephen84s
0
112
Member Avatar for mansoorhacker

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.

Member Avatar for Ezzaral
0
148
Member Avatar for omanstar12

Amazing I found the exact program you needed [URL="http://www.daniweb.com/forums/announcement8-2.html"]Here[/URL]

Member Avatar for stephen84s
0
79
Member Avatar for Aamit

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.

Member Avatar for mitrmkar
0
110
Member Avatar for darkis

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

Member Avatar for stephen84s
0
177
Member Avatar for anuragatiiith

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 …

Member Avatar for anuragatiiith
0
121
Member Avatar for emilio

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.

Member Avatar for stephen84s
0
50
Member Avatar for rje7

You need to compile C++ programs in GCC using g++ and not gcc. [CODE]g++ filename[/CODE]

Member Avatar for rje7
0
122
Member Avatar for Yuichi

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 …

Member Avatar for Yuichi
0
208
Member Avatar for ronicasingh

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), …

Member Avatar for stephen84s
0
260
Member Avatar for Alex Edwards

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 …

Member Avatar for Alex Edwards
0
121
Member Avatar for barnes138

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]

Member Avatar for stephen84s
0
164
Member Avatar for c++ prog

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

Member Avatar for stephen84s
0
134
Member Avatar for a3sheikh

"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

Member Avatar for Tigran
0
71
Member Avatar for pwnz32

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".

Member Avatar for pwnz32
0
3K
Member Avatar for rajkiran718

[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

Member Avatar for stephen84s
0
111
Member Avatar for SwathiSangral

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]

Member Avatar for Radical Edward
0
126
Member Avatar for vtsmokey88

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 …

Member Avatar for stephen84s
0
92

The End.