Hi,
I wonder if there is something wrong with the copy constructor function below?
class A
{
private:
int m;
public:
A(A a){m=a.m}
}
Thanks and regards!
hi,
I want to save images selected from photo library to my resource folder in xcode. So that i can do some operation on newly selected image. SO any one know how to do this??
Regards viral
Hi
I have to write an object in to binary file.My struct looks like this.
Struct Company
{
int numberofemployees
list of Struct Employee.
}
Struct Employee
{
string EmployeeName;
string Designation;
}
What is the best way to do the above operation?
Regards
Raju
Hi,
I have a common script which Im including in my php cron files and the files which are accessing through the browser. Some part of the code, I need only for non cron files. How can I detect whether the execution is from CLI or through browser (I know it can be done by passing some arguments with the cron files but I dont have access to crontab). Is there any other way ?
Regards
Binoy
Hi ,
i am very new to xml and c++.
i want to validate xml against xsd using c++ api.can any one gimme any tutorial link? or sample program.i don want to do using msxml as its works in windows and visual studio.
i tried to use xerces and libxml but i have failed.now i am trying using tinyxml.
please help me to validate xml against xml schema using c++(not vc++,should work in cross platform)
regards,
manu
Hello
I want to generate a preview thumbnail image of a web page using the link for the page. How can i do this? I'm comfortable with C#.NET, Javascript/JQuery.
Regards
NLV
Hi,
In SQL SERVER 2005 This query works fine : Select * from sys.procedures where object_definition(object_id) like '%J%'
SELECT * FROM MSDB.DBO.SYSJOBS WHERE NAME LIKE '%J%'
but in sql server 2000 it is not working. Here i need to find the all the stored procedures and jobs which matches my string ? how to find in sql server 2000 ?
regards,
kumar
Hi,
I am trying to set default value in DateField using the following statement
DateField dateField = new DateField("Birthday:", 567993600, DateField.DATE | DateField.FIELD_LEFT);
but when I run my application it shows me 7 Jan 1970 instead of 1 Jan 1988.
I checked the time stamp on http://www.onlineconversion.com/unix_time.htm
and it shows me correct expected date which is, "Fri, 01 Jan 1988 00:00:00 GMT"
I am using 8900 simulator and my date time is correct showing today's date 31 Dec 2010 in date time under options folder.
Regards,
-gmuhammad
hi friends,
I m creating a game, in that i want to use some animation, but i m new to animations.
I want to create an image ,as soon as i click on imageview, the image should come in bouncing manner as if it is a Ball, so is it possible to do so??? The image is predefined for the game.and it must come after touch begin event occures, can any one help me???
regards
viral.
Hi Guys,
I am successful in generating Heap Dumps of my application machine but I do not know how to analyze it. Can someone tell me how to?
Thanks and Regards,
Deepti
Hello everyone,
I would like to add an artificial intelligence technique in a c sharp project. the problem is that i don't know an artificial intelligence library that i can use. could you please share with me your knowledge with me.
Regards,
Hi,
is it somehow possible to get the nearest "container" NSView of a CALayer? My problem is I'm managing tracking areas in my "container" NSView, and those need to be updated if a layer is moved/added etc. and i would like to automate that somehow instead of calling my -updateTrackingAreas function manually.
Regards,
Erik
Hey there,
I'm currently working on an app which displays a bunch of files in a table, and you can add and remove them and whatsoever. To prevent duplicates in the table, I'd like to create a NSDictionary using the files full path as keys for another NSDictionary which contains all the file information, but I am a little concerned about the maximum key length of NSDictionary, and also whether this solution would be performance killer or not...
Looking forward to your answers.
Best regards,
x3ro
I'm in a situation where I'm using an ItemsControl with a SurfaceScrollViewer bound to an AsyncVirtualizingCollection and all of the data is being requested. I'm aware that it's due to the ItemsControl request all of the data but I'm not sure how to get around this.
I've tried the AsyncVirtualizingCollection bound to a ListBox and it works fine and I'm now attempting to having it bound to a SurfaceListBox but the problem persists.
Any ideas of how to overcome this?
Thanks & Regards
Tony
Can anyone please tell me why this result is generation only one results? taking in mind that everything is set right and the three tables are populated correctly, i took out the group_concat and it worked but of course with a php undefined index error!
SELECT `songs`.`song_name`, `songs`.`add_date`, `songs`.`song_id`, `songs`.`song_picture`, group_concat(DISTINCT artists.artist_name) as artist_name FROM (`songs`) JOIN `mtm_songs_artists` ON `songs`.`song_id` = `mtm_songs_artists`.`song_id` JOIN `artists` ON `artists`.`artist_id` = `mtm_songs_artists`.`artist_id` ORDER BY `songs`.`song_id` DESC LIMIT 10
so i'm guessing it's something related to group_concat.
best regards,
Rami
Hello,
I'm new with jquery and want to ask a question, can jquery make something like this pics? I don't know what's this was called, so I can't googled it.
Regards, B_S
Hi Guys,
Im trying to sort a column of data in a gtk tree view column non alphabetically. I cant seem to find a function in the GTK libraries that cant do such a thing
Does anyone here know of a way to do this?
Regards
Paul
I need an simple way to check whether a string that is sent to my function is of the form:
(x + n)(x + m)
//the +'s can be minus'
//n and m represent a double
//x represents the char 'x'
Is there a simple string format that I can use to check that this is the form. As opposed to checking each character singularly.
The whitespace will be removed to save any confusion.
Regards
Lloyd
Hi,
let's consider a small method:
int MyFunction(string foo, int bar)
{
...
}
and some calls:
MyFunction("",0)
int x = MyFunction(foo1,bar1)
How would you explain this to a non-technical persons? Has anybody a nice metaphor?
I tried to explain method calling (or function application) several times, but I failed. Seems I can't find the right words here.
Regards,
forki
Hi All,
I want to store the file and file information into the database automatically, when any file is inserted into the directory.
Let suppose, in the /etc directory, we store some log files. And if we are inserted new file into /etc directory or change any existing file then automatically these file information should be go to specific database table.
How can i do that.
Regards,
Amit
Hi,
i want to write a application using hindi font. i just want to know how to use hindi font in application for user interface. i have a urgent requirement, please reply this question.
Thanks and Regards
Dee
Hi,
I'm a newbie to .NET. I have a class called Project, a project can have multiple forecasts.Now If I want to check if the projects has any forecasts or not should I use a readonly boolean property called HasForecast() or should I use a method named HasForecast() which basically returns a boolean value.From framework design guidelines I came to know that methods should be used when the operation is complex,since here I'm retrieving the value of forecasts from DB should I consider method, or since it is a logical data member should I use a property.If I use a property can I call a method in DBLayer from its getter.Please explain
Regards, Ravi