2,025 Topics

Member Avatar for
Member Avatar for while(!success)

Hey guys, I'm trying to make my first iphone application and have encountered some errors as expected. I am trying to uitlize UIAlertView to check if the setter for a password and email instance has been filled. If they are nil, then the alert should be invoked and display the …

Member Avatar for ChrisPadgham
0
141
Member Avatar for mitchfizz05

Hello all. I love iPod touches. I love iPads. I love iPhones. I love Windows PCs... I **HATE** macs! Is there ANY way to make an app for iOS without a mac? (I don't want to make a web app though, but even if you find a way for that …

Member Avatar for mitchfizz05
0
115
Member Avatar for tnavy99

Hey Everyone, I am including my current code. Can anyone give me advice on my middle function declaration? I rewrote this a few times and am now going on 12 hours spent on this one function alone! I am trying to just get it to display the last 10 lines …

Member Avatar for tnavy99
0
172
Member Avatar for cresenia1988

I'm currently doing an assignment and I would like to seek for help. I'm suppose to do a creation system where Option1: I would create a binary file(outfile.dat) from infile.txt. //below is the infile.txt F Indonesian Michael Chen F France Alain Pierre S Tan Eng Soon S Lee Ang Heng …

Member Avatar for mrnutty
0
196
Member Avatar for khan.irshad49

I am going to Develope an iOS Application in which i need to utilize my online Database. How can i fetch online Database and update that with the Database in my Application? At the same time i want to update the online Database through Admin Panel please Guide me a …

0
65
Member Avatar for Sudha Granger

void doc::add_title() { doc d; fstream f; int med_lic,flag=0; char new_title[20]; cout<<"\n\t\t\tADD NEW DOCTOR TITLE\n"; cout<<"\nEnter the Doctor's medical license number :\t"; cin>>med_lic; f.open("doctors.da t", ios::binary|ios::in|ios::out); while(f.read((char*)&d,sizeof(doc))&&flag==0) { if(d.ret_med_no()==med_lic) //d is an object of class doc { cout<<"\nEnter the new title:\t";//ret_med_no() is an accessor function used to return a value …

Member Avatar for Sudha Granger
0
288
Member Avatar for Sunshine2011

Hello, the following code doesn't work. The compiler gives the message: crosses initialization of 'std::ofstream filestream Maybe someone could explain the reason for this. switch(x) { case '7': ofstream filestream("Test.txt",ios::out|ios::app); //... break; case '8': cout<<This is a test."; break; }

Member Avatar for Ancient Dragon
0
93
Member Avatar for Sonia kh

I have mentioned the code for checker board made on visual studio .I dont know whats the problem with this code .. it just draw only one row of checker board on the drawing window :( help me [code] //#include <windows.h> // use as needed for your system //#include <gl/Gl.h> …

Member Avatar for raptr_dflo
0
472
Member Avatar for 9tontruck

Hi, I am making an image editing program with C and it will come with OpenCV library files. The problem is the program should be accessible from many different operating systems such as Windows, MacOS, IOS, Android - the point is that we want to avoid re-write same code in …

0
58
Member Avatar for 9tontruck

C programming in IOS? Hi, I am implementing an image editing program in C which should work both in Windows, IOS (iDevices). Ths point is that we do not want to re-write same code in Object-C or Xcode. Let's say that we have a C program that is just resizing …

Member Avatar for 9tontruck
0
311
Member Avatar for Alex Taylor

**SyncMate** is an app which can easily sync data on your Mac with multiple devices. **SyncMate** allows syncing Mac OS with Android and Windows Mobile devices, Nokia S40 phones, other Macs and Windows computers, iOS devices (iPhones, iPods, iPads), PlayStation Portable. SyncMate also supports Google and Dropbox accounts synchronization. With …

0
134
Member Avatar for sasho648

I've made some functions which can insert file inside a file but only with a small text files and they're very slowly. I will thank you if someone know a better way. Here are my functions: 1st struct Tree { char Symbol; Tree* next; } ; Tree* GetTreeHandler(unsigned long num) …

Member Avatar for sasho648
0
249
Member Avatar for Ribamar23

Hi all I want to begin developing apps to android and IOS (mainly android) after trying the mobile by conduit platform to create a app, I want to go further in developing apps.... and not be attached to a web service like the one provided by conduit. I downloaded and …

Member Avatar for peter_budo
0
195
Member Avatar for Legomani
Member Avatar for srini120

Hi, I am having problem in installing xcode.let me tell you the problem clearly, At first i have installed mac os 10.6.4 on intel desktop(hacked version) and then it installed xcode 3.2.1 with ios,and it worked fine without any problem everything was working properly such as audio,video,internet,xcode,simulator everything was worked …

0
126
Member Avatar for desup

Hi, I'm developing app for Smartphones (iOS, Android and Blackberry) I'm contacting my server for php script, with local server, everything works fine, but with remote, I'm still getting an error: **faultString="Channel disconnected" faultCode="Client.Error.DeliveryInDoubt" faultDetail="Channel disconnected before an acknowledgement was received** I have found out, this can happen if there …

0
165
Member Avatar for Bennigan88

Hey guys, my first post so forgive me if I balls up posting this code. Anyway, this is my program for calculating the indefinite integral of any programmer-defined function given two limits of integration. Any thoughts or comments would be appreciated! #include <iostream> #include <cstdlib> #include <ctime> #include <cmath> using …

0
53
Member Avatar for caltech

**Assignment:** > 1. Print the following heading at the top of the output page: Miser Corporation Payroll > > 2. Read an unknown number of employee data records as shown below. Each group of data will contain an employee's name, hours worked, rate of page and age. A typical group …

Member Avatar for Lerner
0
2K
Member Avatar for caltech

[QUOTE] 1. Print the following heading at the top of the output page: Miser Corporation Payroll 2. Read an unknown number of employee data records as shown below. Each group of data will contain an employee's name, hours worked, rate of page and age. A typical group of data will …

Member Avatar for BobS0327
0
493
Member Avatar for infogirl

I have written the program which fills an array of structures and then writes that array to txt file. The problem is that my program terminates in unusual way on windows vista command prompt line but dev-C++ shows no errors when compiles. I think that is related with the number …

Member Avatar for triumphost
0
233
Member Avatar for Rupindersingh

The following code is supposed to read records from input and store them in a file called file.dat. Then it is supposed to arrange these records in ascending order, but for some reason the program hangs at line no.61. Can someone please tell me what's wrong? #include <iostream> #include <fstream> …

Member Avatar for Rupindersingh
0
137
Member Avatar for Ashenvale

Can anyone post a safe and working jailbreak download site for iphone 3g iOS 4.2.1??

0
77
Member Avatar for PoolShark1

[B]Note: see lines 26-28 in ResistorMain.cpp file this is pertaining to my question[/B] Note: driver file ResistorMain.cpp was given to me as well as some of the functions in Resisitor.cpp. I keep running around this and cannot seem to get this one part to compile correctly. This code requires a …

Member Avatar for PoolShark1
0
201
Member Avatar for Sonia kh

I have mentioned the code for checker board made on visual studio .I dont know whats the problem with this code .. it just draw only one row of checker board on the drawing window :( help me //#include <windows.h> // use as needed for your system //#include <gl/Gl.h> #include<stdlib.h> …

0
148
Member Avatar for johanjvanr

Hi all I have to write code that ask the user to input a current (that will be split into two currents) and then the output from the code should display the two resulting currents given two input resistors. That part I can do but my problem is I have …

Member Avatar for johanjvanr
0
130
Member Avatar for caltech

[QUOTE] 1. Print the following heading at the top of the output page: Miser Corporation Payroll 2. Read an unknown number of employee data records as shown below. Each group of data will contain an employee's name, hours worked, rate of page and age. A typical group of data will …

Member Avatar for caltech
0
302
Member Avatar for sfurlow72

Alright, this isn't actually homework. I'm going back to school so I figured I would brush up on some programming before I go. I'll be taking the second course in a three course C++ programming sequence (starts with classes, recursion, etc.), so nothing too advanced yet. I wrote this program …

Member Avatar for ravenous
0
315
Member Avatar for gabriellogan

I want to modify this Radix sort C++ to work with strings only. I want to sort words not numbers. I don't know what to change or where to change it. Any suggestions? [CODE] // CS 9F // March 3, 2012 // Include files #include <iostream> // used for cin, …

0
106
Member Avatar for rrrose16

please find what error in this program.while run it wont display the output #include<iostream.h> #include<fstream.h> #include <stdio.h> #include<conio.h> #include <sys\stat.h> class file { private: int i; int alphabet; int space; public: void alphabets(); void spaces(); }; void file::alphabets() { alphabet=0; fstream f; char s; f.open("NNEWFILE.TXT",ios::in|ios::app|ios::binary); f.get(s); while(s!=EOF ) { if(i>63&&i<91||i>96&&i<123) …

Member Avatar for ravenous
0
181
Member Avatar for modaresi

Here is the program that I want to create: Calculate the grade point average for a student whose information is stored in a file named prog4Data.txt. The file contains the following information: line 1: student’s name in format First Name Middle Name (optional) Last Name – names are separated by …

0
89
Member Avatar for kaosuvls

Ok Guys this is what I have to do: o Provide six test plans to verify the logic within the program. o Plan 1 must display the proper information for employee #1 with overtime pay. o Plan 2 must display the proper information for employee #1 with no overtime pay. …

0
79
Member Avatar for delgadough

Hey all, I am working on my first C++ prog and I'm having an issue on my output. I compiled the code ok but when i try to execute, the output comes up with weird numbers and letters where it is supposed to display the "photos in"[CODE]// Name: Danny Delgado …

Member Avatar for delgadough
0
114
Member Avatar for Candace Parker

Hello everyone! I have here a code with a random-access file that lets you delete and update any information in the file. Please run the file to see what I'm talking about. [CODE] #include <iostream> #include <fstream> #include <iomanip> #include <string> using namespace std; #include <cstdlib> int choice; void displaysmenu(void) …

Member Avatar for Moschops
0
3K
Member Avatar for coxxie

Need some help. My game locks up when you go to load file and it just locks up. Please help. [CODE] /* WumpusGame header file Contains the WumpusGame Class. This is the main workhorse of the program, and contains all of the global data, including the master world map. WumpusGame …

Member Avatar for coxxie
0
3K
Member Avatar for vlaskiz

Currently working with graphical interface and dynamic object arrays, Got two text files with kinda same data on it, my current task is just to read and output that data. Problem is most likely either with my read function or function to determine how much data there is in files …

Member Avatar for vlaskiz
0
612
Member Avatar for mweshk

Dear Gurus, I am having this inventory program but can not give me the desired results.What am I doing wrongly? I want a user to enter and display results. [CODE] #include <iostream> #include <fstream> #include <iomanip> #include <cctype> using namespace std; const int DESC_SIZE = 51; // holds inventory description …

Member Avatar for Ali_2101
0
690
Member Avatar for AlexTrott

Hello! I've been looking into using listbox as for part of my assignment and i was wondering if you guys could help point me in the right direction of what to look into next. I know how to make a list box, add objects to the list, modify, and delete …

Member Avatar for manojkumar2004
0
196
Member Avatar for randrum1707

Hello everyone, I'm having a problem with an assignment that I'm not sure how to fix I'm getting the following error: accountdb.cpp:55: error: cannot convert std::string to const char* for argument 1 to int strcmp(const char*, const char*) Here is my header file: [CODE] #ifndef ACCOUNTDB_H #define ACCOUNTDB_H #include "account.h" …

Member Avatar for randrum1707
0
1K
Member Avatar for dwiniers

Hello C++ master out ther i need help guys this exercise is running but the desplay record is in row i want it in column. Thanks in advance! [CODE]#include <iostream> #include <fstream> #include <cstdlib> #include <string> #include <iomanip> using namespace std; char book_no[5]; char title[30]; char author[20]; char publisher[30]; char …

Member Avatar for dwiniers
0
223
Member Avatar for KRUX17

Hello, I'm working on a project and the value of num is AdditonalAdultQty + AdultQty (AdditonalAdultQty and AdultQty will be inputted from the user) Then those two values will be stored in the text file. When the program runs again and a different user will input how many tickets he …

Member Avatar for KRUX17
0
170
Member Avatar for Ahmed2

Hi there I've got a problem with functions, where it seems that function call return zero instead of the actual variable value, I will appreciate any help from you guys. I will post the major code parts because the program is big. I get the totallength variable value right but …

Member Avatar for Ahmed2
0
239
Member Avatar for xnycdplx

Hi I'm trying to read in actors from a file that I got off IMDB and I wanted it to be searchable to whenever the user enters an actors name, the program would output the movies the actor has starred or been associated with. I've gotten the search function to …

Member Avatar for Lerner
0
829
Member Avatar for MasterHacker110

I have wrote this program in C++. But it doesnt have the output that it should. Instead of putting out +-++-+ it puts out ++-+++-+++++++-+++-+++--+++. That is just an example it will ofcourse have defirent output but it makes more characters then there is in the origanal string when i …

Member Avatar for vmanes
0
188
Member Avatar for Xenix-Hero

I have looked at several of similar topics and compared them with my code, but I don't see any of the same problems. Can someone else tell me if they see something wrong? Dev-C++ says "expected primary-expression before 'int'" and "expected ';' before 'int'" and that they are on line …

Member Avatar for Xenix-Hero
0
2K
Member Avatar for avenger123321

[QUOTE]I was given this project as a part of my school assignment, please note that I have very limited knowledge of the language, and my teacher won't allow using anything other than what is used in the following code (Crappy 12th grade curriculum:yawn:)... Here is my complete code, its in …

Member Avatar for avenger123321
0
359
Member Avatar for Smartflight

We have been assigned to make a program for a bank using data file handling, as our project. I am having some trouble at this point... the last object written in the file is printed twice and I've no clue as to why. Case for display: [CODE]file.open("Records.dat", ios::in | ios::binary); …

Member Avatar for WaltP
0
558
Member Avatar for Jimakoss

hello people of DaniWeb! This is my first post.I gotta tell you that my head is going crazy lately.I am 18. So what's the case? Alright last year I gave some really really really hard exams in my country Greece.I suceeded. I got into the university at the Department of …

Member Avatar for WolfShield
0
315
Member Avatar for ahoysailor

Hi, I'm having a problem with taking the user input from a richtextbox in Unicode and writing it to a Unicode text file. I'm able to read a different Unicode file and write it to the new file, but when it comes to writing the contents of the richtextbox to …

Member Avatar for ahoysailor
0
264
Member Avatar for ilaunchpad

The app I'm currently working on is suppose to overlay a square image. The square image should overlay on preview camera screen wherever the user touches the screen. And it should also appear on the image captured by the user. I'm having hard time figuring this out. Guidance would be …

0
142
Member Avatar for Youg

Although, I could easily state quite a few people will be bored with these, I couldn't find someone else with my problem. The code below runs, though doesn't decrypt. It gets to the first "Error: Unidentified Character" and ends. Any help great appreciated. [CODE]#include <iostream> #include <string> #include <array> #include …

Member Avatar for Youg
0
248

The End.