i saw this code but i couldn't understand what it does:
inline S* O::operator->() const
{
return ses; //ses is a private member of Type S*
}
so what happens now if i used - ?
I am new to c# programming and I want to ask a question.
How can I get the value in () and store it in another string. example:
I have string
s1="here there (hi)";
How can I get
s2="hi";
the () will always be at the end of the sentence (never at first or in between).
i have a texbox and a treeview. i want the user to search in the treeview by typing in the textbox. i think the best way to do it is using JQuery.
how can i search for a word inside a treeview , color it, and focus on it using JQuery?
a simple example would be great...
i have an asp hyperlink i want to link it to a .doc file found on a shared folder.
i was able to do this in internet explorer but not in firefox:
my code:
hlc.NavigateUrl = @"file:\\direct\upload\file.doc";
how powerfull is google android bluetooth programming?
is it considered a low level programming langauge/emulator that enables me to have full control over bluetooth? ie protocols,encryption,layers....
is it possible to connect to an mysql database and issue queries using c++?
i found some sample code from the internet but they all use mysql! so u need to install mysql first on the computer.
what i want is to use a program from different locations where i don't have mysql installed to access a remote mysql database.
is this possible?
Developer’s life is very interesting, we often want to start my day early at a job so we can go home early. However, the day never comes as the life of the developer is always about working late hours. If the developer goes to the office early – there are good chances that his co-workers will come late. Additionally, I am confident that there will…
I am developing an application that relies heavily on sending SMS programmatically. I followed the examples released after 1.6 that demonstrate how to use an abstract class to implement sending for 1.5 and 1.6+.
I started getting complaints from some users about how it appears as though SMS should be sent but they are in fact not. It took be a…
I have a list of tags in a database.
Ex:
villan
hero
spiderman
superman
superman
I wanted to obtain a sorted list of the tag names in ascending order and the number of times the unique tag appeared in the database. I wrote this code:
Ex:
SELECT hashtag.tag_name,
COUNT( * ) AS number
FROM hashtag GROUP BY hashtag.tag_name
ORDER BY…
dear friends,
i have created a single page application of showing phonebook data in a list.
i am using 2.1 sdk in emulator and application works fine.
but in my HTC hero firmware is 1.5 when i try to intall same application on HTC hero
application is installed successfully but when i click on app icon it gives me force close error even i…
dear friends,
i have created application using layout font sizes in "pixels"
font and other layout looks fine on HTC hero and Motorola Droid but in nexus one which is bigger resolution phone every thing is messed up.
for example ,
i have used font 18px which is bigger size in HTC Hero and Motorola but in Nexus one it is looking very…
As you can see in the current code below, I am finding the duplicate based on the attribute recordable_id. What I need to do is find the duplicate based on four matching attributes: user_id, recordable_type, hero_type, recordable_id. How must I modify the code?
heroes = User.heroes
for hero in heroes
hero_statuses =…
We’re so used to seeing video games from our perspective–the hero with the endless power ups and do-overs–but how does the video game world look from the perspective of the bad guys? Rather grim and confusing, as the video above highlights. [via Geekosystem] How to Banish Duplicate Photos with VisiPic How to…
Certification doesn't make one an IT super hero but it's something every developer should consider. Some might argue that there aren't any certifications for Microsoft Access application developers and they would be correct, however, the Microsoft Access 2007 Application Specialist (MCAS) exam might prove helpful.
Bemutatásra került a magyar mozikban is a Vasember 2., eredeti címén az Iron Man 2. Az Oracle készített egy reklámkampányt erre a filmre építve. Érdemes megtekinteni mind a weboldalt, mind az alábbi videót.
MAN. MACHINE. HERO. - SOFTWARE. HARDWARE. COMPLETE.
The hero has a ball, which shall be thrown with accuracy in a court on iPhone/iPad. The player is seen from above, in a 2D view. In game play, the player reach is between 1/15 and 1/6 of the height of the iPhone screen. The player will run, and try to outmaneuver his opponent, and then throw the ball at a specific…
After going over a few game design patterns, I have settle with Entity-Component-System (ES System) for my game engine. I've reading articles (mainly T=Machine) and review some source code and I think I got enough to get started.
There is just one basic idea I am struggling with. How do I deal with groups of…
[IMG]http://www.microsoft.com/visualstudio/_base_v1/images/boxshots/home-hero-boxshot.png[/IMG]
A l'occasion du lancement de Visual Studio 2010, les Communautés Microsoft t'invitent au centre de conférence au Campus Microsoft pour un évènement exclusivement dédié aux Communautés.
Le jeudi 15 avril 2010 de 8h30…
I am designing a home screen widget. The widget layout file is like below.
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/widget"
android:layout_width="240dip" android:layout_height="200dip"
android:background="@drawable/base_all"
/>
I ran this widget on…