7,373 Topics
![]() | |
Hi everyone, I'm doing a beginners C++ paper at Uni and I'm stuck. Basically I need to read data from a file and then display it on the screen. So far I've got: Correct headers will be called..... int main(){ char filename[30]; FILE *in; printf("Enter file you wish to open\n"); … | |
hi guys i want to recursion in such a manner that i put menu name in properties file and i want to add theire respected sub menu. e.g. menubar = file edit help file = New Open Save Exit edit = Cut Copy Paste help = help help = about … | |
how to increment file pointer .... suppose i want to read the 1st possition in the file and then the 64th position ..how to do that?????????? | |
1st time trying to do C++. I need direction of how to write this program. Thank you. Specification: Follow the coding style guide lines of codingStyle.doc A small postal system ships packages within your state. Acceptance of parcels is subject to the following constraints: 1. Parcels weight <= 50 pounds … | |
this a lof from adware se 1.04 ok can u guys tell me what to do!!!! Ad-Aware SE Build 1.04 Logfile Created on:Wednesday, September 08, 2004 3:25:28 PM Created with Ad-Aware SE Personal, free for private use. Using definitions file:SE1R7 06.09.2004 »»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»» References detected during the scan: »»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»» CoolWebSearch(TAC index:10):105 … | |
1st time trying to do C++. I need direction of how to write this program. Thank you. Specification: Follow the coding style guide lines of codingStyle.doc A small postal system ships packages within your state. Acceptance of parcels is subject to the following constraints: 1. Parcels weight <= 50 pounds … | |
I recently got a new hard drive and 512meg of ram (making a total of 1 gig). I decided to reformat my main hard drive and reinstall winXP pro. After I reinstalled, I started putting my old programs on and after a couple hours, suddenly my computer would hang up … | |
I wrote a program that allows me to send data to a file if I wanted to do that by redirecting the data stream. The only problem is that I can't figure out how to make that work from the DOS prompt. Here is the program: /* echo_eof.c -- repeats … | |
Hi all new in this forum I'm facing a problem. I need to pass the contents of an XML file to a hash table. The problem is that for each key i have multiple values. i.e. <?xml version="1.0" encoding="utf-8" ?> <Menu> <File> <EN>...</EN> <FR>...</FR> <IT>...</IT> </File> <ShowHide> <EN>...</EN> <FR>...</FR> <IT>...</IT> … | |
Help required in files. SOME example to explain it please...........????????????? | |
Ok my problem is i have a struct and im tring to ready a line into the array of structs using fstream. here is the code i have its just a basic layout of what will come later on. but here it is :) [code]// file: main.cpp // author: Kyle … | |
Thank You for taking your time to read this. Well, the subject kind of tells it all. I have built an webshop, but would like the order to be place in an text file insted of mysql. This text file has to be in an csv format in order to … | |
anyone remembers the syntax of reading a file into C and subsequently printing it out? for eg. i have the file 'matrix.txt' the contents inside the file is as follows: <matrix> rows = 2; cols = 2; 1 2 2 4 </matrix> how do i read it into my C … | |
hey guys..... i need 2 write this program which picks as and when a new message is written into the syslog file(syslog is a system file in unix) the trouble is ther r hundred's of messeges written into syslog file. I was experimenting with End Of File and pointerts but … | |
I need help finding the easiest way to transfer files from a desktop computer running XP to a laptop running XP. I have tried connecting the computers directly sing an ethernet cable, but I can't get the Files and Settings transfer wizard to work. | |
well i dl'ed a windows media file from limewire...ive read many message boards and took all their suggestions but none worked from me....it should be a wmv file but wont play and shows up as 0 bytes...i tried safe mode...command from start run...eraser and hjack this...also antivirus..but eraser said nothing … | |
Hi everyone, Does anyone know what a java manifest file is and how to create your very own manifest file. Someone please explain this manifest file thing to me in detail as l have no idea as to what a manifest file is and how to create one. Is is … | |
Hie I have got a problem , the problem I cannot extract the values from a file (eg I created a file called gray.txt for extraction and a file called average.nbr for insertion) the program is running but if I check in the file average.nbr there is nothing written. here … | |
File / sharing k, i have 3 comps all running off one router, i can ping each comp, and also, i can see each comp on my network directory. yet heres my problem, i can look at any of the 2 comps opposing to me, and log onto c: drive, … | |
hi guys, can anyone here give me c program about any file which would in binary format . the program will copy some content of binany file which would be on a tape drive (or any drive) & paste it another text file that would be in disk. thanks in … | |
hi guys, i have no idea how these lines work the given c program(see attachment).the program is about Read SEG-Y input data from disk file (stream of bytes) to properly structured SEG-Y with proper IRGs on tape.The program didnt include any path of the file.does theses line works as path … | |
Hi ya, I looked up "fc" and "for" in DOS commands but unable to find the solution I desired. I would want to edit a command into a .bat file that could search a particular field in a line (the line might be of different sequence order) in a .dat … | |
as title mentioned, i face problem with convert a jumbled text file to unjumbled text file, some of you might not clear what i am saying, well a example will give a clear idea what this all about. jumbled text file contain a few line of number, after unjumbled it, … | |
[COLOR=Navy][B][FONT=Courier New] aug 4th 2004 ref: I E 6 - "file/save as" menu does not save pages correctly on my local disk on last May I was obliged to reformat the HD and reinstall everything ; since then I noticed that I cannot save correctly the web pages on my … | |
This is from nyphp-talk: [nyphp-talk] Zend PHP Certification Daniel Kushner kushner at gmail.com Thu Jun 17 20:08:33 EDT 2004 Previous message: [nyphp-talk] PHP and Flash Next message: [nyphp-talk] DB Differences Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] -------------------------------------------------------------------------------- NYPHP List: This email … | |
Hey, First off I'm really new to Java so please bear with me. I need to read in a file and translate it to a different output format. An example line segment from the input file has the following format: "step(procs(),rule(1,A,B,vars(Na,Rv,ped(pk(B),cat(Na,A)))),procs())" (i) This means that at step 1, A sends … | |
Hello, First I will tell theth I new in c++! I' have a problem with converting the file Input Stream. I read a single character from the stream of the curent position of the file.In one case I set the hex flag; in another case I read from the stream … | |
hai I'm again I already done my program below. the problem when i run no output appear. basically I declare 2 file . 1 for input(InTransFile) another one for input and output(InMasterFile).Both in .dat. I want to compare accno1(masterfile) and accno2(transfile). if they equal have to overwrite balance1(masterfile) and next … | |
hi I have problem with file. The problem is I have to compare two file 1)master file and 2)transaction file. both have accno, amount,id and code(d-deposit,w-withdraw). the accno is in char[10] ,amount double, id integer and code character[1]. my problem is how to compare accno from master file with accno … | |
I am writing a program to copy files from one location to another. I only want to copy the files that is not in writing mode. Here is the logic: (1) If the file is not opened (by any application), copy it; (2) If the file is opened (by any … | |
Currently, users can download mps files from my website PROVIDED the files are relatively small. With large files (4 mega), the files do not download. I undestand that large files must be downloaded in blocks. How does one do this?? My current code reads as follows: [size=1][color=#800000]<% Set filesys = … | |
Hi there. for the last couple of weeks I am trying to find a solution to my problem but with no luck. There is a program written in C++ which can fine the mac addresses of the bluetooth addresses that are in range. As soon as it finds them, it … | |
I have a problem trying to transfer files from my older Mac (OS 9.2) to my new Mac ( OS 10.3). I connected a crossover ethernet cable to both machines, then turned on AppleTalk and FileSharing on both machines. Mac Help says that's all you have to do. Obviuosly there … | |
Here is what happened to me in sequence, any help would be appreciated (Dell Deminsion 8100, XP - SP2, 1.5ghz p4, 384 mgs ram, Nvidia 5900 video card.) 1) was removing old video and sound driver remnants with Driver Cleaner in safe mode 2) rebooted, for a few mins everthing … | |
Hi all, I need to maintain a text file which contains only 10 lines. As a new line is added to the top - a line is removed from the bottom. So although the file is automatically updated regularly it will always contain only 10 lines. I know how to … | |
[B]Intro[/B] This guide is for building a Linux audio server using RedHat Linux and Icecast / Ices combination. I write this guide with no expressed warrenty or liability for it's accuracy or completion. You may use at your own risk. This is simply how I was able to get my … | |
Hi I just installed Norton net security and in the instructons it mentions that it blocks file/printer sharing by default. When I am trying to connect to someone over MSN messenger to have a videconference or swap files I've found the only thing to do to get it to work … | |
Can someone please review the HJT file so I can clean up my machine from the dreaded mshp.dll start page and the annoying pu's. Thanks, RP Logfile of HijackThis v1.97.7 Scan saved at 11:28:09 AM, on 6/5/2004 Platform: Windows XP SP1 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP1 (6.00.2800.1106) Running … | |
Logfile of HijackThis v1.97.7 Scan saved at 7:42:19 PM, on 6/4/2004 Platform: Windows XP SP1 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP1 (6.00.2800.1106) 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:\WINDOWS\system32\spoolsv.exe C:\WINDOWS\system32\cisvc.exe C:\PROGRA~1\Iomega\System32\AppServices.exe c:\PROGRA~1\mcafee.com\vso\mcvsrte.exe C:\WINDOWS\System32\svchost.exe c:\PROGRA~1\mcafee.com\vso\mcshield.exe C:\WINDOWS\System32\hkcmd.exe C:\WINDOWS\System32\DSentry.exe C:\Program Files\Common Files\Dell\EUSW\Support.exe C:\Program Files\Iomega HotBurn\Autolaunch.exe C:\Program Files\Common Files\Microsoft Shared\Works Shared\WkUFind.exe … | |
[U][B]PLEASE HELP[/B][/U] In Internet Explorer alot of the links that i try to use don't work, explorer freezes and after a couple of minutes in comes back at the origional page. Also some times explorer crashes and this causes the process svchost.exe to increase its cpu usage to above 95%, … | |
Hello, I have a dilema. Currently if i want to save a file / read from a file i assign a string variable to a directory for example C:/Files/Blah.txt . However, i am currently working on a program which will be distributed between some close friends and having a fixed … | |
[b]Hi, I have been cleaning up both my destop and laptop since I have upgraded to the new version of AOL 9.0 SE and some other things, and AOL is having a problem playing videos on my desktop, but they play fine here on my laptop. I decided to compare … | |
I know this doesn't have to do much with networking, but it kinda does. I'm trying to connect to a friend thru AIM. I've disabled my firewall. Ive heard that my type of router has a built in firewall. I have no idea how to get around it though. I … | |
#include <iostream.h> #include <fstream.h> #include <string.h> #include <iomanip.h> //for logfile struct log { long number; char date[9]; char time[9]; char gate[2]; }; //for customers struct customer { long number; char initial[2]; char lname[20]; char snumber[7]; char sname[17]; char stype[17]; char suburb[17]; char state[4]; char postcode[5]; }; //constants for array sizes … | |
My computer has been infected with spyware of all sorts in the past month - homepage hijacks, dialers, pretty much everything. I've used a few programs to help get rid of them, but there still seems to be several problems. My printer port doesn't work since the lastest bout with … | |
I'm trying to delete a single record from a rnd file using a delete button. On click the code below the problem seems to be with the keep statement. I keep getting a compile error:invalid qualifier on selectedbook even though the value matches the position of the record in the … | |
hello, i want to sort a file and i don't know how to put the data from a certain field of the file in a vector, sort it and then put it back in the file. here's what i've done. [CODE]FILE *file; struct catalog{char 1rst_field,2nd_field,3rd_field}name,v[100]; //here i put the data … | |
Logfile of HijackThis v1.97.7 Scan saved at 2:52:51 PM, on 5/7/2004 Platform: Windows XP (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 (6.00.2600.0000) 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:\WINDOWS\system32\spoolsv.exe C:\WINDOWS\System32\nvsvc32.exe C:\WINDOWS\System32\VetMsgNT.exe C:\BITWARE\NT\bwprnmon.exe C:\Program Files\Microsoft Hardware\Keyboard\type32.exe C:\Program Files\Java\j2re1.4.2_03\bin\jusched.exe C:\WINDOWS\system32\ntvdm.exe C:\WINDOWS\TBPanel.exe C:\PROGRA~1\CA\ETRUST~1\ETRUST~1\VetTray.exe C:\Program Files\WLAN\802.11 Wireless LAN\WWlanMonitor.exe C:\WINDOWS\System32\RUNDLL32.exe C:\Program Files\Steam\Steam.exe C:\Program Files\MSN … | |
Bridge.dll error please help me here is my hijackthis log file!Logfile of HijackThis v1.97.7 Scan saved at 1:34:15 AM, on 5/8/2004 Platform: Windows XP SP2, v.2082 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2082) 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\Symantec Shared\ccSetMgr.exe C:\Program Files\Common Files\Symantec Shared\ccEvtMgr.exe … | |
Hi, I have a similar problem to recent poster amdm55. If a web link opens a new web page that's Ok but if it opens a small window from within that page it opens blank and freezes. I operate windows 98 second edition. If you open [url="http://www.betfair.com"]www.betfair.com[/url] and click on … |
The End.