Hey all,
I want to use \ in a string, like
string str="abc\xyz";
But this is giving me error.
I have also tried
string str="abc\\xyz";
But still it isnt working.
Can anyone help me out?
Hey there,
I got a strange problem that the plot overlaps in the graph, but not in the image.
I am sure I didnt leave hold on somewhere or else it will overlap in the image itself as well.
Here is a sample :
Any ideas ?
Thanks
Hey I'm wanting to have an integrity check on a software that will be distributed to many different types of servers. Can I use PHP's filesize() comparisons safely... for example will a filesize that is 745 on my server be 745 across all other servers?
Hey,
Is it possible to call a function which is located in a controller from a view.
This is what i have in my controller, as an example
function checkKeyExists($userid, $key){
}
Then inside my view i have the following
if(checkKeyExists($row->id, $role->key)){
}
But when i run it, it says that checkKeyExists is not defined.
If anyone can let me know how i could do this, that would be great.
Cheers
Hey all,
i use some code for inline cell editing from Apples TaggedLocations Example and im now stuck.
At the demo Code they save the changes at textFieldDidEndEditing, this works because they asume to edit only the first element in a table view.
I have to edit every row at the table view, so my problem is how to get indexPath.row to update the correct object stored in a mutableArray.
Or did i miss something?
Thanks for your help!
Hey, well right now I have a script to send text messages, and I'm looking to modify the Mail() function to also send attachments.
Does anyone have any ideas?
right now this is the format I'm using :
mail ($to, $subject, $message, $headers);
hey all i have a program for inserting new now dynamically in table view. But it displays the inserted row the end.How can i display the inserted row at the first position.
hey,
I have two-dimension array
List<List<int>> boardArray
How can I enumerate throw this array to check that it contains other value than 0 ?
I think about boardArray.Contains and ForEach ,cause it return bool value but I don't have too much experience with lambda expression :/
Please help :)
hey Folks,
Is there any way in ruby to get the memory address of objects..
say..
(i = 5) is that possible to get the mem address of that object 5..
'object_id_' is not that satisfying..
I just wanted to know how referencing to objects work on ruby, so i thought address will be useful, to get things done
plugin memprof doesnt work on x_32bit, so is there any better way pls help me...,
Any answer would be really appreciated...
thanks,
Regards levirg
Hey all,
I'm very new to RoR, and am trying to implement a user login system. I've got most of it working, but I'm trying to work out how I refer to the logged in user across many different views/controllers etc. Can I store the user in the session? Or is there a better way to do it?
Thanks for reading
Hey
I'd like to know how to use XMLHttpRequest to load the content of a remote URL and have the HTML of the accessed site stored in a JS variable.
Say, if I wanted to load and alert() the HTML of http://foo.com/bar.php, how would I do that?
Thanks!
Hey, I've just finished writing a VB.NET application. Now I want to package the executable and the database ofcourse into a single installer file. I tried using QSetup, InstallShield to make SQL Server embedded into the setup file, and finally after hours of try&fail I have no idea. Anyone?
Hey there,
I'm trying to change all http://www.mysite.com/filename.php files to show as http://www.mysite.com/filename/ using mod_rewrite, but I seem to be doing something wrong.
Can anyone help out? I'm guessing it's something pretty simple for those that know. Thanks.
Hey everybody. Given an array of n integers, i need to find the product of each of the (n-1) subsets i.e:
ith subset = the product of all the elements except the ith element itself. e.g:
S = {1,0,3,2};
subset_product(1) = 0*3*2=0;
subset_product(2) = 1*3*2=6; etc.
So Any help?
hey Folks,
Is there any way in ruby to get the memory address of objects..
say..
(i = 5) is that possible to get the mem address of that object 5..
I have been trying to get this over some time..,
Any answer would be really appreciated...
thanks,
Regards levirg
Hey there,
Is there some way of getting optional parameters with C++ Macros? Some sort of overloading would be nice too. It doesnt seem as if there is? I couldnt find any method anyway.
Thanks in advance!
Hey all,
I have a table Logins { Id, AccessTime }, I'd like to write a query that returns 3 columns, Total Logins during a time period, Unique Logins for a time period, and the Id of the user.
I know I could do this with two passes and a join, is there a better way to do it in a single pass?
Thanks,
~P
Hey guys,
I need few good book recommendations for PHP. I am trying to learn to develop webapps. I know there are other (arguably) better language out there that I should start with (ie, python). But I want to start with PHP and go from there.
My programming knowledge is limited to html/css (I know they are not actually programming languages), and I have gone through half of a python book.
Thanks! :)
Hey guys,
while surfing through the web and through stackoverflow.com i found many posts in forums, etc. where this message occures in IE but not in the other browsers. the thing is, the resolutions vary widely and it's not clear for me what's the best way to avoid this problem.
So my question is, if anybody knows exactly, specificly what this message
Object doesn't support this property or method
means, causes, says ,...
thanks for help.
helle
Hey, I'm trying to write a program in C# that will track the pressing of certain keys (using a keyboard hook), and send different ones instead.
For instance, when I press the A key it will instead send the Q key.
I used http://www.codeproject.com/KB/cs/CSLLKeyboardHook.aspx this for my hooks and tried to use the SendKeys function, but I get an exception about the garbage collector destroying some object inside the hook class.
Hey, I'm just wondering how to convert a numerical date into text format in PHP
Example change
06.04.2010 to say April 6th 2010
Is there any function already made?
Hey all-
I have some files in my SVN repository that I would like to have execute permissions. When I check them into the repository with 755 permissions and run an svn export, the resulting files have 644 permissions.
There doesn't appear to be an option in "svn export" to retain the permissions. Am I missing something?
Thanks-
Jonathan
Hey!
I want to check wether or not the iPhone is muted when the app starts, and I want some code to be run every time the mute-switch switches.
Is this possible?
Thanks :)