6,015 Topics
![]() | |
I'm having some trouble, I'm using Dev C++ and I want to make my exe file and my dll file into one. So if i use my exe on another computer it tells me it's missing "libmySQL.dll" So I don't have to have two files. My current code is: [CODE]#include … | |
hi i am writing a program that reads integers(signed or unsigend) from file. my input file contains these numbers(without brackets) [41 35 -66 -124 -31 108 -42 -82 82 -112 73 -15 -15 -69 -23] and my code is: [CODE]#include <stdlib.h> #include <stdio.h> #include <conio.h> #include <string.h> main() { FILE … | |
Hi there. The problem that I'm experiencing here is quite a specific one, and after a few searches, I concluded that I ought to just ask. Tbh, I'm a little bit unsure what to search exactly! I have calculated earlier in my program various values in various arrays, angle[], t[], … | |
I have an assignment where I'm taking a file from my computer and using the numbers to pull something out. I'm supposed to take numbers from a file and checking to see how many times the number is in the file. But i can't seem to figure it out. This … | |
Ok so to give you a brief summary of whats going on our original assignment was to make a password directory that adds, saves, looks up, and removes a name and password that are connected together in an array. So now we need to alter the code so it works … | |
Hey there, I'm having trouble getting my program to read the last instruction of the file, and so far, I haven't been able to figure out why. Any help would be appreciated. [CODE]/* The Simpletron Machine Language Program. The purpose of this program is to simulate a primitive computer. This … | |
Let me show you how do I create setup file of my program. [Code] Project>WindowsApplication1 properties>Compile>Advance compile option>Target CPU : AnyCPU Target framework(all configurations): .NET Framework 3.5>OK File>Add>New Project>Other Project Types>Setup and Deployment>Setup Project>OK Setup>Properties>Prerequisites>Select Create setup program to install prerequisite components & Windows Installer 3.1 & .NET Framework 3.5 … | |
Hi- Trying to rename a file using the rename() function. It works, but it appends an '@' to the end of the renamed file. Here's my code: [code=c] char oldname[] ="file1.csv"; char newname[26]; newname[0] = '3'; newname[1] = '1'; newname[2] = '1'; newname[3] = '3'; newname[4] = '3'; newname[5] = … | |
[B]Aim:[/B] Well, What I am trying to do is to store the names in an array and scores scored in another array. Then Write them into the file. When the program is ran again, I will like to read the stored names and scores, add the new name and score, … | |
Hello there, I'm currently using a perl scrip that checks if every line in a file 1.csv is present in a file named 2.csv, and writes only the different lines. The output is a file called out.csv. What I'm trying to do is to write only the most recent lines … | |
[CODE]Traceback (most recent call last): File "C:\Documents and Settings\Administrator\My Documents\textprocessing\test files\keep 6 latest file.py", line 37, in <module> shutil.move(file_name, dst_file) File "C:\Python31\lib\shutil.py", line 278, in move copy2(src, real_dst) File "C:\Python31\lib\shutil.py", line 113, in copy2 copyfile(src, dst) File "C:\Python31\lib\shutil.py", line 66, in copyfile fsrc = open(src, 'rb') IOError: [Errno 2] No … | |
When you have a file with a lot of lines of numbers. I want to know if instead of writing the formula to calculate the numbers for everyline of data. Is there a way to tell it to apply the formula I have made to every line until there are … | |
Hi, im using visual studio 2010, and for my recent assignment i am having difficulty when closing a text file. My program is to read in the data from a text file and then do some calculations and then output the result. My text file Measurements.txt looks like this: 5 … | |
How to transfer files using cmd in windows7? | |
Hi, I am just setting up a website for a friend who is a singer/songwriter. He wants to make his music available for purchasing from his website via digital download. However I have never set up a website that makes use of ecommerce, could you please suggest what the best … | |
I'm beginning a program that needs to read a file given in the command line. My first question is, if my command line looks like: $java mysimulator 5 proc.txt And I want to use proc.txt, which args[i] is it? Right now I'm assuming that the class name is args[0] and … | |
Ok...I spent hours (I know, probably something you pros know already) trying to figure this out. I finally did and thought I would share it with others considering I found nothing (literally) out there on this. Feedback would be much appreciated! Most of the time string data written to a … | |
Hello Experts, I am Developing A Web Project. I have done the given below Code in which I want to download a (.mp3) File from a folder located on my web server. The given below Code working fine but the problem is that when I run this code on my … | |
Hello. I am debugging a larger project and a tool called Crash Validator keeps pointing line 1 in my code extract:"inline bool SortKnownFiles2 (etc.)" in DirLoader.cpp Error message in Crash Validator is “Cannot create a file when that file already exists.” (in c++ it runs fine, except a few random … | |
Hi friends, What is the correct method of uploading files using php ? Now I am using a simple file upload script and that will upload that file to a directory in my ftp server. And I will make that directory's CHMOD to 777. Is this is the correct way … | |
Hi, Iam in the process of creating a program for converting words in a file to numbers. Am struck at the input file selection gui script. i want to create a GUI to open a file from the open file dialog box and to read the words in the file … | |
I am writing a code for arithmetic compression. But my problem is i can't open the file 2nd time for reading. code is: [CODE] #include<iostream> #include<fstream> #include<stdio.h> #include<math.h> using namespace std; #define MAX_SYM 255 struct node { char ch; int count; /*public: node() { //cout<<"constructor at work. \n"; count =0; … | |
Hi! I am just a newbie here! I just wanna ask how to do the file handling in java applet? Do I have to do the certain policy/permission to perform it? If so, how would I do it? And another one, how can I close the APPLET WINDOW once I … | |
Hi everyone I need to be able to read each character from a text file and store them in an array here is the text file: ********************* Ace of Spades 10 of Spades 3 of Clubs King of Spades 5 of Spades ********************* Queen of Diamonds King of Hearts Queen … | |
Beforehand I know how to define a macro in a file like header file by using #define directive but I want to know, regarding Visual C++ compiler, is there any kind of file which is specifically used to hold a macro so that we can use it anywhere in our … | |
Hello Developers, I am not able to get client path on file(image) upload .so i can disply that file(image) in image control on upload file. On my local machine below code worked nicely. [CODE] <img id="imgProductHallmark" name="imgProductHallmark" src="" alt="Image" width="95" height="113" runat="server"/><br /> <input name="ProductHallmarkUploadID" id="ProductHallmarkUploadID" type="file" onchange="LoadImage1()" runat="server" /> … | |
Hello my friends I have a txt file with the follow layout [QUOTE] error1 255 error2 34 error5 111 error3 23 [/QUOTE] and what i'm trying to achieve is, from this text file plot a trend chart with the errors and respective quantity! this is the code that i'm using.... … | |
Hey, My solution has 3 different projects. I have images in one of these projects which I need in the other projects. For example: Project A : contains "kitty.png" Project B: Needs the PHYSICAL PATH of "kitty.png" meaning C:\inetpub\wwwroot\ProjectA\Images\kitty.png Server.MapPath can not help me in this situation since I am … | |
OK, this is as basic a question as any of you will get on this site. Here's the deal. I have a very basic PHP file saved, of course, as php. I have an HTML page built in Dreamweaver. So, how do I include that file in the HTML so … | |
I have a file server in the network, I try to search for the file contents based on search keywords (this is not only search for file name), need to search files like ".doc", ".pdf", ".html", is there an easy way to do that? for example I need to list … | |
Hello there, What would be a simple way to stream a file from a url? | |
Hello everyone, i was a bit stupid installing a theme that required me to replace my explorer.exe in c:\windows.... and explorerframe im c:\windows\system32\ i am running a genuine copy of windows 7 home premium 64 bit. can anyone give me their explorer.exe and explorerframle.dll ? (64bit) | |
Hello, I am trying to run a program that uses raw file as an input file and then use a function that requires input file data into uint8_t array type argument. The problem is that when I use the sample input raw file, it works perfect but when I use … | |
helo! can anyone help me in automatically saving files with fixed filename in python? the OUTPUT would be like this: FILE- A01.txt FILE- A02.txt FILE- B01.txt File- B02.txt i was hoping that i could save a file automatically after making some changes in the older version. Thank you, Gene | |
i make this project what i unable to use file handling[CODE] #include<iostream.h> #include<conio.h> #include<dos.h> #include<stdlib.h> #include<stdio.h> #include<string.h> #include<fstream.h> #include<ctype.h> #include<bios.h> #include<ctype.h> int menu(int,char a[25],char b[25],char c[25],char d[25],char e[25],char sl1[2],char sl2[2],char title[40],char under[2]); void lbyl(char a[50]); void main_menu(); void student_menu(); void mark_menu(); int records=0; void lbyl(char a[50]) { int l,i; l=strlen(a); … | |
considering visual C++ compiler, Lets say I've got a file with whatever extension and it contains 100 bytes of data which are exactly the data that I want to initialize an array of char data type with a length of 100 characters with, Now apparently one way is to read … | |
I'm trying to make program using Google 5gram data to compare with one of English exam called TOEIC. There are 118 files for 4grams and each size of 4grams are approximately 300MB and each files has 10,000,000 lines. So, here is the point. It requires about 4 or 5 seconds … | |
Need Help to fix this code because I can not find the errors so they can read successfully. Pila SEGMENT STACK ;Segmento de pila DW 64 DUP (?) Pila ENDS Datos SEGMENT ;SEgmento de datos Filename db 'C:\Tasm\BIN\Prue.txt',0 FHndl dw ? msjFrase db 13,10,"Escriba la frase:$" ERRORS db 13,10,"Error con … | |
Hi Daniweb, I'm having a little problem here. I was trying to set up a path correctly (you know the one that's in the environment variables) and i messed it up. I was just wondering if anybody could tell me what should be the value for the Path under system … | |
Hi im writing a function in a program that lets the user delete a specific record in a file, the user is also able to recover this record. The easiest way i found is when the record is deleted, the record will be set to deleted using bool. Then in … | |
Hi everyone I have a project that I have created in Netbeans. I would like to deploy it as a JAR file, so i have "build"'ed it and I have a jar which runs nicely in the /dist folder. Problem is, the program in question requires reading from and writing … | |
To find xml code from excel (My site Rank First in Google) Here i have found new way to develop xml file from excel. step 1: open MS Excel 2007 or any version Refer Fig. Copy1.jpg in attachment First create root tag and child tag refer fig. copy2.jpg step 2: … | |
Creating keyword relevant file names not only improves SEO but also helps to improve your pages in topic relevant manner. You need to create folder names with relevant keywords as well as file names. You can see well optimized file name sites ranked higher than series of numbers or meaningless … | |
[B] hi all, i am trying to open a file with application using java. i faced many problems while processing it. 1. Using Runtime.getruntime.exec(); i faced the problem. i can open a file with application in the local system(server) where i have written the program. while by using the ip … | |
[I]:icon_question: WE ARE GIVEN A TASK TO CREATE A SOFTWARE THAT CAN SHARE FILES BETWEEN TWO COMPUTERS WITHOUT USING LAN (INTERNET CONNECTION) BUT THE PRESENCE OF HARDWARE DEVICES CAN BE USED LIKE CABLE, RS232, USB TO USB OR CAN BE BLUETOOTH TO BLUETOOTH FILE SHARING. WE SEARCHED ABOUT FILE SHARING … | |
Hello DaniWeb, This is my first real assignment and am having problem with it. The program must accept a userID and pass from user. The program must also read the userID and pass from file and if it matches the one on file, the program must display success message. The … | |
Hi, i'm making a simple texteditor from VB6, and i use Visual C++ as my back end. i call a function where in I will read another text file and put it in a structure. this is the function: void loadR() { ifstream file; file.open("C:/CaseStudy/CaseStudy/Rsrvd.txt",ios::in); for (i=0; i<44; i++) { … | |
hello friend i have a text file name url.txt contain lots of url, one url in a line. now i want to get the content of each an every page which are open on the basis of those urls, here is my code: [ICODE] using System; using System.IO; using System.Net; … | |
I am adding a feature to my application that allows users to backup an entire SQL database, as well as include application settings with that backup file. My dilemma is choosing a good file extension to use. The over-used .bkp type could cause conflicts in systems that have applications that … | |
Hello Daniweb, In 3D space I have generated a path which jumps between points in a grid of 100x100x100. When simulating movement through this path, I tried making a bezier curve of the points in the path, but the results were not good enough. I googled a lot, and the … |
The End.