C#: Is data type the same as type?
Hi, maybe its silly but I am not sure if there is difference between types and data types int is data type class A{} A is type or data type? ...
Hi, maybe its silly but I am not sure if there is difference between types and data types int is data type class A{} A is type or data type? ...
Basic question here about the structure of a basic iOS MVC app.. I know IBOutlets are used for accessing view elements such as buttons and labels and such and modifying or getting their values.. Is it normal though to use an IBOutlet to access another object in your app FROM a view?? For example.. @interface CustomView : UIView { ...
Hi, I'm a PHP developer trying to write some C++. I'm having trouble with assigning an object as an another object's property. In PHP, I'd write this: class A { public $b; } class B { } $a = new A; $a->b = new B; How do I do that in C++? I got this so far: class A { B b; public: void setB(&B); }; class B { }; void A:...
Hello. Method strongly promoted as an alternative to the deprecated methods MSDN writing files this clever, that's just scary:). He not only writes and appends the contents of the file, but also penetrates the written. For example, create the following code: Dim fl As IO.StreamReader = My.Computer.FileSystem.OpenTextFileReader("C:\src....
I'm trying to use rrdtool to monitor Access Points and what I'd like is to have separate rrd file for each access point, which is something I'm not sure how to do. Anyway if I can do that then for each site I'd be able to get a graph from different rrd databases according to site location. However when I want to see a company level graph...
Hi guys I'm working on a social networking site (basically a copy of facebook to be honest...) and I reused big parts of insoshi. But the feed of insoshi is not accurate enough for my likings. As in it doesnt support more specialized messages. You will see what I mean in the following code: item = activity.item relationship = relation...
I am just getting started learning rails. I am building my first app using Ruby on Rails tutorial by Michael Hartl. the book said to use this gem file. source 'http://rubygems.org' gem 'rails', '3.0.0.rc' gem 'sqlite3-ruby', '1.2.5', :require => 'sqlite3' group :development do gem 'rspec-rails', '2.0.0.beta.18' end group :test...
Hello all, First try with ajax, please have patience. <html> <script type="text/javascript" src="jquery-1.4.2.min.js"></script> <script type="text/javascript"> $(document).ready(function() { function hello() { $.post("testCaseAjaxServerSide.php", { ola: "hello"}, function(data){ if (da...
I don't know how better to describe this. So take this example. var a = { x: 1, y: 2 }; var b = { z: 3, refA = a }; a.refB = b; I have a preference that this is sort of behavior is ugly. So at best, I have a personal disagreement with this sort of coding. You should not need to have these types of references, and it leads ...