I am trying to watermark a flash video, but it throws long list of
"Unsupported Codec"
so, is flv not supported at all ? Do I need to convert it to .avi and watermark ?
Hi,
list<Dog*> dog;
.............
............
So I added many dog objects to it.
If I call dog.pop_front();
Does memory automatically gets deallocated ?
I want to be able to specify multiple name=value lines in the INI file using boost::program_options. Something like
[list.names]
name=value
name=value2
name=value3
Is there a way to achieve this with boost::program_options? I get a multiple occurrences error if I try it
If not, what other libraries are available?
The thing is that there are number of items in the HTML select list. I want to click on any of the items, then query the database on the id of that item, retrieve the value and then display that in the textbox. How would I query the database?
I would really appreciate that if someone provides a code sample for querying the database.
I am using c# with asp.net and SQL Server 2005 as backend. I want to use dropdown list control in a form to populate a textbox. The dropdown control is linked to a column in the database. How can I code this in c#?
I'm talking specifically about the kind you get if you click and hold on an app in the dock, or a folder if list view is enabled. Is it a menu style, or a window flag I can set like the brushed metal-style?
Lots of little free apps seem to use it. http://bambooapps.com/free-stuff/ is a good example.
Is there any way to stick child button element to bottom of parent element when number of child elements vary?
Parent element is fixed height, and could be scrolled vertically in case of child overflow. In that case, button should be at the end of child list, but in case there is no children, or children size don't push parent element to overflow, it should be at bottom of parent element.
Is there pure css solution for this?
Thanks
I write an application in Java. I get form a database a table (clients) which contains fields like:
name | surname | adress
What is the best solution to store this data in my app? Should I create an object for each client and store these objects in a list or set?
The table contains about 100 records and it's already sorted.
Thanks in advance.
I am doing a query with three tables, the problem was one table has many occurrences of id of another.
sample data:
users: id
answers:
id:1
user_answer :1
id:1
user_answer :2
id:1
user_answer :3
Questions:
id:1
answers :answer description
id:2
answers :answer description
id:3
answers :answer description
How can I get all user information and all answer and its description, I used GROUP by user.id but it only returns only one answer.
I want to return something like this list all of users answer:
Name Q1 Q2
USERNAME ans1,ans2 ans1,ans2 comma separated description of answer here
What are the advantages of using C++ based Classes/Objects over using legacy C Structures for managing standard Data Structures like Linked List, Stack, Tree, Queue ..etc? Let me know if the question is not clear.
I have created a project using the following maven webapp project in eclipse:
When adding a package to the project (right click project - new - package), the package gets added as a folder (I added a package named core). It does not have the usual package icon:
If I try to create a new class and select a package, there are no entries in the list box. I have tried creating packages in a normal eclipse dynamic web project and these work correctly.
How do I get packages in Maven enabled webapp projects?
Hi ,
I have country table,
i fetch all values and moved into array ,
these value i like to populate into combo/dropdown list ,
here i want to do some magic things,
that is , for my site most of the users coming from uk,us,Australia,Romain and few,
So i like to populate by my preference ,
is there any array will do this magic work, else is it possible mysql query ,
So final question is ,
Populate country name into combo based on my prefernce ,
Thanks
I have a list of unix timestamps in a database, and I wanting to select the ones that are from today.
i.e If today is Tueday, I want to get all the timestamps that were made today? Is it possible? Is there such a things as strtotime("Today")?
Any help would be great
I was wondering if the foreach statement in perl iterates the items in an array in consistent order ? That is, do I get different results if I use foreach multiple times on the same array or list ?
Thanks.
I started with the standard scriptaculous drag and drop tree, and that all works fine.
Then started implementing this:
http://www.artweb-design.de/2008/5/30/scriptaculous-sortabletree
which gives a good drag and drop tree
Where I am stuck is how to get serialize the tree (unordered list)? It's not in a form, and I can't find a way to serialize it to move onto setting up the AJAX update.
I am new in Prolog. I need to declare a function which looks at a list like
[[1, 0, 0], [1, 0, 0], [1, 0, 0]]
and if the value is 0 returns its address(by considering it as a double array).
I wrote a function basicly in the format:
function(..., X) :-
function(called by other values).
How can I write a function, that returns a value when each times it called(recursively). May I get them (in above question) as alternative X's???
hi guys,
I am upgrading from vb6 to vb.net.
I used to list my query results in datagrid in my previous applications. What can be more visually attractive control in replacement of datagrid?
I hate the classic look of datagrid
I'm trying to create a BBS using PHP and SQL, and I want to make it so the topic with the most current post is on top of the topic list. what is a easy way to check if one date and time is more current than another?
So I have lots of links like address:port/Bla-bla/bla-bla/file/blabla234times/ created by some server (like VLC) how can I get all links (list of them) avaliable from server (abstract server working on windows) from my C# programm?
Hi ,
I try to add new mhtml link to List but i've got :
"Illegal url address " etc.
How to change the setting to allow mhtml links ?
Thanks in advance ,
Ish
Hello,
Googling nor binging "VC++ What's new C++0x" gives me nothing that tells me what is new.Is there an official page at msdn or something similiar that contains the information for VC++ 10? I've seen such for C#,there must be one for what I'd enjoy to read.
If not, please list the new features available in Visual Studio 2010 for VC++.
I'm wondering if it is possible to rerender just one element in a listview? I assume by calling notifyDatasetChanged() is gonna rerender the whole list?
Thanks,
Instead of executable code all it does is create files that don't do anything, even if the files are made executable.
TARGETS = load list show add delete btree
all: $(TARGETS)
%: %.cpp
g++ $< -g -o $@ -MM -MF [email protected]
sed "s/$@\.o:/$@:/" [email protected] > [email protected]
-@rm [email protected]
DEPS=$(TARGETS:%=%.d)
-include $(DEPS)
Here is a simple header file for six different programs that used to work right, but then my files also include other files. This needs to get changed so that if the dependencies change the files that include those dependencies get updated.
all: load list show add delete btree
%: %.cpp
g++ $< -g -o $@
From what I understand about apply, it unpacks a list and turns the elements into arguments for a function.
I see that (apply + [1 2 3]) works as expected, i.e: it's equivalent to (+ 1 2 3).
Why then is (apply or [true false]) invalid? Isn't it equivalent to (or true false) ?