2,025 Topics

Member Avatar for
Member Avatar for juliermills

Dropbox’ iOS app is having some serious issues lately. With its recent update to version 1.5, users have been reporting a rash of password errors and black screens upon logging in. The supposed fix, released today (version 1.5.1) has solved the problems for some, though most affected users are reporting …

Member Avatar for LastMitch
0
152
Member Avatar for Zaina jee

I am new to filing and have not much idea about it. I have written a code that tries to read an ASCII .pgm file named pic.pgm and writes it as mypic.pgm file: #include <fstream> const int MAXHEIGHT=221; unsigned char *bitmap[MAXHEIGHT]={'\0'} ;// pointers to each pixel row int main() { …

Member Avatar for Zaina jee
0
634
Member Avatar for darylglenng

package wow; import java.io.PrintStream; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Scanner; public class Wow { String question; String answer; int correct=0, number=15; Wow[] quizBank = new Wow[15]; List<Wow> quizList = Arrays.asList(quizBank); public static void main(String[] args) { Wow bank = new Wow(); bank.bankList(); bank.askQuestion(); } //end main public void …

Member Avatar for M4trixSh4d0w
0
342
Member Avatar for ptduran

Guys.. Is there any app(iOs/And) to find the specific location of a user ? Or is there a way I can find a specific location ? Please let me know.

Member Avatar for raavn111
0
223
Member Avatar for bantizeal

I have I have iPhone 4S with iOS 6.0, I think DO Not Disturb is not working in my phone. When i turn it off nothing happens.

Member Avatar for minimee120
0
189
Member Avatar for Valiantangel

Hi I know couple of programming languages. I have been juggling for months with the question, if its worth taking a Cert in Android application development and /or IOS application development. I have asked around and got responses such as its a fad, tech will change in a few years …

Member Avatar for peter_budo
0
207
Member Avatar for boris90

Hi all, I have this if condition which never seems to be true, but should be! It's the part in the code where I pull the String^ from textboxes (the regUsername textbox) and compare the inputted username with the first word from every text file line. So every text file …

Member Avatar for Banfa
0
193
Member Avatar for Hey90

I have created a basic object oriented database of a list of shoes containing the shoe name, number and shoe size. I am trying to sort the list of shoes alphabetially by name and by shoe size. I have the following code: Shoes.h: #include <iostream> #include <fstream> #include <string> #ifndef …

Member Avatar for Hey90
0
4K
Member Avatar for anjerodesu

Hello everyone, After a while of being a lurker, I decided to register and be part of a great community. I'm Angelo, an iOS and Web developer from Philippines. Hoping to learn more while sharing my own knowledge and experiences to the community. :)

Member Avatar for Everyauction
0
189
Member Avatar for eburlea

Hi all. I have got a code that detects the most mobile devices except Samsung Galaxy S3 (there may be other exceptions as well). Please advice how is it possible to detect the device Samsung Galaxy S3. My code is: <script type="text/javascript"> var isMobile = { Android: function() { return …

Member Avatar for eburlea
0
531
Member Avatar for Dman01

Hi guys. I want to write a keylogger which logs all strings I copy via <CTRL>+<C> My problem is that I loose track of interessting links or code-snippets when overdoing it. So I want a basic keylogger which notices every hotkey event and copies the content in the clipboard into …

Member Avatar for dospy
0
231
Member Avatar for silvera

#include<iostream.h> #include<fstream.h> #include<conio.h> #include<process.h> #include<stdio.h> #include<string.h> int access=0; // for accessing data modifier functions int report_s=0; int report_u=0; class element { int at_no; float mass_no; char name[15]; char symbol[4]; int group,period; //for displaying the table public: void input() { cout<<"enter elements name \n"; gets(name); cout<<"enter its symbol \n"; gets(symbol); cout<<"enter …

Member Avatar for Ketsuekiame
-2
216
Member Avatar for Petcheco

Hello everyone. I saw a post of one of our friends here about a problem he found of the SPOJ website. So I went there to check it. I found it to be very cool; I started to do the exercises but when I got in the 2nd, a prime …

Member Avatar for Petcheco
0
207
Member Avatar for callumbagshaw

Hi guys, I've searched these forums and everywhere else... and I can't understand why this won't work when it works for other people... Here are my two error messages: Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\Assignment\inc\ManageStock.php on line 24 Notice: Undefined index: fileField in C:\xampp\htdocs\Assignment\inc\ManageStock.php …

Member Avatar for callumbagshaw
0
148
Member Avatar for pivren

consider the following program #include<iostream.h> #include<fstream.h> void main() { int no; ifstream fin; ofstream fout; fout.open("create,dat",ios::app); fout<<"What is your fav. number"; fin>>no; fout<<no; fout.close(); } NOW HERE IS THE PROBLEM WHILE THE PROGRAM IS RUNNING PERFECTLY AND THE NUMBER IS BEING STORED IN A .DAT FILE BUT THE NUMBER IS …

Member Avatar for mrnutty
0
337
Member Avatar for mefju

Hi This is code: #include <iostream> #include <windows.h> #include <fstream> using namespace std; LRESULT CALLBACK LowLevelKeyboardProc( int nCode, WPARAM wParam, LPARAM lParam); int main() { fstream plik; HHOOK hKeyboardHook =0; plik.open("keys.txt", ios::out); plik.close(); return 0; } LRESULT CALLBACK LowLevelKeyboardProc( int nCode, WPARAM wParam, LPARAM lParam) { KBDLLHOOKSTRUCT *pKbdLLHookStruct = (KBDLLHOOKSTRUCT …

Member Avatar for Suzie999
0
120
Member Avatar for mefju

Hi I have a keylogger code which writes the keys but does not write capital letters and such that:! @ # $% ^ & * () + Someone help me with this? Here is a keylogging code: #include <iostream> #include <windows.h> #include <fstream> using namespace std; ofstream out("plik.txt", ios::out); LRESULT …

Member Avatar for Ancient Dragon
0
244
Member Avatar for MasterHacker110

So if you want to send a text file to some you would use: Client: char* rbuffer; //will save file content here ifstream file; file.open(filepath, ios::in | ios::binary | ios::ate); //open file if(file.is_open()){ file.seekg(0, ios::end); size = file.tellg(); //file size! cout << "The file size is " << size << …

Member Avatar for Nick Evan
0
338
Member Avatar for Dewey1040

So I'm using the >> operator to read objects from a file one by one. I am simultaneously counting the objects and need to read them again one by one to print from a certain point. inFile.clear(); inFile.seekg( 0, ios::beg); Doesn't seem to work for me, and I assume it …

Member Avatar for CGSMCMLXXV
0
155
Member Avatar for edivadin

i want to create a warehouse program for school using the random access file management. i built a class called product(prodotto) with many private var and i must create a new record. The function checks if the product already exists with the seekg pointer and reading the file. After u …

Member Avatar for Ancient Dragon
0
134
Member Avatar for Hayati_mahamad

#include<iostream.h> #include<fstream.h>//header file #include<string> #include<stdlib.h> void main() { fstream pasca; pasca.open("C:evaluate.dat",ios::out); fstream display; paparan.open("C:evaluate.dat",ios::in); int lecturer_code; int course_code; char gred1, gred2, gred3, gred4, gred5; float point1, point2, point3, point4, point5; float total_point1, total_point2, total_point3, total_point4, total_point5; char user; if(!pasca || !display) { cout<<"File cannot open"; exit(1); } cout<<"Enter Lecturer code …

Member Avatar for Hayati_mahamad
0
195
Member Avatar for triumphost

I'm diving into various Image reading and writing methods and writing my own. I decided to tackle TGA/Targa. I got reading working flawlessly. It reads both compressed and decompressed .TGA files. I got writing decompressed .TGA files working. However, I cannot figure out how to write Compressed .TGA files. I …

Member Avatar for triumphost
0
1K
Member Avatar for triumphost

This may be a long post but I really need to know how to Convert between the two image formats and amonst themselves as well. Here goes: I have a struct like the one below that holds all pixel information: typedef union RGB { uint32_t Color; struct { unsigned char …

0
339
Member Avatar for aleksxpo

Hello , i am new to this forum/community and i came here to get some help with programming. So i have some solid basic knowledge in Python and Pascal .... but i want to learn some languages and skills that will help me earn money , i know i also …

0
50
Member Avatar for aslam.junaid786

**CODE** #include "stdafx.h" #include<iostream> #include<conio.h> #include<string> #include<fstream> using namespace std; //---------------------------Function Prototypes----------------------------// void titleheader(); void menu(); void addbook(); void display(); //--------------------------Main Function---------------------------------// int _tmain(int argc, _TCHAR* argv[]) { int op; titleheader(); menu(); cout<<"\nPress option key to activate the required function: "; cin>>op; switch (op) { case 1: { system("cls"); titleheader(); …

Member Avatar for aslam.junaid786
0
928
Member Avatar for aslam.junaid786

CODE #include "stdafx.h" #include<iostream> #include<conio.h> #include<string> #include<fstream> using namespace std; //---------------------------Function Prototypes----------------------------// void titleheader(); void menu(); void addbook(); void display(); //--------------------------Main Function---------------------------------// int _tmain(int argc, _TCHAR* argv[]) { int op; titleheader(); menu(); cout<<"\nPress option key to activate the required function: "; cin>>op; switch (op) { case 1: { system("cls"); titleheader(); …

Member Avatar for aslam.junaid786
0
213
Member Avatar for HunainHafeez

Jail Broken iphone 3gs , successfully connected to itunes 10, ports are working much master, charging ok had 4.1.1 Ios, now download ios 5.1.1 upgrade , trying to update ios to 5.1.1 via restore of iphones, in the middle of extraction it says UNKOWN ERROR : ERROR 3194 why ?

Member Avatar for justinkut
0
250
Member Avatar for Dane2259

I have been walking through the tutorial "second ios app" on apple's developer website and I am getting a warning from the code that is implemented in the "Get the User's Input" section at the bottom of this link https://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/SecondiOSAppTutorial/CreatingAddView/CreatingAddView.html#//apple_ref/doc/uid/TP40011318-CH6-SW1 In the implementation of the done method there is the …

Member Avatar for Dane2259
0
133
Member Avatar for muhammad.khan.3576

#include <fstream> #include <iostream> using namespace std; char input_1[256]="1.wmv"; char output_1[256]="2.wmv"; char output_2[256]="3.wmv"; void Append() { ofstream write(output_1,ios::binary|ios::app); ifstream read(output_2,ios::binary); read.seekg(0,ios::end); int size_=read.tellg(); read.seekg(0,ios::beg); char* in=new char[size_]; read.read(in,size_); write.write(in,size_); write.close(); read.close(); } void Split(){ int size_; ifstream read(input_1,ios::in|ios::out|ios::binary); if(read.is_open()) { read.seekg(0,ios::end); size_=read.tellg(); const int half=size_/2; read.seekg(0,ios::beg); char* file_content_a=new char [half]; …

Member Avatar for Ancient Dragon
0
226
Member Avatar for 123386761

Hello! I'm new here, so correct me if this is the wrong location... but I'm trying to make a program for the Minecraft server I'm on, and it requires that if someone wants to make a map that is used on the server, that there's a .xml file that shows …

Member Avatar for 123386761
0
188
Member Avatar for Nethran

First off, some setup. I'm doing the final course project for my C++ class, and this is the first time I've had trouble. The things I'm supposed to be doing in this assignment seemed a lot simpler before I started working on this, and now I'm just hitting walls. The …

Member Avatar for Nethran
0
355
Member Avatar for bipinbaglung

NavigationController.h #import <UIKit/UIKit.h> @protocol NavigationControllerDelegate; @interface NavigationController : UINavigationController<UINavigationControllerDelegate> @property (nonatomic , assign)id<NavigationControllerDelegate , UINavigationControllerDelegate> delegate; -(void)cancelImagePicker:(id)sender; @end @protocol NavigationControllerDelegate <NSObject> - (void)mediaPickerController:(NavigationController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info; - (void)mediaPickerControllerDidCancel:(NavigationController *)picker; @end NavigationController.m #import "NavigationController.h" #import "DataViewController.h" @interface NavigationController () @end @implementation NavigationController @synthesize delegate; -(id)init{ UIViewController *controller = [[DataViewController alloc]initWithNibName:@"DataViewController" bundle:nil]; …

0
104
Member Avatar for danielkull

Hi, I have a function which returns a pointer to array with data: `float * EZ_MATH::EZ_GE_BY_ME() { ... }` Now, how can I access this data? This doesnt work: `float * memA = temp_m.EZ_MATH::EZ_GE_BY_ME();` `ofstream output("out_file", ios::out);` `output << memA[0] <<endl;` `output << memA[1] <<endl;` Help!

Member Avatar for ravenous
0
288
Member Avatar for Super_android

Hey there, my code is nearly perfect, but I need help with my input for a value. here's the snippet of my code: cout << setw(15) << right <<"$" ; double Amount; input >> Amount; cout.setf(ios::showpoint); cout.setf(ios::fixed); cout.precision(2); cout.width(8); input.ignore(); cout << Amount << endl; i know that input puts …

Member Avatar for Ancient Dragon
0
152
Member Avatar for rotten69

Hi everyone, I am trying to compile a sencha touch 2 project to build an android app but it doesn't compile fully and successfully. When I run this command, `sencha app build native` targeting android/iOS platform. The error I get is as follows below: [WRN] [ [1000] : Yui Compressor …

Member Avatar for rotten69
0
377
Member Avatar for kc.smith.100

We are developing a mobile payment system which enable our Agents to collect cash (in person) from our members and update our online database via PHP/MySQL. Our Android Smartphone Agents CAN send an instant SMS receipt to the Member at the time of payment (despite lots of expert advice saying …

Member Avatar for LastMitch
0
277
Member Avatar for milan2011

Hi, i am trying to make a dictionary which takes an english word and its meaning in spanish in the following format from an input file. <english>:<spanish> i also need to add words manually,remove,search,print ,and store new tree in the same file by updating the file. my up() and load() …

Member Avatar for jrobertomar
0
2K
Member Avatar for kingrev

Hi everyone I hope you guys could give me a hand with this project, I am not an expert of c++ and i am really struggling with this. here is the problem: I been asked to make a programn as follows: A new railway journey planner is required to help …

Member Avatar for deceptikon
0
260
Member Avatar for harris24

Error 6 error C2143: syntax error : missing ';' before ')' c:\users\datacompress.cpp 214 1 Error 8 error C2039: 'putSymbol' : is not a member of 'std::basic_ofstream<_Elem,_Traits>' c:\users\datacompress.cpp 291 1 Error 9 IntelliSense: class "std::basic_ofstream<char, std::char_traits<char>>" has no member "putSymbol" c:\users\datacompress.cpp 291 12 #include <fstream> #include <string> #include <iostream> #include <ostream> …

Member Avatar for harris24
0
350
Member Avatar for PrimePackster

Well Guys! I was learning how to read and write class objects from & to file respectivily. And here is a small code that i made...... As far as the code goes its all well.... And i am getting what i want.... But what i want to know is, **where …

Member Avatar for Ancient Dragon
2
193
Member Avatar for eawade

I am having the most annoying situation. Ok, here goes. I am using a javascript based sliding menu for a mobile app. The "slider" works just like Facebook mobile, where u can click the button to show the menu on the left and click it again to close the menu. …

0
140
Member Avatar for acerious

OK, my code is very long. But this one is a little tricky so just bare with me here guys. What my program does is generate a text file with random numbers, for eg: 123 1234 12345 123456 And the program takes in that file and puts the random data …

Member Avatar for acerious
0
313
Member Avatar for adams161

I've been tinkering around with my first IOS project that basically is a chat client right now. It connects to a server and lets you read chat and send chat. I want to next let the user isolate some chat in another page on the story board. They might choose …

0
76
Member Avatar for GolDRoger00

i read from a file okay for each line i save the respective data into their respective variables i output each variable to see if the data has really been saved.(is has) but when i try using the if condition to check the variable and perform a function it doesn't …

Member Avatar for Ancient Dragon
0
127
Member Avatar for panatda.tokhume

#include<iostream> #include<fstream> #include<sstream> #include<stdlib.h> #include<math.h> #include<iomanip> using namespace std; int main() { int NUM_Object,NUM_Medoid; cout<<"How many menus u have?"<<endl; cin>>NUM_Object; cout<<"How many Medoids(k) do you want?"<<endl; cin>>NUM_Medoid; ifstream myfile("Nutrient.txt", ios::in); int i,j,k,count; count = 0; float TEMP_num; double Object[NUM_Object][5]; double Medoid[NUM_Medoid][5],Medoid_New[NUM_Medoid][5],SUM_Distance[NUM_Medoid],SUM_Pij[NUM_Medoid], SUM_P[NUM_Medoid],SUM_Distance_New[NUM_Medoid],SUM_Pij_New[NUM_Medoid],SUM_P_New[NUM_Medoid]; long double Distance[NUM_Object][Object]; for(i=0;i<NUM_Object;i++) { for(j=0;j<NUM_Object;j++) { Distance[i][j] …

Member Avatar for panatda.tokhume
0
189
Member Avatar for QuantNeeds

I am not sure why this is occuring. I declared these functions in the header file and it is defined them in the .cpp file but in the main function it does not recognize them. Did I forget something basic or do something illegal? The errors: : error C3861: 'createAndInitializeTextFile': …

Member Avatar for fiqa92
0
4K
Member Avatar for dot_binary

Hello! I'm trying to get the contents of a binary file into a char array, my read function is in main.cpp, in the header file is referenced as char fileio(char * bufferZ) , and is called in another .cpp file. The problem is , the code in the function cant …

Member Avatar for dot_binary
0
260
Member Avatar for Vegito1991

This is my code class AddResult { private: string ar_stu_id, ar_mod1, ar_mod2, ar_mod3, ar_mark1, ar_mark2, ar_mark3; public: void addresult(); AddResult(string, string, string, string, string, string, string) { cout<<ar_stu_id <<" " << ar_mod1 <<" " << ar_mod2 <<" " << ar_mod3 <<" " << ar_mark1 <<" " << ar_mark2 <<" " …

Member Avatar for Vegito1991
0
125
Member Avatar for Vegito1991

i want to replace a certain text in text file and i can't figure it out the code that need to perform this function. example in my text file have 12345 hello 789 morning 1234 good text i want to edit morning text to replace night result : 12345 hello …

Member Avatar for Vegito1991
0
28K
Member Avatar for Rizi004

Hi i m developing app for IOS and Andriod in HTML5/CSS3 JAVASCRIPT. My header and footer are fixed now i want the middle part is scrollable, so bascially the middle scrolling is not working on IOS and Andriod, Please tell me how i can make it scrollable. Waiting for your …

Member Avatar for Rizi004
0
104

The End.