5,686 Topics
![]() | |
okay i have a file with data orgainzed like this in a dat file to be read: apple.0.0.end. and i want it to be read by char until it sees "." then print that, then read again repeated until the end of the line. so i can show the data … | |
I wrote 2 queries and I am not sure what is wrong with them. Can someone tell me what to do in order to fix them? #T8 select sum( quantity ) * (select price from fruit where name like 'apple') from inventory where fruitID=(select fruitID from fruit where name like … | |
Hello all: I have written a function that gets data (numbers) from a text file. My function works by taking a line from the text file, discarding unnecessary symbols, and putting the numbers into a vector. Here's a snippet: // Get data from text file. Values then put into one … | |
These are my queries for an assignment. It says that I made a mistake on query 8 and 9... problem is that I don't see any mistakes? Can someone tell me what is wrong? #T1 SELECT * FROM `inventory`; #T2 SELECT fruitID, sum( quantity ) FROM `inventory` group BY fruitID; … | |
I think I have the answer to this: First you get a self proclaimed expert who says it is absolutely wrong to ask for other people to write code for you (a la iamthewee) in this discussion here--> http://www.daniweb.com/software-development/cpp/threads/467572/question-a-car-class Then you find this self proclaimed expert begging for other people … ![]() | |
If my iPhone 5s fingerprint data is walled off from the rest of A7 chip and the rest of iOS 7 in a 'Secure Enclave' and is never accessed by iOS or other apps, as Apple claims, then how come it all vanished when my iPhone crashed and I had … | |
I have a really strange situation with my storage device. I would be really grateful if somebody could guide me through this. System details: Mac mini 2.0 i7 8GB 500GBx2 External storage: My studio Book WD 6TB (inside probably 3TBx2 raid). file format: NTFS Connected to Mac through Firewire. intermediate … | |
Microsoft knows it has to do something in order to claw back some kind of market position, not now but five years into the future. The culture of computing is changing amongst the young and hip consumer, and it's moving away from the Microsoft Windows-centric vision of the past. While … | |
I would really appreciate some help here and some serious answers. I work at a coffe shop and an man came up to me if i could charge his iphone (his battery was a 0%). He looked suspicious, i ve never seen him around the community. At first i was … | |
The iPad is, as those annoyingly creative TV adverts show us, used for all sorts of things by all sorts of people. However, according to a press release that hit the DaniWeb news desk today, you might be forgiven for thinking that shopping isn't one of them. As usual though, … | |
How do I start with the drop down list disabled? <head> <script type="text/javascript"> function makeDisable() { var x=document.getElementById("mySelect") x.disabled=true } function makeEnable() { var x=document.getElementById("mySelect") x.disabled=false } </script> </head> <body> <select id="mySelect"> <option>Apple</option> <option>Banana</option> <option>Orange</option> </select> <br /> <input type='radio' name='campustype' value='in' onclick="makeDisable()" checked='1' /><label for='incampus'>In-campus</label><br /> <input type='radio' name='campustype' … | |
When looking for free software to convert some MTS and WMV files to play on my galaxy note 3, I found two software talked about most by people online, Handbrake and MacX Video Converter Free Edition. Handbrake, I know it is popular among people, could convert any video to MP4 … | |
so i have 2 lists i need to compare $list = array("Apple", "Orange", "Lemon", "Candy"); and $db = $r_bio['other']; $db2 = explode(":", $db); i want to compare the two and if i find the same i want to echo a checked checkbox if not an unchecked checkbox if($db2 == $list) … | |
Which? magazine [has revealed](http://blogs.which.co.uk/technology/phones-3/apple-iphone-5s-fastest-phone-samsung-galaxy-s4-lg-g2/) the new Apple iPhone 5s to be the fastest smartphone of all in the latest round of processor benchmarking tests, despite it having less cores that rival handsets. Not only was the 5s almost twice as fast as the iPhone 5 in testing, but also around … | |
If i type "Hello" in my edittext in activity 1 it will add "Hello" to the listview in activity 2 as the first entry ( which has no error ). Also, if I type "Apple" as my second entry I will change the first entry of "Hello" to "Apple" and … | |
I'm one of those people who has both an iPad and an iPhone (in fact until very recently I had two iPhones) so I was interested to see the results of a survey that PriceGrabber published this week and which suggest that the majority of US consumers would consider buying … | |
hello, I just want to Apple mobile phone which OS is used in Apple Iphone 5C Any body can tell me about that one ?????? | |
my dad emailed this to me and i found it quite interesting. its pdfs, texts, and docxs of the source code for apple II dos. im considering developing my os around this (even though i hate apple i still think woz was a genius) | |
Thanks to a federal copyright law ruling on Monday by the Library of Congress, jailbreaking your iPhone doesn’t have to be kept to the underground forums like it's alcohol during a digital prohibition. The process is now completely legal under US law. Grab a glass of e-freedom![ATTACH]16137[/ATTACH]The resulting decision was … | |
The update database is not working , please help me. edit.php <?php include_once('db.php'); if(isset($_GET['edit'])) { $id=$_GET['edit']; $res=mysql_query("SELECT * from apple WHERE id='$id'"); $row=mysql_fetch_array($res); } if(isset($_POST['newName'])) { $newName= $_POST['newName']; $id = $_POST['id']; $sql = "UPDATE apple SET name=''$newName' WHERE id='$id'"; $res = mysql_query($sql) or die("Could not update".mysql_error()); echo "<meta http-equiv='refresh' content='0;url=index.php'>"; … | |
In my [DaniWeb report](http://www.daniweb.com/hardware-and-software/tablets-and-mobile-devices/news/462936/apple-iphone-5s-the-worlds-first-64-bit-smartphone) on the launch of the new iPhone 5s from Apple, I stated that you could "forget the fingerprint scanner built into the new circular home button" but I knew all along that was never going to be the case. In context, I was focusing upon what … | |
Last time I was at Apple they did something so I got my gmail back on my phone. Since then, or maybe since my daughter set up an iCloud account, two things happen: 1. I get all my daughter's contacts and notes (which isn't a bad thing, she's a teenager … | |
Apple has, of late at least, oft been accused of following rather than leading when it comes to smartphone innovation. Perhaps the launch of the iPhone 5s with the somewhat controversial fingerprint scanner has changed that, just a little bit. HTC, the powerhouse in the Android smartphone hardware market, has … | |
Hello, so I was trying few relations between tables and I noted an unexpected behaviour when using `group_concat()`. Let say I have three tables: fruits, fruitstock and fruitprices. These are the structures: create table fruits ( id tinyint unsigned not null auto_increment primary key, name varchar(50) not null, quality varchar(50) … | |
I bought an apple mobile phone few days ago. At first , its with System IOS 6.5, but I change it to iOS 7.0 by accident, not my phone cannot work well , how to solve the problems ? | |
Downloaded and installed latest RE2. When building simple test code with Xcode 5, build fails. #include <iostream> #include <string> #include <re2/re2.h> using namespace std; int main(int argc, const char * argv[]) { unsigned long ulValue = 0L; string sMultiple; string sMatch = "^(\\d+)([KkMm])"; string sData = "2M"; if (RE2::FullMatch(sData, sMatch, … | |
Hello folks....it's been awhile but I'm back with a potential nasties issue - my desktop is operating VERY slowly....here's a hijackthis log......can someone take a look and suggest some next steps? Thanks in advance! JD Logfile of Trend Micro HijackThis v2.0.4 Scan saved at 8:38:47 PM, on 7/21/2013 Platform: Windows … | |
So, apple has announced their new iPhones and they are pretty decent (still waiting on 6). Who here plans on getting one? I think i want the 5c, how about you guys? | |
Hi everyone, I need your help, desperately. I am trying to install the Imagick Pecl extension on my MAMP installation. I have installed Image Magick using MacPort by typing the following into Terminal: sudo port install ImageMagick It seemed to install ok. If I type the following: cd /Applications/MAMP/bin/php5/bin/ .pecl … | |
I program mainly in C++ but recently took up Java for its advantages. I heard about the mono project and that C# is now cross platform but that the GUI of C# is not. I like Java but I also like C#, Java has some anoying restrictions sometimes (like no … | |
So here it is, or will be by the end of the month, the world's first smartphone to use a 64-bit chip. Immediately I would suggest that you can forget about most of what was announced yesterday:  Forget the new colours that everyone is drooling over (gold? really? … | |
Hello, I'm really interested in developing apps for iOS. I do already have everything setup and I'm ready to start programming. What I'm curious about is; Is it worth buying the apple developer account already? I don't have anything ready to release yet, but I have read that they also … | |
Hello, I would like to solve form validation and filename problem. Here is my code: /************************** Step 1: Select Cell************************************/ if(isset($_POST['SmartPhone'])) $checked1=$_POST['SmartPhone']; $form->add_checkbox('SmartPhone','SmartPhone',$checked1); if(isset($_POST['Apple'])) $checked2=$_POST['Apple']; $form->add_checkbox('Apple','Apple',$checked2); /************************** Step 2: Select Model************************************/ if($_POST['SmartPhone']==false and $_POST['Apple']==false) { $this->add(new error('<span style="color:red">Select your cell..!!</span>')); $this->step1(); return; } if(isset($_POST['S4'])) $tech2=$_POST['S4']; $form->add_checkbox('S4','S4',$tech2); if(isset($_POST['iPhone 5'])) $tech3=$_POST['iPhone 5']; … | |
Hi My daughter is stuck trying to set up a POP3 email on a Macbook Air. It just wants to link to an Exchange account, which of course it doesn't find. | |
A jury in the US has, after just three days deliberating, ruled that Samsung must pay Apple more than $1 billion in damages. The lawsuit had focussed on alleged patent infringements by Samsung in terms of both software and design relating to Apple's iPhone and iPad devices. Although not all … | |
So, what are you guys going to expect from apple on the 10th. I think it may fail to meet our desires. So far, the only thing really happening is a new name for a phone (2 phones) and software features that we don't need. I personally think apple has … | |
I need urgent help. I need ONLY select ALL button for my code: if($_POST['SmartPhone']==false and $_POST['Apple']==false) { $this->add(new error('<span style="color:red">Select your cell..!!</span>')); $this->step1(); return; } if(isset($_POST['S4'])) $tech2=$_POST['S4']; $form->add_checkbox('S4','S4',$tech2); if(isset($_POST['iPhone 5'])) $tech3=$_POST['iPhone 5']; $form->add_checkbox('iPhone_5','iPhone 5',$tech3); if(isset($_POST['iPhone 5s'])) $tech1=$_POST['iPhone 5s']; $form->add_checkbox('iPhone_5s','iPhone 5s',$tech1); //In addition, i want to know how to put "Select … | |
after formatting my iphone 3gs, (4.1 ios), would it have a maintained IOS or i vl need to install it again, simply i mean that if i format my iphone then ios 4.1 would need to be installed again or any oyher issues would arise ? please guide me about … | |
Hi All, I am having a JTable which runs so strange. Jtable is very basic having three rows and three columns. If I use SetValue method to place data in any cell and run the program JTable is not visible. If i delete the SetValue Method from the program and … | |
I am looking to deploy iPads into our corporate environment. I spent quite some time reading up on iOS 6 features on Apple's website, where the articles discuss "configuration files" which can be used to secure the iPads and create security rules like forcing a password for logon and also … | |
I have an associative array named table declare -A table table["apple"]="fruit" table["tomato"]="veggie" table["highway"]="GT" table["artist"]="eminem" Now say I have a variable returning the value highway How do I find corresponding value GT ?? (this value that I find (GT in this case) is supposed to be the name of a mysql … | |
I have created my binary tree as , It Shows in List Perfectly but i want to show in Genealogy , how can we do this ..I have Pasted My Total Nodes Script Here with HTML & java script for making tables & draw lines btwn nodes . When I … | |
Hi, I have some hijacking virus that I can't get rid of. I've tried Malwarebytes, tdsskiller, Skybot, AdAware and Superantispyware, cleaned some things, but it persists. Can anyone help? Below is the hijackthis log. Many thanks for any input. Logfile of Trend Micro HijackThis v2.0.4 Scan saved at 9:00:16 PM, … | |
Hello guys, I did appreciate this quick assistance, I have a .csv file and I want the lines in the file to be sorted using value in the first column and the write out the sorted file to another file Take an instance we have: ================================= 36,Line1 APPLE FRUIT 11,Line1 … | |
can you help me in 1 cell in a row can handle many data ? for example in the picture for costumer 1, he order a banana, it cost 50 apple, it cost 60 orange, it cost 70 and my program will retrieve the datas and it will get the … ![]() | |
Could one be preferred over the other in terms of performance? Both option have to traverse the whole array somehow to find out which string contains an 'a'. Or does it not matter much and is it just a syntax thing. Or are there better ways to do this? All … | |
Hi All, I am trying to write a code which checks whether the username and password stored in the database matches to the string created locally and displays it in console. The program connects to the database and gets the string from the table space correctly, but the problem is, … | |
This is probably a very commonly asked question but is it possible to make an app with python? | |
So I wrote a cool little python script for terminal commands that I get sick of entering. Most of the script is explained in docstrings and comments. Looking for useful terminal commands or things I missed or could have done better. I'm actually quite proud of it. :) #!/usr/bin/env python … | |
I have two files: apple.html banana.cs apple.html contains a html table. So my question is: Is it possible to write values to the html table in apple.html using banana.cs? Any help is appreciated. Thank you! |
The End.