551 Topics
If you have never played Angry Birds before, here's the skinny: use a giant rubber band to slingshot a variety of birds (some of which explode, drop egg bombs, multiply in flight, speed up like a rocket, well you get the idea) at a bunch of pigs hiding in a …
i dont know what happen..when i complie..there's error... so..what suppose i do??please.. [CODE]#include<dfp.h> CMatrix CDfp::operator()(double(*p)(CMatrix&),CMatrix& X0,double e) { pfun=p,n=X0.getrow(); X.set(n,1),S.set(n,1); X=X0, error=e; CMatrix B(n,n),B0(n,n); CMatrix TiDu(n,1),TiDu0(n,1); CMatrix DG(n,1),DGT(1,n),DX(n,1),DXT(1,n); CMatrix E(n,n); CDiffer differ; double a; double dfm; int flag(0); int k(1),c(1); for(int i=1;i<=n;i++) B(i,i)=1; B0=B; TiDu=differ(pfun,X,error/10); dfm=TiDu.getmod(); ofstream out(".//result.txt",ios::ate); for(k;k<=n;k++) { …
Hi guys, I have been trying some basic iPhone programming and thus I am making a tic tac toe game. Everything is working well. When there is a winner, an alert comes up. Though then I don't know how to reset the screen state? - I want to turn off …
Hi all, does anyone know if there is already a module or something floating about that would let me create apps for my itouch all responses are appreciated, python01
for my computer programming class, we are suppose to create a program that asks the user to enter a file name, and after the file is brought up the next step is for a cloze text to pop up. we are suppose to write the code for that every 5th …
I have to create a program that will read both of these files and print them to the Win32 Console. After it does this, I have to reread the file replacing every fifth word with 10 underscores. My code works correctly for the austin.txt file, but it counts the first …
I'm working on a soccer management program I had some other members of my group to compile data on 400 real life players into a text file. I planned on reading the text file using a program ,converting individual players into objects and then writing them to another file (in …
Hiya, I dont know if I am in the correct forum i.e. Networking. I am having problems with Server / Client communication. I send data over to the client and it records and prints out in cout, but what I want to do is print in a file. I used …
My file needs to be updated frequently, meaning that new data has to be appended, but in a very specific way. The following is the sample content of my "file.txt" (2 vectors of length 6): [code] 1 2 3 4 5 6 7 8 3 4 5 6 [/code] After …
I have data stored in a deque that I wish to write to disk using fstream. So far this is the test code I have written. [code] int j = 10000; deque<double> m_data; for(int i = 0; i < j; i++) { m_data.push_back(i); } std::fstream myfile; myfile.open ("data2.bin", std::ios::out | …
In short, I've created a program that when a user left clicks it will create a dot at that location (cursor position). After doing some debugging (reviewing coords printed) it doesn't appear to be a coord problem (not sure though), but a perspective problem (may be displaying improperly). The problem …
[ATTACH=RIGHT]17138[/ATTACH]In an impressive gesture of goodwill, Apple has decided to publicize their app store review guidelines for developers, and has even lifted their restriction on third party development software. Yes, this even includes apps written in actionscript, the code behind Adobe Air and the ever-contested, Flash. While the does not …
im trying to open a .mov file in binary which is easy enough to do... i haven't coded in a while... but i reread the book i had in school on the chapter on fstream.... i am instantiating an fstream obj with ios::binary to open a .mov file... i can …
I have this gallery that uses that ipad / iphone swipe from [url]http://www.simplesli.de[/url] but on the iphone and ipad he swipe is a little hard to activate and it doesn't starting moving when I swipe like it has no feedback when my finger is moving across. Does anybody know if …
I send out multiple types of variables (i.e. 2 char arrays, 1 int, 1 double, and two more char arrays). But when I read then back at the beginning of the program (building a LLL) I get multiple declarations of the same variables and then when I display the LLL …
[CODE]HMODULE g_hModule = GetModuleHandle( 0 ); HRSRC hRes = FindResource( g_hModule, MAKEINTRESOURCE( ID_DLL_MYDLL ), "ID_DLL" ); HGLOBAL hResource = LoadResource( g_hModule, hRes ); DWORD iResSize = SizeofResource( g_hModule, hRes ); BYTE* pData = ( BYTE* )LockResource( hResource );[/CODE] When I included a dll file into my project, I used: [CODE]fstream …
[ATTACH=RIGHT]16788[/ATTACH]If you’re a petty thief, an iPhone must look like a mobile Mona Lisa. Their sleek design, variety of features, portability, coveted ownership, and lofty price make for an appealing and readily available target. But scum of the earth pay heed: Apple filed for a patent yesterday (August 19th) to …
Remember Lycos? One of the earlier leaders in search, it was sold to Spanish firm Terra for more than $12 billion ten years ago. This week [URL="http://www.npr.org/templates/story/story.php?storyId=129246686&ft=1&f=1006"]it sold again[/URL] to an Indian company, for a paltry $36 million. Ouch. That got us wondering how some tech companies seem to go …
Firstly, Here's my code running in VS 2010 [CODE=c] #include <iostream> #include <fstream> #include <string> #include <list> using namespace std; class Student { friend ostream& operator<<(ostream&, Student); friend istream& operator>> (istream&, Student&); private: int stuId; string name; int gpa; public: Student(int, string, int); int getStudId(); }; ostream& operator<<(ostream& out, Student …
With all the hype being created, we at EDUmobile are interested in knowing the actual truth via conducting a survey here asking for direct feedback from iPhone developers. Please share the following - (a) Total time in months/years that you have been dabbling in the iPhone development space (b) Number …
[ATTACH=LEFT]16646[/ATTACH]Yesterday, Facebook released an [URL="http://github.com/facebook/facebook-ios-sdk"]updated SDK[/URL] for the [URL="http://www.daniweb.com/reviews/review291912.html"]Apple iOS4[/URL], intended for use with Apple's iPad, iPhone, and iPod Touch. Between this and the recently released Facebook SDK for Android, third-party developers can build applications with a social networking component for two of the most popular mobile platforms. Two key …
[ATTACH=right]16448[/ATTACH]In the fight to be the No. 1 smart phone, Google's Android stands to surpass the iPhone's top seat in two years, according to [URL="http://www.isuppli.com/Mobile-and-Wireless-Communications/News/Pages/Googles-Android-to-Outstrip-Apples-iOS-by-2012-iSuppli-Forecasts.aspx"]market researcher iSuppli Corp[/URL]. "Google and Apple are engaged in a fierce battle for control of the wireless market, which represents the most lucrative growth opportunity …
[ATTACH=RIGHT]16606[/ATTACH]Apple released their latest firmware update for both the iPhone and iPad today, versions 4.0.2 and 3.2.2 respectively. Unfortunately for those who haven't jailbroken their device yet, this will prevent you from using the PDF based JailbreakMe tool in the future. In a similiar fashion, it will remove the jailbreak …
Michael Reagan, the eldest son of former US President Ronald Reagan, has accused people who use email services from Apple, AOL, Google, Hotmail and Yahoo! of "supporting the Obama, Pelosi and Reid liberal agenda" and ultimately "hurting our country". His answer, for those supporters of what he calls true "Reagan …
Despite [URL="http://www.daniweb.com/news/story292997.html"]the ongoing signal strength problems displayed by the new iPhone 4[/URL], there can be no denying that the latest Apple gadget has been a runaway success. With Apple claiming 1.7 million units sold in just the first three days it would be hard to argue. One of the not …
[ATTACH=RIGHT]16394[/ATTACH]Developers downloading the third beta of [URL="http://developer.apple.com/technologies/iphone/whats-new.html"]Apple's iOS 4.1[/URL], which became available yesterday evening, were disgruntled to find that in this release, Apple's dropped support for both the iPhone 3G and the second generation iPod Touch. The changes were made to Apple's Game Center, a social network centered are iOS …
[ATTACH=RIGHT]16365[/ATTACH]Richard Blumenthal, Attorney General of Connecticut, warned Amazon and Apple yesterday that he wants to have a little talk with them about their "anticompetitive" deals in the electronic publishing market. In [URL="http://www.ct.gov/ag/lib/ag/consumers/amazonltr080110.pdf"]his letter[/URL], directed to Amazon's General Counsel, L. Michelle Wilson, Blumental warns that "Amazon's demand that the largest e-book …
The same hacker behind the iPad jailbreaking software “Spirit”, and the iPad port of Flash, has released an easy to use jailbreak solution for the iPhone4. Comex and his cohorts have created a website that allows users to complete the job with a single swipe of the finger. [ATTACH=RIGHT]16317[/ATTACH]Users of …
[ATTACH=right]16221[/ATTACH]iPhone users can now create Web photo albums straight from their phone, with the ability to update existing albums. No longer is uploading photos from the iPhone a time-consuming task. In the past, iPhone users needed to select photos one-by-one. The updated version of the photo sharing app from [URL="http://jalbum.net/apps/iphone"]Jalbum[/URL], …
I start reading about how to be iphone developer, but really didnt hit the right subject yet. So please if you have any materials or can you give me a link to start with I'll be more than happy and thankful for what you gave me.. Best Regards .. eeeraser.:)
I just got a used Cisco 851 router from ebay and ready to play around with it. i connected it to my computer com port and start seeing something from the putty serial connection. i see something like this repeating and repeating.. what does that mean? Translating "stipp2.srv.hcvlny.cv.net"...domain server (255.255.255.255) …
Hey Guys, I'm having some trouble compiling my code. it says that there's an error in one of apple's header files. /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.3.sdk/usr/include/arm/_types.h:13: error: expected constructor, destructor, or type conversion before ‘typedef’ nvm, solved
Im having problem with saving register staff detail. After typing all the detail, and i choose to view the staff detail - it say "Data for Staff Number that have been entered is Empty." here's my full coding: admin.h [code]#pragma once #ifndef ADMIN_H #define ADMIN_H #include<iostream> #include<string> #include "Staff.h" using …
someone help me pls...The 'Add' works fine..but when i try to open it,my full name didn't show completely , such as 'Jack Sparrow' = 'Jack'.. help me pls. #include<fstream> #include<iostream> #include<string> using namespace std; void main() { string name; int age; int options =0; char filename[20]; while (options!=3) { cout …
[CODE] #include <cstdlib> #include <conio.h> #include <fstream> #include <sys\stat.h> #include <string> #include <iostream> #include <iomanip> using namespace std; struct Student_Record { string name; int id; string ic; string parentName; string address; int telNum, parentTelNum; bool deleted; }; Student_Record Student; #define STUDENT_NAME "Student.txt" Student_Record Employee; char choice; fstream *fs = NULL, …
I have me problem in finding the error in the folowing program.the program writes all the information in an encrypted form would you help me in making it readable please? the program is: [code]#include <iostream> #include<fstream> using namespace std; struct customer { string fname; string Lname; int id; }; int …
I have met a proplem in correcting the following file and please submit to me by correcting the errores and if you can please help me in sorting and updating this file #include <iostream> #include<fstream> #include<string.h> using namespace std; struct gum { string nam,fnam,typ_item,nam_pack,coun_cons; int tin_no,reg_no,tot_item,tot_pack; float weigh; }; void …
if i open a file ouput using [B]ofstream[/B] it's openmode is set to [B]ios::out[/B] and [B]ios::trunc[/B]... what I have to do, if I want to have only the ios::out flag...not the ios::trunc flag.Because, it is deleting all the previous contents. How do i undo this flag?or, what to do, if …
Does anyone know how to do the input focus fade in and fade outs that is seen at Apple's mobile me website at [url]http://www.me.com[/url]? I would love to implement it in my own login box.
Working ASA 5505 (just took info off of it just a moment ago). Looks like new, Includes power cable and console cable. I can throw in ethernet cables if you really need them. Has 2 ASDM versions as well as 2 versions of the asa ios as shown below. If …
IS IT POSSIBLE TO develop apple application ..where the application can directly accept received sms ... as a input to the application for further use in the application PLEASE GUIDE ME ..THE TECHNOLOGY I HAVE TO USE ACCEPT RECEIVED SMS FROM IPHONE
Hello Sir/Madam, I already downloaded a songs from Youtube converted it to mp3, then add it to my music library in Itunes. [COLOR="Red"]My problem is there is no artist name on each song that I downloaded[/COLOR]. [U]So what the Itunes do, is organized it by the Name of the songs[/U]. …
Developing for the iPad.. I'm having significant scroll view performance issues after: 1. creating a full screen modal view with a scrollview subview with content using 2. a view controller with a view of about 1800 px of hight containing approximately 23 UISegmentedBars (loaded from a nib) This setup obviously …
This year, STLP has added an Iphone App competition that I am interested in. However, I know little to nothing about creating one and could use any help, references, tutorials, etc. you have. Are there any sites or programs that I could use/need to make an Iphone App? [B]Note:[/B] Being …
When I included a dll file into my project, I used: [CODE] HMODULE g_hModule = GetModuleHandle( 0 ); HRSRC hRes = FindResource( g_hModule, MAKEINTRESOURCE( ID_DLL_MYDLL ), "ID_DLL" ); HGLOBAL hResource = LoadResource( g_hModule, hRes ); DWORD iResSize = SizeofResource( g_hModule, hRes ); BYTE* pData = ( BYTE* )LockResource( hResource );[/CODE] …
how do i embed sound so apple users can hear too?
Hello everyone, I am starting to run completely out of time on an assignment that is due tomorrow. No I'm not asking for free code here, because I already have it 99% complete. My assignment is to read a text file into an array and bubble sort them from highest …
[CODE] #include <iostream> #include <fstream> #include <string> #include <cmath> #include <cassert> using namespace std; class Payroll { public: int menu(); int option; int mainMenuOption(); int payrollMenu(); int employeeMenu(); int employeeOption; int payrollOption(); int anotherOption(); int exitOption(); int mainMenuOption; { system("cls"); cout << "\t\t Docket Materials Company\n\n"; cout << "\t\t Main …
[CODE]#include<iostream.h> #include<fstream.h> #include<string.h> class database{ public: virtual double store_data(void); virtual void save(ofstream &file); virtual double GetPassingMark(int pass); virtual void display(void); virtual void edit(void); protected: void data(void); //database(){cout<<"constructing";} //~database(){cout<<"destructing";} }; double database::store_data(void) { char code[100]; double totalmark,laboraty,exam,assignment,sum_assignment; int i,no_of_parts,a,pass; totalmark=0; for(i=0;i<7;i++) { cout<<"=======================================================\n"; cout<<"1.enter the subject code"<<i+1<<"\n"; cin>>code; cout<<"2.Enter no of …
[QUOTE]in the files in_stream2 and 4 they wont open correctly but the rest of them will and i cant move forward until i fix it. i dont even no where to start when trying to fix it could someone help?[/QUOTE] [CODE]ifstream in_stream; // reads itemlist.txt ofstream out_stream1; // writes in …
The End.