6,015 Topics
![]() | |
![]() | Hi there, I am trying to parse a .txt file and don't know where to start. I am trying to get the file information from within the text file and output it to a SWT table. The file I'm trying to parse looks like the following with useless information before … ![]() |
I would like to extract the header info from an image file. For example I would like to search for the key "LINES" and return "2240" as string. And should I use open("r") or open("b") since im only interested in the header. Header: [inlinecode] BANDS = 1 BAND_STORAGE_TYPE = BAND_SEQUENTIAL … | |
This program is supposed to make two passes through a file; the first pass counts the number of elements inside the file to get the total size; the second pass will fill the array and sort it. The problem i'm having is that on the second pass, the array is … | |
This is a input file DEL 0050 XYZ 0050 0310 CCU 0710 MAA 1325 TRZ 10415 KWI 0050 FJR 0325 0325 CCJ KWI 0050 FJR 0325 0425 CCJ 0925 1005 i.e maximum items(column entries) in a row can be 8 but their data type will be in same order i.e … | |
I am reading a CSV file and parsing its content into tokens. Now i want to know how to check for End of File. I am giving my code to be more clear. [CODE][COLOR=#0000ff]ifstream file(filename); if (file) { char ch ; do { file.getline(line, SIZE); tmp =static_cast<string>(line); vector <string> array; … | |
Hi every body Can you please fix me errors. Here are my codes and errors incountered #Stage1 I want the user to type in the file path to txtpath.Text and a text input to be appended to that file be written in txtwrite.Text The error: Run Time error ->path not … | |
I am extremely new to C++ and I've been trying to do a few things. I want to read a file and get all the numeric values. This information is going to be used in writing a binary file. I also want to count how many numeric values where found. … | |
Hi, I have problem with uploading images by php script. I created a HTML form for user to input image file, and simple PHP script which accepts this file from form and prints it in the browser. My script uploads file, prints file's name, generates HTML code, but does not … | |
Hi friends, Its my first experience to this forum. can any one help me in reading a csv file into an array and then parse each word seperated by commas. I have csv file which contains rows and columns of record. and i have to read the file into an … | |
Hello, this is my first post here. I'm taking c++ as an elective course, and I'm doing great until now. The problem I'm having is taking data from a txt file formatted line by line [inlinecode]#### # ##[/inlinecode] for product id, store number, and quantity. I'm supposed to read this … | |
:mrgreen: hi guys/gals, thanks for the bioinformatics help, im working on tons of independant projects, it feels like im in summer school and im not even in it! oh well, that is how it is. Python and me are like new friends so I have been needing on this journey … | |
Hi, i was looking for some help and i found this website. it looks amazing, great work admins and all the pplz who r sharing their thoughts and helping pplz. ok here is my question i built an application using vb.net and sql server 2000 and installed it on the … | |
Hello if i have a file residing on a unix machine, how do i get the stats of the file, ie date stamp of file, and username of file. Best Regards | |
Does Python have a module to display when a file has been last modified? Also, how do you get the file length? | |
hello, i'm trying to run a progrm written in perl this is the code i wrote perl aramorph.pl <infile> outfile where aramorph is a notpad file with my code saved in c:\perlscripts infile is the file that should be read from outfile ................................wirte the output to. both saved in c:\perlscripts … | |
Hello I am trying to write some data to a certain position in a file, but cannot get it to work I want to write "XX" to position 6 of a specified file, but the data is just being written to the end of file. see below [code]#include<stdlib.h> main() { … | |
alright, im not a computer geek, so treat me like im stupid :] so i have cable & a network set up so i can go online from several computer through a linksys router. what i want to do is set it up so that i can share files and … | |
[COLOR=black]Hi All, My VB.NET program uses tabControl, which consists 8 tabPages, as the user interface. Basically, everything is done there, except when Excel file is opened. My program reads Excel file by the following function:[/COLOR] [COLOR=#101010]VB:[/COLOR] [CODE] Private Sub btnReadFile_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnReadFile.Click excelApp … | |
How to activate file typ filter in wxPython file browser I am using wxFileDialog() call for file browsing,I want it to filter all unwanted files in display. | |
Hello Here is my hijack this log file. My computer isn´t working propertly in some areas. For example when I turn on my computer the wireless zero configuration service doesn´t start though it´s set as automatic. I always have to start the computer automatically. Also when I leave my computer … | |
Please help a newby trying to code first program. I want to be able to write data to a file, then read from the same file. I can manage this OK, but If I set-up a loop to do the same procedure again I get an error message telling me … | |
Hi, I'm new to this forum and hope I'm posting in the right section! I hope someone can help. I am trying to upload a website but have been advised I need to edit the includes/config.inc file. I've to edit the database name, username and password which is fine but … | |
hi, I have written small server/client programs to transfer files from one pc to another on the network.. Naturally ,I have used the send() and recv() functions on both sides to send and receive buffer. I am transferring the characters one at a time in any given file into the … | |
Hi, I am trying to install MSI starcam 370i wbcam application named "MyGuard"., it starts installing , after completing process creats a destop icon "videosecurity.exe" and then an error message " please upgrade to directx 9" , I alreaday have 9.0c on my windows xp. then I deleted the file … | |
;) Hi I have the following problem. I'm building a web side, where user can upload a file, this file then need to be processed be a python scribt, to do this, I use wscribt.sheel run that run an external bat file. This works ok, BUT it look like if … | |
I just noticed from within the finder that the root of my drive has a file, with no extension, called 0, that is a 0 byte file. Does anyone know where this could possibly have come from and whether it's save to delete? It should be, no? I'm thinking maybe … | |
Dear All, I have alot of old funtions that have 'FILE *' as passing parameter. Now I am using Compound File...It use IStream. Does anybody know how to convert IStream to FILE* ? Thank's | |
hello friends, as i know header file contain the declaration then in which file they contain implementation/initialization and where these files are put in turbo c++ compiler i am able to see header files declaration but where is implementaion/initialization file is they are put in same directory with same name … | |
hi, i try to build a aplication in vb for detect on real time which files are under utilization like antivirus software do. any one can help me? thanks a lot bruno | |
:cheesy: :!: :lol: Hi I am "mahmood" and I Come from iran I don't speak English well. (Excuse me) Would you please guide me to open .dat files of reporter's sounds in 2006 FIFA World Cup, listen and edit them as I wish and finally save them. -------------- I extract … | |
Upon startup I get a message saying "bridge.dll cannot be found" I know it is spyware, but im not sure on how to fix it. Here is my Hijack this log: Logfile of HijackThis v1.99.1 Scan saved at 3:32:55 PM, on 6/6/2006 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet … | |
Hello, I am trying to teach myself C++ and am currently studying file I/O. What I am trying to do is this (and I am sure you have heard this before): open a text file and output each word with the number of occurrences. For example, if the file contains … ![]() | |
here it is my sound doesn't work and i dont know why it might be malware related so plz take a look at this Logfile of HijackThis v1.99.1 Scan saved at 10:18:33 PM, on 6/7/2006 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 … | |
Hi all, I am using oc4j 9i as my web server. My operating system is windows 2003. I get this error 'Too many files open' . This error is not frequent. After browsing through the web, i have found something about file descriptors. Now i cannot figure out where to … | |
hey crunchie.. after i fixed the problems you gave to me these messages came up: [B]Message 1[/B] Unexpected error occurred! Error #52 (Bad file name or number) in Sub GetLongPath(?.exe). Please send a report to [email]merijn@spywareinfo.com[/email], mentioning what you were doing, and what version of Windows you have. This message … | |
I'm not sure where I should be posting this (I posted this in Windows XP as well), so if I'm not where I need to be to get an answer, please let me know! I've been trying to delete this folder for some time now, I've researched a lot on … | |
Need to know what to delete, my browsers are soooo slow for a cable modem. Thanks! Logfile of HijackThis v1.99.1 Scan saved at 6:52:18 PM, on 5/25/2006 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180) Running processes: F:\WINDOWS\System32\smss.exe F:\WINDOWS\system32\winlogon.exe F:\WINDOWS\system32\services.exe F:\WINDOWS\system32\lsass.exe F:\WINDOWS\system32\svchost.exe F:\WINDOWS\System32\svchost.exe F:\Program Files\TGTSoft\StyleXP\StyleXPService.exe F:\WINDOWS\system32\spoolsv.exe … | |
Hi, I'm very new to programming and Python. I need to process two separate files, one containing words, the other frquencies of these words. What is the best way to process these files and obtain a new file with frequencies*words in there? Btw i'm afraid the files cannot be read … | |
I am having two different networks connected to the same SWITCH D-Link [I]DES-1024D[/I]. [COLOR=MediumTurquoise]First Network:[/COLOR] This network is VPN through Sify (ISP) to connect to remote server. This network doesn't have internet. [COLOR=DarkOrchid]Second Network:[/COLOR] This network is using Microsoft ISA (Internet Security & Acceleration Server) server installed on Windows 2000 … | |
IE, File Explorer and File Folder Short Cuts will not open. Ran AdAware, Trend Housecall and TrendMalware Cleaner, Spy Bot, MS AntiPsyware to no avail. Any time I run IE, File Explorer, Control Panel the bar at the bottom of the Desktop disappears for a few seconds and then reappears. … | |
hiii all do any1 knows how to read the header of a file to know its format as example if i've a mp3 file but it's name do not include .mp3 i wanna make a program that read the header of the file and detect it's format but i dont … | |
I've never seen this before and am perplexed beyond belief... by the way I'm using Visual Studio I have a rather large program/game i'm working on right now, and it reads in via ifstream file i/o from binary files in several locations to initialize variables. For some reason for one … | |
Does anyone know how to create a batch or script file for loading users into the Local Groups Adminstrator folder of an XP PC. We have about 150 users that we would like to make administrators on for several test PCs and would like to do this with a batch … | |
Hi all, Something funny has happened recently when using WORD. When I open a folder to scan the list of files contained therein, I notice that a certain number of the file names are now listed in the color blue, rather than the usual black. What has caused this color … | |
Hello, everybody. Sorry to disturb you all. Currently, I have a speech recording and playback software developed by Microsoft Visual C++ 6.0. The software is used to train children with speech problem and scores will be calculated and showed at the end of each practice session. The software is able … | |
Hi, Can anyone please help me with writing a code in vb which saves the results in excel file. I am able to create an excel file and record the result from one of my script, but I have 8 other scripts and I want to record all the scripts … | |
Hi! I'm trying to delete a file, but unfortunately I always get the message "Error Deleting File or Folder: Cannot delete .... : it is being used by another person or program. Close any programs that might be using the file and try again." I'm trying to delete the files … | |
All of my shortcuts do not work, and all of my programs will not launch even when I double-click the exe file. Windows always asks what program I want to open the files with. When my computer boots up I get asked which program I want to open my start … | |
How can we execute the commands on one file in a such a way that the results will get saved in another file? Do we have any such built in method which we can use? | |
Hi, having various infection problems - can someone help please? [U]Problem 1[/U] A message in a window appears every few minutes saying "This system is shutting down....this shutdown was initiated by NT/ AUTHORITY SYSTEM. C:\Windows\system32\lsass.exe terminated unexpectedly with status code 1073741819. The system will now shut down and restart" The … |
The End.