4,718 Topics
ok so last time I was here, I was programmin tic-tac-toe and its great. Now I have programmed hangman! :D . Anyways right now its for two players only. So I want it so the computer will choose a random word from a text file and assign that to my …
Hello, I'm almost done with my program however I'm having trouble getting what I want printed to a file. I'm familiar with the printf function and what I want is to print out to the file in scientific notation, which would be %E if I were using printf. Is there …
On my computer we have three different log-on accounts. One of the accounts doesn't work anymore. Whenever you log on the whole thing freezes, the clock won't change and nothing will work. I decided to call my computer company (dell) and they said that I have a corrupt profile. They …
Here is a source code I found while searching google for API functions. The source will generate a header file from a source file, anyways reading it you can learn a lot. [url]http://www.hwaci.com/sw/mkhdr/makeheaders.c[/url] I also know you can generate header files from a compiled .dll file. Sounds interesting but seems …
ARGH!!!! Computers REALLY don't like me today.... I am trying to get about 2500 songs(in itunes) from a 2 or 3 year old mac powerbook g4 to a dell latitude, which are connected on the same network. Both firewalls are turned off, and I've followed all the directions listed on …
alright say i have a data file i want to open up and extract the data into a binary tree... i do this to open the file: [CODE]binaryTree::information() { ifstream file; file.open ("proj4.dat"); }[/CODE] although ill have more in that after i learn how to do it.. and i have …
I wrote simple python program that rips, encodes, and gets song data from the cddb. I would like to give the user the option of customizing it to there taste. So I want to make a config file that I can store in /etc(linux fiel location). for example it would …
I want to transfer my files, pictures etc. from one computer to another. I have never done anything like this before. What would be the best way to do this?
Hi, all I am trying to compile and run a programme which I got it from a friend. The problem is every time I compile, the error 'graphics header file no found" appear. My question is : 1. Is the graphic header file come together as standard library? bcos I …
I'm making a program (using MFC) that opens a file using the c-style FILE* format rather than C++ style streams. I'm doing this because I'm lazy, and so I can use as much pre-existing code as I can. When I close the program, a destructor is called. [code] CGrid1Doc::~CGrid1Doc() { …
:sad: how do i save a variable to a file on the hard drive of the computer running it
Greetings all, I am, obviously, new to Java. I am in my second Java class at UOP, and quite honestly, they seem to believe in letting us teach ourselves! Enough of my rant. I am currently working on expanding a mortgage calculator program, such that it needs to open a …
Hello: I need help with a project. I have to read an input file that contains data for 17 students. This is how they are: first ID, then first name, then last name, then 10 test scores. For this data, I have to read it and process it to send …
I have been messing around with some scripts, and would soon like to start making a few gui apps. I plan on using either tkinter, or possibly pygame, or pygtk. Are there modules already built that will allow you to browse graphically? for instance, choosing a file, or directory, using …
I'm not very expert in using Win NT. I need your help to share file or folder in Win NT. In Win 98, 2000, ME or XP we can share our file easily, just right click at the file & then select sharing...as long as we have file & printer …
Hi, can anybody help me? i am relatively new to C Programming. My question is : How do you create a program which will take a filename as an argument, check whether the file is present and open it (if the file is not present create that file). Thanks -Kartik
Hi I am a newbie to php, having worked more in java. I am trying to write a php script to upload images to a directory. This works in windows but when I test it on a unix box, there seems to be no error message but the file does …
Hi, I would like to be able to use an api for reading/writing to a file database. Basically, I will have to write programs that have recovery (meaning if it shuts down, etc. it has a file/files to recover from). I could attempt to write something myself but if it …
hey guys. well let's cut the small talk. i'm trying to access a free lineage 2 server and the directions state that i have to edit my host file. i did my reading on it and found that it should just assign an ip to a host name and the …
how would i go about making a file, edit, and all those menus in the top bar. i cant figure it out. i am making a text editor and i want to be able to go file, open thanks tayspen
I have a non working copy of XP that will load XP until the log on screen at which point the screen blanks and freezes I have tried re-installing XP which does not cure the problem. I am not to worried about this but when I use this drive as …
Well, blast. My first attempt took too long, and I autodisconnected. Short version: Not doing homework, on internship(first gainful employment). Task: Make GUI for existing Console app that takes binary input file. Milestone: By Monday, create windows App that displays output of binary and text input files using MFC. Assumptions: …
Hello all, Ive been building music PC's for friends for a while now and have been getting busier. I was wondering what is the best way to make a recovery CD... I know Norton Ghost is brilliant but i didn't want to use it for two reasons...1) I want to …
Guys, Either there is a bug in the compiler or I'm getting dumber by the day. I want to read an entire file into memory. (Very small file, so no worries about size here). I followed the example here (from [url="http://www.cplusplus.com/"]www.cplusplus.com[/url]) [code]// reading binary file #include <iostream.h> #include <fstream.h> const …
While trying to delete, rename, move, or copy and paste a file I get the message: Cannot delete file: Cannot read from the source file or disk. While trying to use a program called Mboot (which can move or delete, move, etc files that don't start up when booting, I …
I just got done running hijackthis and got the log file but I am not sure on what I am supposed to get rid of. Any help would be greatly appreciated, thanks Ben here is the log file Logfile of HijackThis v1.99.1 Scan saved at 9:48:20 AM, on 7/13/2005 Platform: …
i would like to copy a local folder on my computer to network drive i wasnt able to use the directory object beacuse it enable me to copy only from the same root if any of you have any sujestion regarding this issue thanks eyal
i got a page index.php. i got a link over there to download.php. in download.php i'll do some mysql things. (like count file download...) and redirect the browser to some file 123.zip. Wot i really want is. I dont want to go to download.php instead the browser should remain in …
I always open a file just before it it written to, then close it as soon as practical. I have always wondered what would happen in this scenario:- Your program is on a server and two people use a shortcut from their stations to run it. All the file access …
Well, I've gotten myself into another fix. This time, I compressed old files on my laptop as prompted to by winXP, so i could get some more space, etc. The problem is, somewhere along the lines, it either compressed or deleted a vital dll file that windows needs to start …
Hallo, I have the same proplem as other with p2esocks_1021.dll , i scaned the maschine with Hijackthis and have the following logfile: please what should i do now (PS. my email and the whole windowsxp system on the machine doesnot work well now!) Topias Logfile of HijackThis v1.99.1 Scan saved …
Hi, I'm new to the forum and need some help writing my first 'complicated' program. I have trouble writing to an existing file. I want to write to an Excel file I already created and edited exclusively for the program I wrote, but when I write the data it destroys …
I was tring to write some data in a file from the singly linked list and also read the data from that and append it to singly linked list in the begening of the program.For this i had written two seperate functions . 1. writetofile 2. readfromfile for appending the …
Hi, Does anyone know how to check for a file access date and time? The function returns the modified date and time and i need something that compares the accessed date time to the current date and time. regards prasad....
I'm pretty new at C++ and I have a problem with a program that opens a file with a list of numbers and finds the median. My problem is, no matter what numbers are in the file, it always says the median is 1. I've been able to tell it …
Firstly, thanks to [b]chrunchie[/b] for the previous help in getting my system back up to normal. :D This quick question though is on behalf of my friend. He is running Windows Me and has been getting an alert message popping up asking if he is sure he wants to delete …
Summary: My Win2K desktop machine boots fine, however, when it finishes booting, I am left with virtually all the file, installed application and system application program assocations gone! Even the Start>Run command prompt asks me to 'open with'. :sad: The "open with" dialog box only shows the following: - Internet …
I should know this, but have been unsuccessfully trying to change file associations on my XP Svc Pk 2 machine with 2 gig AMD processor on an Asus MB. The problem is simple, I've downloaded and installed the trial version of Paint Shop 9 Pro and it's taken all the …
Hi, I can't delete a file I downloaded. It's a demo program. I tried deleting it from the C: prompt but that didn't work. I keep getting the message: This file is being used by another process. Close all applications that may be using this file and try again. Or …
greetings, i'm brand new to perl and trying to write a script to read a logfile for our weblogic server and write certain entries into a database table. the log file is a log4j weblogic log. here is a sample: [QUOTE]####<Jun 7, 2005 2:46:38 PM EDT> <Info> <Enterprise> <ga003sds> <tms1> …
Hi guys, How do you implement ACDSEE like file switching within a current directory using win32 Api. As in, in my project I am reading a "DICOM" file as input and now I want a way in which I can view the next file by just clicking on a "Button" …
Hi, I couldn't find my boot.ini file on my system so i created another one and saved it to the root of my C drive. I then rebooted my system and I can't get access as the boot.ini file i created seems to be wrong. I'm also getting the below …
I have a problem with a few video files (mpeg, avi, etc.) on my computer, specifically the timing. For example, when I open up a video file with Windows Media Player that I know is 22 minutes long, the player shows it as only being 1 minute long. When I …
Open App.Path & "\irc\files\channel.txt" For Input As #1 This is generaly the same thing i used on all of he opening files. It says it cant find the file/directory, and ideas on what else to ue for a wildcard directory?
Summary: My Win2K desktop machine boots fine, however, when it finishes booting, I am left with virtually all the file assocations gone! Even the Start>Run command prompt asks me to 'open with'. The "open with" dialog box only shows the following: - Internet Explorer - Microsoft Management Console* - Notepad …
ticket_name ticket_example.txt ticket_example.txt ticket_example.txt ticket_example.txt this is the file which i have to read i create this my using mysql connectivity i have to ignore first line and have to process rest of file this is just the sample file i got two problem i could not able to read …
Howdy Y'all, I actually understood almost all of Gorilla's Host File explanation [URL=http://www.accs-net.com/hosts/what_is_hosts.html]here[/URL] - but my brain collapsed when I got to this papragraph - just couldn't get my mind around this: [COLOR=DarkGreen]"Computers have a host address of their own - it is known as the "localhost" address, with an …
I need help writing a method to create a simple text file. I want that file to be saved to a local drive (client side of my asp.net app). The filename will always be the same "license.txt" but the content will be different for each user. I don't really want …
Hi I am using Mac OSX 10.2 and I wanted to share files on my computer with other computers on my network. I have noticed that when you turn it on, it only shares the Home folder of the account. My Hard Drive is partitioned and the bigger side also …
im a beginner in C++ and require help in developing a program that converts the price of a list of items from a text file from £ to euros. i am supposed to be able to edit this program so that there is a). GBP/Euro conversion rate. b). Data to …
The End.