Abdulrhman

1

votes
1

answer
52

views

how to determine the constructor which called with empty braced initializer?

I tested the following code on two different compilers, I could not determine how the object w2 is constructed. #include using namespace std; class Widget { public: Widget() { std::cout
Abdulrhman
1

votes
1

answer
1.7k

views

qmake when vs2008 and vs2010 installed

I couldn't generate vs2010 solution using qmake qt5 , the generated project is vs2008 I have two vs2008,2010 installed , I add the path = C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies; C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE;C:\Program Files\Microsoft...
Abdulrhman
1

votes
1

answer
309

views

fragment inside fragment {Kotlin}

is there any possible way to put a fragment inside a fragment? I tried to put a viewPager in a fragment and write the code on OnCreatedView but it gives me error!!! I tried this one but the fragments goes for every fragment in the activity! pageradapter.kt class pagerAdapter(fm:FragmentManager):Frag...
Abdulrhman Alanazi
5

votes
4

answer
3.4k

views

how to implement multiple local notification not a single notification for swift 3

i have use the single notification , and this is my code: this is for register the local notification>>> func registerLocal() { let center = UNUserNotificationCenter.current() center.requestAuthorization(options: [.alert, .badge, .sound]) { (granted, error) in if granted { print('Yay!') } else { pri...
3

votes
1

answer
59

views

selector in CSS in image and alt

How can I select all image with alt, but I must not select (alt=''). I want it in one selector like that img[alt]:not(alt=''), but it doesn't work
5

votes
5

answer
12k

views

getting the autoincremnt value after inserting record using SQL Server

I'm developing a project using VB.NET connected to SQL Server database and in this project i need to get the value of column called 'ID' after inserting a record to the database immediately. thanx.
Abdulrhman
42

votes
7

answer
143.3k

views

Select from table by knowing only date without time (ORACLE)

I'm trying to retrieve records from table by knowing the date in column contains date and time. Suppose I have table called t1 which contains only two column name and date respectively. The data stored in column date like this 8/3/2010 12:34:20 PM. I want to retrieve this record by this query for ex...
Abdulrhman
3

votes
1

answer
110

views

Add database in codeigniter dynamically

I am working on codeigniter app to allow user to add edit and modify database. I want to repeat this code by loop: $db['db1']['hostname'] = 'localhost'; $db['db1']['username'] = 'ts4l_wp13'; $db['db1']['password'] = 'O&3D6c(0zD70.^9'; $db['db1']['database'] = 'ts4l_wp13'; $db['db1']['dbdriver'] = 'm...
3

votes
3

answer
2.7k

views

The efficient way to write move copy and move assignment constructors

Are the following assignment and copy move constructors the most efficient? if anybody have other way please tell me? I mean what bout std::swap? and calling assignment through copy constructor is safe in the code below? #include #include #include #include using std::cout; using std::cin; usin...
Abdulrhman