2,025 Topics
![]() | |
I am using [PhoneGap Build](https://build.phonegap.com/) to build an iOS application and using [weinre](http://people.apache.org/~pmuellr/weinre-docs/latest/) to debug. So far so good. I am trying to use the *media-capture* and *file* APIs to capture a video and get its base64 representation. I can get the video recorder to open, take a video, and … | |
Hi Everybody. Was hoping someone could clear this up for me. My understanding is not good in this area. The below code simply reads a string from a text file two characters at a time. It then outputs them to console then casts them to an int and then outputs … | |
I am having trouble connecting my app to bluetooth low energy. I am trying to get the range and alerts for the app to the BLE. How do you write a value to a characteristic with a handle? | |
Hello guys, I'm new here and with C++ and i have a problem if you are kind to help me. Me and my friend have created a small program that download yt videos and upload them on specified yt accounts entered by us, when i hit run it opens 50 … | |
For the past while, I have gotten comfortable doing things a particular way when it comes to inputting data: i) create text file whose first entry is N, an integer indicating the number of data entries following, and the actual data entries. For example, for 101 data values, the text … | |
Hey guys, so I'm creating this webapp that creates a QrCode based on informations given by the user, decodes QrCodes and creates a log. I would like some tips, like QrCodes, Image processing, Getting SubImages libraries and API's. I'm using HTML5, CSS3 and JavaScript. This webapp will be able to … ![]() | |
Hello I am having some trouble with something. As I read the contents of a file into an ifstream object I occassionally want to dump all its contents into a stringstream to analyse it. Example below. The problem I am having is that if I use ifstream.rdbuf() to dumpt the … | |
Hello everyone! I am in need of some help with a homework assignment. It's basically creating a file indexer using C++. I have 2 separate files that I need to read in: one is a text document and the other is a Skip words key. I am incredibly confused about … | |
dear all daniweb users, i start using xamarin to create ios software. in mainstoryboard, i navigate passcodevc view controller to songlistvc view controller. i use scandit barcode scanner script in passcodevc.cs . after barcode scanner script, i want navigate from passcodevc view controller to songlistvc view controller. i use this … | |
Our up/down voting buttons don't do anything on iOS devices (iPhone, iPad). Confirmation that they work fine on Blackberry and other mobile devices. Additionally, they work fine on all desktop browsers, including Safari. HTML code looks like this: <div class="vote-arrow downvote" data-vote="-1"> </div> <div class="vote" title="Vote on posts with a comment … | |
I honestly don't know what happened, I was online surfing the web. I was excited the new iOS 8 was announced and downloaded the ISPW from the typical site I use. I opened itunes and got weird errors so I tried reinstalling it and got more errors. So I said … | |
So, I've gotten myself in a bit of a pickle. I have been serializing data I collect with: vector<myClass> mVec; ... // mVec is filled with the data to collect for (auto it = mVec.begin(); it != mVec.end(); ++it) { myfile.write(reinterpret_cast<char*>(&(*it)), sizeof(*it)); } I've wrapped this code in a templated … | |
I have iphone 5 allway display searching... Then i restore iphone with ios 7.1 and get error occur(3) . Please help me ! i Love my iphone. :( | |
Hello so hopefuly someone can help me but i cant seem to find the error and my teacher is in Flordia for the next week so i dont have him to ak for help. So my project was to read input from 11 .cpd files one at a time and … | |
Hi i created a text file and put some numbers to it but when i read from it, the last number will be printed out twice #include <iostream> #include <fstream> #include <string> using namespace std; int main() { ofstream newfile("numbers.txt", ios::out); if (!newfile){ cout << "File not found" << endl; … | |
Hi everyone, I wanted to write C++ a program that's going to logon to my twitter and alert me if I have any new messages or tweets. I found an article that explains how to log on to a website with libcurl, https://www.hackthissite.org/articles/read/1078. Using that article I've written a simple … | |
Hi if i would make an app for manipulating images , something similar to a little photoshop for ios, are there any frameworks to use that could help me? what i have to study? or is it to write km of code from the ground up? thank you | |
I am not sure why my program isn't writing to the text file. When I start the program it tells me that the file opens. Then I call the functions that are inherited from other classes and I would assume that it would write to the file and then display … | |
I want to devide the text in file data.txt into an array of char*( mean i use the pointer char** q) by the way line 1 for q[1], line 2 for q[2] and.... but i don't know why it not work can everyone help me ??? :( char **q; const … | |
Hello everyone, Wapempire is a young but rapidly developing network. Our team has many years of online marketing experience which allows us to provide the best terms of partnership for our publishers. We mostly work with mobile offers such as 1WapClick (adult/non-adult), Dating & iOS/Android apps. But it doesn't end … | |
i want to leanr SEO audit..plzz help me | |
Hi., I have more than 10 products (Non-consuable with hosted content) in my ios app. I want to add an option purchase all items. Is there any possible ways to purchase all products in a single buy option (including downloads). Thanks | |
Hi everyone, I am a first year computer-science major and in our software engineering module we have been assigned to make a game(I have never built one before other than a tic-tac toe game that I made to waste time on). We are going to use a game building kit/platform … | |
Some works, the rest is gray/locked. Tried Manual sync, isn't working, keeps messing up. Now I can't even sync at all. Apply button in gone on iTunes so is sync. | |
using namespace std; int numCheck(int x); int main () { const double LAWYER = 0.10, PERSONAL_ASSISTANT = 0.03, AGENT = 0.07, TRAINER = 0.05; double athleteBeginSalary(0.0), lawyerSalary(0.0), personalAssistantSalary(0.0), agentSalary(0.0), trainerSalary(0.0), professionalTotalSalary(0.0), athleteEndSalary(0.0); int numLawyer, numPersonalAssistant, numAgent, numTrainer, x(1), y(0); string firstName[8], lastName[8]; // The number of the Professional hired: Lawyer, … | |
Hello programmers! I was working on a program that reads a sequential file with bank accounts. The file has three sets of data per line: the account #, the account holder's name, and balance. Then, I made a program to print the file- and it printed the last line of … | |
Hey all, I am a aspiring programmer with experience in C based languages like Java, C++, C#, etc.. and now I have learned the essentials of objective-c in hopes to build a game. Along the way I researched some games engines like Cocos2d, Unity, and the new(er) SpriteKit. Cocos2s seems … | |
My code right now: std::string line; std::fstream localFile; localINIFile.open(MyToReadFile/*, std::ios::in || std::ios::out*/); // the MyToReadFile is declared somewhere else, and is being declared before this if (localFile.is_open()) { std::string Name = A[ID]; // ID is delcared somewhere else too std::string lookFor = Name + " false"; while ( getline (localFile,line) … | |
Wearable computing has been a buzzword for so long that it's easy to get blinded by the hype and not realise that actually it's a reality; and one that got even more real with the announcement by Google of Android Wear. Forget the fitness bands of today and the 'smart … | |
I am using Visual Studio 2013. Error in structure... syntax error : missing ';' before '<<' unexpected token(s) preceding ';' #include "stdafx.h" #include "iostream" #include "fstream" #include "string" #include "conio.h" using namespace std; struct input { char f_name[13]; char l_name[13]; char gender[6]; char section; int age; cout << "Enter Your … | |
Hi, I am wanting to create some desktop software that requires interaction with a database and possibly work alongside a mobile app which hopefully will work on 3 platforms iOS, Android and Blackberry this app will have access to the database the desktop software uses I haven't done anything like … | |
Essentially, I'm trying to go oldschool and make a lil 2D engine, but instead of just importing bmp's or other image files, i'm looking to print each pixel to the screen myself. Firstly, Ive got it so I can display a single image I made, however, for colors such as … | |
Hi, The problem I am having is that the returned object, from a dll factory, is not lasting for more than the function scope that recieves it. Despite reading [How to prevent the static initialisation order fiasco](http://www.parashift.com/c++-faq/static-init-order-on-first-use.html) I fail to see how it even applies to my code. `g_spEngineLog` is … | |
Hello, I'm a first timer here but I've kind of exhausted all my options for help on this program so this is my last resort... Anyhow, I'm constructing a hash table given a hash table class header file from my textbook. I'm working on the Driver.cpp file and here's what's … | |
Hello, Looking at the standard streams provided by the stl libraries, it seems as though it is impossible to have 1 stream to use for both standard console IO and file/string IO. However, before I give up I would like to ask, is this possible: generic_stream stream; stream=cin; //now I … | |
News headlines screaming that yet another Microsoft Windows vulnerability has been discovered, is in the wild or has just been patched are two a penny. Such has it ever been. News headlines declaring that a 'major security problem' has been found with Linux are a different kettle of fish. So … | |
Hi., I'm developing app for ipad, which having sharing images. So i had used Addthis sdk, but the shared images contains jpg image type only. I want png mime type while sharing via mail, twitter and facebook. [AddThisSDK shareImage:[UIImage imageWithData:data] withService:@"twitter" title:@"Test Image" description:@"Testing with attached image"]; Anybody help? | |
**hey guys, well i just want to get alittle help on something, so this is my prob, i finally got the first .txt files to be made by spereating them depending on there id numbers, which in short through each new employee is another new .txt file created, but the … | |
![]() | Like a person goes into Android Programming and wants the app to work on iOS for Apple. Are they the same or different? |
Hi Kind-DaniWebbers, How do you initialise a boost::archive:binary_oarchive in a different place to where you declare it? So: class CBase { std::ofstream m_ofs; boost::archive:binary_oarchive m_binOA(); // <== default constructor virtual void Open(std::string& s) = delete; }; class CDerived : CBase { void Open(std::string& s) override { CBase::m_ofs("filename.bin", std::ios::binary); CBase::m_binOA(CBase::m_ofs, /*flags*/); … | |
Hello, im trying to write a program that will read the id3v1 tag of an mp3 file, output the current information, and then allow the user to edit the ID3 tag. I can get it to output the information but I'm having some issues getting it to edit correctly. #include … | |
We'll be launching a mobile app (iOS, Android) soon. App is native with a local SQLite database. App is supposed to do scheduled database sync with a live online MySQL database connected to a PHP based backend system hosted on a Hostgator dedicated machine. App audience is expected to be … | |
Free IOS and Android App Software? Anyone know where i can find Free Software to create and app for IOS And Android i was wanting to design and create a game or something but i was hoping for a visual creator not just coding. i only know of the MAC … | |
hello again, so i want to make a programme where the file saved is saved with different names at every loop.. like at first loop it will save as file1.txt, 2nd loop file2.txt, so on... so this is my code... #include <iostream> #include <fstream> using namespace std; int main() { … | |
Hello, I am programming for the new(ish) 4 inch retina display of Apple's mobile products. Since I don't have a Mac computer to program with I've had to use Adobe Flash Professional. I realize that in order for the app to run in the full 4" I need to add … | |
Hello everyone, I'm about to develope a simple app for mobile and i want your help about how to make a code for sending the order of the selected items by SMS or E-mail to a sepcific cell number or E-mail after selecting the desired items clicking on the button … | |
GNS3 is a Graphical Network Simulator that allows emulation of complex networks. You may be familiar with VMWare, VirtualBox or Virtual PC that are used to emulate various operating systems in a virtual environment. These programs allow you to run operating systems such as Windows XP Professional or Ubuntu Linux … | |
Hi All, I am having trouble trying to locate the problem with this code. When I run it I get the follow error "First-chance exception at 0x0FADA9E8 (msvcr120d.dll) in ConsoleApplication2.exe: 0xC0000005: Access violation reading location 0xCCCCCCC0." It seems to show an error on the dbgdel.cpp but I am completley lost … |
The End.