551 Topics

Member Avatar for
Member Avatar for happygeek

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 …

Member Avatar for AndreRet
0
712
Member Avatar for zathura

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++) { …

Member Avatar for sundip
0
156
Member Avatar for nateuni

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 …

0
65
Member Avatar for python01

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

0
62
Member Avatar for mtron10

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 …

Member Avatar for daviddoria
0
95
Member Avatar for Anthony Ajax

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 …

0
98
Member Avatar for anantk

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 …

Member Avatar for anantk
0
141
Member Avatar for ragoo

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 …

Member Avatar for Ancient Dragon
0
86
Member Avatar for onako

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 …

Member Avatar for onako
0
306
Member Avatar for Jsplinter

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 | …

Member Avatar for Jsplinter
0
2K
Member Avatar for Gekitatsu

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 …

Member Avatar for Gekitatsu
0
190
Member Avatar for PCBrown

[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 …

1
210
Member Avatar for therstonsplace

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 …

Member Avatar for therstonsplace
0
98
Member Avatar for alexgv14

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 …

0
66
Member Avatar for laughnan

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 …

Member Avatar for Kanoisa
0
4K
Member Avatar for VilePlecenta

[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 …

Member Avatar for mike_2000_17
0
367
Member Avatar for Glass_Joe

[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 …

Member Avatar for Agni
0
1K
Member Avatar for EricMack

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 …

0
275
Member Avatar for gallantlex

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 …

Member Avatar for gallantlex
0
985
Member Avatar for vishyw

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 …

Member Avatar for arithehun
0
75
Member Avatar for CatRambo

[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 …

0
601
Member Avatar for Emily Banks

[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 …

Member Avatar for virensanyaja
1
530
Member Avatar for PCBrown

[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 …

Member Avatar for Radovich
0
221
Member Avatar for happygeek

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 …

Member Avatar for ing
2
928
Member Avatar for happygeek

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 …

Member Avatar for lapunluyang
1
471
Member Avatar for CatRambo

[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 …

0
575
Member Avatar for CatRambo

[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 …

0
795
Member Avatar for PCBrown

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 …

Member Avatar for PCBrown
0
323
Member Avatar for VanessaRyan

[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], …

0
239
Member Avatar for eeeraser

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.:)

0
97
Member Avatar for k2k

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) …

Member Avatar for cguan_77
0
439
Member Avatar for flyingguitar

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

Member Avatar for flyingguitar
0
130
Member Avatar for coolblazer

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 …

Member Avatar for coolblazer
0
196
Member Avatar for Jackie91

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 …

Member Avatar for Jackie91
0
93
Member Avatar for Jackie91

[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, …

Member Avatar for ShadowScripter
0
118
Member Avatar for allonline

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 …

Member Avatar for goody11
-4
117
Member Avatar for allonline

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 …

Member Avatar for Taywin
0
167
Member Avatar for iamcreasy

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 …

Member Avatar for iamcreasy
0
234
Member Avatar for seanooi

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.

Member Avatar for Taywin
0
102
Member Avatar for petraarkanian

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 …

Member Avatar for masimk2003
0
351
Member Avatar for cthoes

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

0
69
Member Avatar for jovypinoy

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]. …

Member Avatar for MrBrillo
0
208
Member Avatar for atlex2

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 …

0
83
Member Avatar for salowe

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 …

Member Avatar for blud
0
161
Member Avatar for VilePlecenta

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] …

0
74
Member Avatar for mundee
0
72
Member Avatar for decoy684

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 …

Member Avatar for rurouni
0
344
Member Avatar for Justin9825

[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 …

Member Avatar for Salem
0
146
Member Avatar for karthz85

[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 …

Member Avatar for chiwawa10
0
145
Member Avatar for timbomo

[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 …

Member Avatar for timbomo
0
142

The End.