1,605 Topics
![]() | |
Hi all I just singed in after 3 days of reading others posts and try to find a selution but i am lost !! My problem is kind of not new on my , but i thought when it started it is because of the internet connection that i had … | |
Hi i have my code that finds every instance of my search criteria in a text file and tells me the position in the text file it is located at. The next step i want to do is stream the bytes that follow each instance of my search criteria into … | |
i m working on a small application its main function is to create a album and then add photos in the album. i m using tree view for creating album and photos i m using tree root as album and nodes as photos. i have to also show photos when … | |
i m working on a small application its main function is to create a album and then add photos in the album. i m using tree view for creating album and photos i m using tree root as album and nodes as photos. i have to also show photos when … | |
Hi all, I am new here and to programming and i am currently trying to build an interactive form for my works. I have my form which at the moment saves text from textbox1 to a .txt file and also i have succeeded in being able to read this back … | |
Hi. My computer has been skipping ever since I installed Utorrent and tried to dload some movies via the p2p networking. I ran a scan of my computer with Ad-Aware and Hijack this. Here are the logs for each. Can someone please help me with this? Thanks Ad aware: Ad-Aware … | |
More recently, I've had the problem of the 3500 pos files in my document folder and red x on my C: drive. There's also 2 suspicious desktop icons I can't delete. I've already run AVG (which detected a dozen or so viruses/trojans) and BitDefender, but something's wrong and neither will … | |
Firstly, I'd like to express my gratitude to Crunchie and the rest of the crew here that helps solve problems for people like me. I haven't encountered a pc-help site that's been so welcoming and direct. I have a PC that I used very often until about a year ago, … | |
i'm working on a banking system.....m stuck here....i dont know how to do this: 1.Their account should already have an amount of money for further processing. 2.All users are able to perform transactions such as withdrawal, deposit and check balance etc. 3.Each user will have a file or record to … | |
[code] void ChangeAddress() { char searchaddress; char newaddress; cout << endl; cout << "Please enter street name to be changed "; cin >> searchaddress; for (int i=0; i<numrec; i++) { if (strcmp(SubscriberID[i].Subscriber_Address.streetname, searchaddress) == 0); { cout << "Enter the new street name: "; cin >> newaddress; } } } … | |
hi, i am unable to read the newline using stream reader from a text file where it contains some names and their account ids. i need to copy each line to a string how can i change to next line. how can i know when end of file is reached??????? | |
Just for the heck of it I'm building a graphic editor, mainly to see how far I can take it and how much I can learn as I go. I'm having a problem with Image.Save. First I have an MDI parent form from which graphic files can be opened. After … | |
What is wrong with this function? [code]// /////// // void GetData(int(IDs)[], float(Scores)[][4], int &i) { //GIVEN: One blank ARRAY, one blank 2D ARRAY, & a index variable. //TASK: Function retrieves data from open stream into multiple functions. Stores ID into one structure and all of the student's test grades into … | |
Please someone help me with this code. I keep getting an exception saying Unable to read beyond the end of the stream. What I am trying to do is reading a binary file that has a single data type and then writing them into a file. Any help is appreciated. … | |
Hi, I am designing a code breaker program that works out letter frequency in a text file and tries to codebreak using the frequency that letters appear in the english alphabet, however at the moment it is only outputting whatever is at the end of the decry array. Thank you … | |
I am currently taking C++, and I just want to know why it says,"Illegal Else without if," and I would like to know how to fix it so I will not encounter this problem again. I would like to know where to put the brackets, "{ " Here is the … | |
am currently workin on RFID Technology and am stuck with the socket connectivity... there is a client which is an EXE file called RFID.exe now we need to create a server program to connect the client n read the msgs sent by the client application. in the server program v … | |
instructions [CODE] Skills needed: while loop, logical expressions, nested if-else statements Your assignment for MP3 is to calculate the monthly bill for a cell phone user given the following rate structure. Note that this is a simpler structure than in real life – you do NOT have to be concerned … | |
Back to where I was, now I'm learning how to use fgetc properly. Does fgetc read in a character? If so I can't find my error in my code and I'm getting a a segfault. Can you help fix it and explain why it doesn't work? Thanks [code]#include<stdio.h> //declare variables … | |
In C++ on MS Windows XP. Actually using MS Visual C++ in VS 2003 .net (v7.1) and VS 2005, on XP Pro with SP2. How can I find the full pathname which is attached to a file stream? I have code like: [CODE]bool DataModel::readGrades(char* filename) { std::ifstream tablestream(filename); if (!tablestream) … | |
Hi All, Please bare with me as I'm new to this forum and to web design. I was asked by my boss to design adn upload a new website via ftp, which I can do. I realised this morning that it is not as simple as just that! Basically, here's … | |
As i knew the <stdarg.h> header should have the following function int vfscanf(FILE *stream, const char *format, va_list ap); but under Visual Studio 2005, after including the header and calling the function i get 'vfscanf': identifier not found if the function is not declared, can u tell me some simmilar … | |
Tried to zip multiple files on the fly in java servlet with zip package (ZipOutputStream), so users can download the zip file by calling the servlet. It works fine for small files. But occasionally the browser stops the download before completion when users invoke the servlet action, and the zip … | |
both my dvd drives are not working...device manager says devices working properly but nothing happens..dvd's or cd's dont play.. below is the log.. Logfile of HijackThis v1.99.1 Scan saved at 9:31:45 AM, on 1/31/2008 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180) Running processes: C:\WINDOWS\System32\smss.exe C:\WINDOWS\system32\winlogon.exe … | |
Hi all! I've been searching the internet and various C++ books for quite some time now, and I appear to have reached a brick wall. As suggested in a given algorithm written by my professor, during input validation, if the stream goes into failure, I am to "reset cin" followed … | |
hey im just wondering like how would i make it die when its not application/ocet-stream? [CODE]$ip = $_SERVER['REMOTE_ADDR']; $files = $_FILES["file"]["tmp_name"]; $file = rand(10,100) . $_FILES["file"]["name"]; if ((($_FILES["file"]["type"] == "application/octet-stream")) && ($_FILES["file"]["size"] < 400000)) { if ($_FILES["file"]["error"] > 0) { echo "Return Code: " . $_FILES["file"]["error"] . "<br />"; } … | |
Hello, I am having some trouble traversing backwards through a double linked list. Basically this program pulls words from a text file (I have attached the file I am using), corrects the words and stores them in an array of pointers (one pointer per letter of alphabet) of double linked … | |
Hi, I have two things that if I can do one I won't need to do the other, so whichever is easiest you guys answer me either way. What I am trying to do is get text from an email and download it into a text file on my computer. … | |
Hi I'm trying to compare two files names using the function given below. The files to be compared are named as xxx_yyy_abc_def_.rtf && xxx_yyy_abc_def_.html The extentions and the underscores are removed from the file names and then stored in two different arrays. So the file names stored in arrays are … | |
Hi to all. I need help. Quick and easy question. Is it possible to randomize and than delate stream of character pairs(one by one) from the input file? How can I do that? The input is a stream of character pairs that represent playing cards. For example: 2C, 3H, JH... … | |
Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 9:52:17 PM, on 1/25/2008 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180) Boot mode: Normal Running processes: C:..WINDOWS..System32..smss.exe C:..WINDOWS..system32..winlogon.exe C:..WINDOWS..system32..services.exe C:..WINDOWS..system32..lsass.exe C:..WINDOWS..system32..svchost.exe C:..WINDOWS..System32..svchost.exe C:..Program Files..Common Files..iS3..Anti-Spyware..SZServer.exe C:..WINDOWS..Explorer.EXE C:..WINDOWS..system32..spoolsv.exe C:..Program Files..Digital Media Reader..shwiconem.exe C:..WINDOWS..system32..spool..drivers..w32x86..3..hpztsb09.e xe C:..Program Files..Common Files..Real..Update_OB..realsched.exe … | |
I am having an issue with IE opening by itsefl and also something that pops up that says Update.exe. I have 3 gigs of ram and plenty of HDD space and it has been defragged. Here is a Hijack this log from the newest one: Logfile of Trend Micro HijackThis … | |
Hello, I am having trouble creating a double linked list within an array of pointers. Right now actually, I am just trying to make a linked list. Line 267 is where I get a complier error. I understand the error (cannot convert `std::string' to `wordList*' in assignment ), but I … | |
I am doing a quiz where the user can choose from 3 different quizzez. My tutor told me to use binary files to store the questions. I have succesful done this. The answers are stored in an array. My problem is with a for loop that i have done, to … | |
Hi All, I have been trying to find out how to hide the save button in a file download dialog box in a aspx page.I open the attachment like this : byte[] byteFileContent = (byte[])objContentTable.Rows[0]["theContent"]; Response.ClearContent(); Response.ClearHeaders(); Response.Clear(); Response.ContentType = "application/octet-stream"; Response.AddHeader("Content-Disposition", "attachment;filename=Chapter.pdf"); Response.BinaryWrite(byteFileContent); Response.End(); i get the file download … | |
Here is my scenario i have a file 2000 bytes long. I want to read bytes 500 - 1500 so that i have the middle 1000 bytes stored. I then want to disect the 1000 bytes into 20 bte chunks and preform calculations on ever 20 byte sectiong until the … | |
Hi my problem is as follows. I want to stream a certain amount of bytes from usbimage2.txt until my buffer is full then write them to new.txt. My first problem is my buffer. If i give the buffer a value of say '4' it compiles with no errors. However i … | |
Good Morning, I am thinking of letting users upload files to my website. I already have a php script to allow this which will be the back-end of a flash GUI. I have made the .swf which would allow the browser to find files with only the specified file-types for … | |
Hi i want to use create file to get a handle on my USB device so that i can stream from it. However i am having problems. To me i appear to have the syntax correct but i get errors returned in the form of "Undefinded symbol HANDLE" "statement is … | |
[code=c++] #include <iostream> #include <string> #include <algorithm> #include <vector> #include <set> #include <map> using namespace std; class transition // an entry in 'alpha' transition_table { public: transition(string from_state, char input_symbol, string to_state) {from=from_state; input=input_symbol; to=to_state;} static bool smaller(transition a, transition b) { if(a.from<b.from) return true; else if(a.from>b.from) return false; else … | |
Hello there, I'm very new to C++ and I'm mainly using it for graphics using the opengl libraries. Anyway, I'm having trouble with some initialisation. I am writing a file reader class that will read a file containing vertex and face data for a series of polygons. Data.h [CODE]#ifndef _DATA_H_ … | |
I think it all started with a MSN virus my brother gotten lately... but in that process I found more things that just didn't really seem to make any sense. I downloaded AVG and it showed some files to be Trojan Backdoor.agent something. Can't really remember... (my bad... :sad: ) … | |
I'm a newbie to C++ and figured this would be a good place to ask for guidance. I need to write a program that reads input from a txt file which contains "grades" in numeric format, I.E. 92, 55, 88 and take those grades and calculate the average. Now my … | |
My friends computer was just infected with a virus that gave him the "blue screen of death" but combofix miraculously revived his PC. Please help clean up his computer. This post is a HJT log folowed by his combofix log. Thank You VERY much in advance. Logfile of Trend Micro … | |
Hey, I have started working with I/O file streams using my 'problem solving with c++' book, I am not sure where the .dat file goes in MS Visual C++ or how to make it for that matter... Also is this code correct? I am getting strange errors... I am trying … | |
hi all, in the below code is used to open a file with its corresponding application.the file with application is opening but the data is corrupted. pls help to open the file without data corruption. advance thanks <% // fname is the file name String filePath=savefile; File f = new … | |
I have received emails and calls from my ISP recently claiming that I am using the connection to download copyrighted torrents. I didn't recognize the files listed, but I removed all my torrent programs and potentially shady freeware apps as a preventive measure. I then ran checks on my machines … | |
[B][I][COLOR="green"][U]Hello All: Can anyone tell me why I can't play MP3 or WAV files with the Windows Mobile 5 media player control when the filename is a URL? Even with the Media Player application on Windows Mobile 5 it doesn't work. If the files I want to play are stored … | |
I have to use arrays to calculate some statistics on a set of data. The example of the file looks like this: 6 5 1 3 2 4 3 4 2 4 2 1 2 3 5 6 8 5 6 9 4 3 1 5 7 3 7 2 … | |
I have to use arrays to calculate some statistics on a set of data. The example of the file looks like this: 6 5 1 3 2 4 3 4 2 4 2 1 2 3 5 6 8 5 6 9 4 3 1 5 7 3 7 2 … |
The End.