2,025 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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; } | |
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> … | |
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 … | |
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 … | |
**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 … | |
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) … | |
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 … | |
How to set views using frame for both Iphone and Ipad | |
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 … | |
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 … | |
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 … | |
**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 … | |
[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 … | |
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 … | |
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> … | |
[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 … | |
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> … | |
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 … | |
[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 … | |
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 … | |
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, … | |
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) … | |
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 … | |
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. … | |
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 … | |
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) … | |
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 … | |
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 … | |
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 … | |
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 … | |
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" … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
![]() | 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); … |
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 … | |
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 … | |
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 … | |
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 … |
The End.