Hi i am doing the data structures in C++.
I have seen the adjacency list implementation of depth first search/traversal that is using some recursive function to traverse the whole graph. but not able to find the same for breadth first search/traversal. All the implementation of breadth first are using adjacency matrix using queues. I am not sure if that is possible.
If it is, can somebody give the code snippet of it or provide the...
User Profile
Collapse
-
breadth first data structure.
-
I am creating those nested divs dynamically.
I am using autosuggest, when the user clicks on add, The contents are added to the "Main" div as a nested div. This process goes on and on.
I can not create a hidden element for each one manually.
Varun... -
retrieving the value of the div using php
Hi
I am creating a form that has to get the contents of the previous web page on submit. The problem is $_POST and $_GET works with elements with name.
I have a "div" tag that has many nested div tags containing the information.
How can i retrieve the contents of those nested div when the user submits that form.
Thanks
Varun -
refering a primary key in other datbase
hi
I am facing one problem that i have to refer a column (id) in another database so that it acts as a foreign key in my present database. Can anyone tell me how can i write a query for that?
Thanks
Varun -
The data i am trying to parse is a video file that has information contained within. Could you tell me what query should i write in unpack so that all the relevant information (Clip Information) can be retrieved from the binary file?
I am very new to php and have never worked on a problem like that. Sorry if that sounds too stupid.
Thanks
Varun...Leave a comment:
-
Hi what i am using now is the regular expression.
But that doesnt seem to work.
my regular expresson is :
preg_match("/Description\x20 \x02\x20\x16(.* )Q/",$content,$mat ch).
but the expression doesnt seem to work with hexadecimal values.
Is there something wrong in this one?
Thanks
VarunLeave a comment:
-
how to retrieve all the ascii characters from a binary file.
Hi i have a binary file that i need to parse.
The situation is that i need all the ascii characters from that binary file, the way that is to be implemented should be very efficient as the binary files are big.
Is there a function in php that can do that or a php script that can do the work.
Thanks
Varun -
how to upload rtsp files ?
Hi
I have a requirement of uploading the rtsp/pnm files.
Does any one has any idea how to do that?
I tried using CURL but seems like that curl doesnt have the support for the rtsp/pnm files.
thanks -
how to insert the constant date in mysql using php
Hi
i am inserting the date in the mysql table using the php.
I dont know but its not working, i know that the error is because of this only.
I am getting the date input from the user(for example in sending card to someone the user enters the date, when the card should be sent).
I have to enter this constant date in the mysql datbase where the column type is "date".
Any help would be appreciated.
... -
-
supplied argument is not a valid stream resource
Hi i am doing a project in php that has to read the particular text from the file .
I am still unable to get the source of error.
what all it mentions is this message.
"supplied argument is not a valid stream resource"
This error on which it is giving me an error is marked in the code
Here is the sample source code that i am working on.
I even have tried changing the permissions... -
how to get the clip information from the real media file
Hi i am building a webpage that will ask the people to upload the videos.
From those real media videos i have to grab the clip information. although the whole video format is bunch of binaries but is the cliip information should be text.
Is there any functio in php that can get that "meta information" from the .rm or .ram file. I dont know if this is the right place to ask because i have a unix system but i dont know if there... -
Thanks for the info, $_FILES["filename"]["type"] solved the problemLeave a comment:
-
-
getting information about the file
Hi
I have to figure about some information of a file that a user is uploading.
Is there a library or a package that i can use to get some kind of information about the file. I have other options to parse the name of the file and see what type of file it is like .html , .swf etc but it would be nice if i can get some more, like the file size modified date etc with the php library?
Thanks
varun -
Just to add some more
http://bugs.php.net/bug.php?id=2314 5&edit=1
i dont think you need to mention jvm.dll .
I am still trying to make it work. If you get something please let me know too :).
varun...Leave a comment:
-
Hi Kristien
I am also stuck on that.
try to refer this link, it might clear your doubt.
http://bugs.php.net/bug.php?id=2913 4&edit=1
I dont know where you got the .jar file from.
Because its not available php5 extensions.
But if you are using the old .jar file might likely not work.
The better way is to compile your classes explicitly and then start the program.
Hope this...Leave a comment:
-
calling a session bean from other session bean in ejb3.0
Hi
I have a requirement of calling a session bean from some other session bean. I am trying to persist both the entity values in the database but they are not visible in the database.
Regards
Varun -
difference in entity beans in ejb2.x and ejb3.0 entities.
Hi
I have my exams coming up and i have the question that is bothering me a lot
difference in entity beans in ejb2.x and ejb3.0 entities.
I am googling that a lot but can not really figure out that what is actually different in technologies. As from Sun site it says that ejb3.0 entities are not the enhancement of the entity beans but a new concept.
Can anyone help me figuring out the key diffrences between the... -
Hi Dorin
thanks for your reply. But as more and more i am reading i am getting more into confusion. Anyways i think the best way is the practice and thats what i am going to do.
Thanks for your help. If i get stuck somewhere i will be needing your help again.
Thanks again...Leave a comment:
No activity results to display
Show More
Leave a comment: