1,605 Topics

Member Avatar for
Member Avatar for ksmadhuri

hi, i had done some coding ..im unable to get how to check the entered field is present in xml file or not...can anyone help me out....waiting for the reply..here is the code.. 1. package login; 2. 3. import java.io.*; 4. import javax.servlet.*; 5. import javax.servlet.http.*; 6. 7. import java.io.*; …

0
45
Member Avatar for vivi288

Hey guys, this is my first post. I'm having problems with a flat-file unique hits counter which I found online at [URL="http://inobscuro.com/tutorials/simple-php-unique-visitors-counter-30/"]in obscuro[/URL]. I installed everything properly, but whenever I try going to the "showcounter.php" file to display the total amount of hits I have received, the page freezes up …

Member Avatar for vivi288
0
1K
Member Avatar for deeer

hi there I'm struggling on this problem hope you can help me here is the question: Define an enumerated type named Suits that lists the four suits of a card deck plus a constant meaning \error" or \no suit". Use UPPER CASE for constants in your enumeration. - Use typedef …

Member Avatar for deeer
0
148
Member Avatar for fernandofranca

I commented on the code what is my doubt. I don´t know I can´t I simply use arq_linha_part >> parm; If I use that it returns me the error: 1>------ Build started: Project: Interface GaussSolve, Configuration: Debug Win32 ------ 1>Compiling... 1>Interface GaussSolve.cpp 1>c:\users\fernando\documents\visual studio 2008\projects\interface gausssolve\interface gausssolve\interface gausssolve.cpp(38) : error …

Member Avatar for fernandofranca
0
158
Member Avatar for dchunt

I have a file over 100 Kb long. I want to perform operations on successive batches of 256 characters. [CODE] int fs=0; char ss[32556]; ifstream nm,nm1; nm1.open("as86.txt"); if(nm1.is_open()) { nm1.seekg(0, ios::end ); fs = nm1.tellg(); } nm1.close(); nm.open("as86.txt"); nm.read(ss,fs+1); nm.close(); cout << endl << fs << endl; ofstream mn; mn.open("as86.txt"); …

Member Avatar for nbaztec
0
106
Member Avatar for ariez88

I want to monitor the activities of all the folders present at "C:\Inetpub\ftproot\san".User can work on any type of files and not only text files.Since we have given 1GB space (lets say) to each user, so user can do anything to utilize this space. Variable "id" is redirected to this …

Member Avatar for kvprajapati
0
179
Member Avatar for herberwz

Pls help: [B]Warning:[/B] require(connect_to_mysql.php) [function.require]: failed to open stream: No such file or directory in C:\wamp\www\chibenda\root_directory\index.php on line 3 [CODE]<?php $db_host = "localhost"; // Place the username for the MySQL database here $db_username = "root"; // Place the password for the MySQL database here $db_pass = ""; // Place the …

Member Avatar for drjohn
0
149
Member Avatar for queensrose

I will arrange my output in well-alligned columns, but I don't think I should use 3D char arrays since my teacher just wants us to stick with what we've learned so far. Check out my code. I'm happy about it, but I just can't get the alignment right. [CODE]//File: lab9.cpp …

Member Avatar for IrinaG
0
299
Member Avatar for carrythe1

Hi, I am trying to learn how to use windows hooks in c++ (using visual studio 2010) and have been reading a lot of info on msdn etc. I think i have a correct understanding of the process but am unsure about some of the specifics regarding its implementation, having …

0
95
Member Avatar for suryakantb

Hi, I am sharing a tips on "Identifying Files From Their first 4 Bytes Or Magic Numbers" related to Delphi Sometime back I faced the task of having my application take file data from stream and save them on disk in their original format. Now, the tricky part was that …

0
92
Member Avatar for n_angelov

Define a class Queue_time that represents a queue of Time objects (from our textbook) by keeping its elements in a dynamically allocated array (with maximum capacity) and make the queue as a "circular array" (the first element follows the last one). Supply the "big three" memory management functions. Use this …

Member Avatar for xuebao
0
1K
Member Avatar for dansnyderECE

Note that I posted this thread earlier, I'm reposting because the issue has evolved some and I have a clearer idea of what the problem is. I'm trying to resolve a segmentation fault that occurs in the traversal of a string array. My code is doing the following: - open …

Member Avatar for dansnyderECE
0
385
Member Avatar for notdoppler

Hello Community i am using Linux (fedora) gcc compiler. Normally i use Java but for the Interprocess communication part we got C. My problem specifically is that when I read from a file with the fread() function and save it in a char buff[somesize] I cant use printf() to display …

Member Avatar for abhimanipal
0
286
Member Avatar for cthoes

i am using mac os x 10.5 with apache php and mysql. i tried below program but end up with following message.. Upload: insurance1.jpg Type: image/jpeg Size: 845.189453125 Kb Temp file: /private/var/tmp/php0Vueol Warning: move_uploaded_file(uploads/insurance1.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /Library/WebServer/Documents/php/upload_file.php on line 25 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable …

Member Avatar for cthoes
0
2K
Member Avatar for Nivass

Hi, I have the picture box in which i draw the rectangle (using graphics paint) and inside that rectangle I typed some name using label box and stored the work, have done When I opened the saved Image the position of text I typed in the label box not in …

Member Avatar for Nivass
0
2K
Member Avatar for tonymuilenburg

Hi All, I'm trying to figure out how to load images from a resource file into a picture box using a visual studio windows forms application in c++. I figured out two different ways to do this in c# by going through the forums, but I cannot figure it out …

Member Avatar for tonymuilenburg
0
1K
Member Avatar for Fazle

I am being tasked to record TCP data and play them back with same speed. I am able to record tcp data but struglling to playback with same speed. If someone can help will be greatly appreciated. My codes below are reading TCP data and writing them in minute files …

0
42
Member Avatar for azra36

i have an unhandled exception cx0005:access violation in VC6++ while i try to run my c code with main.exe it gives a window showing to send a error report or to debug, while i give debug, it takes to fwrite file an breaks at the point --> if (anybuf(stream))//this is …

Member Avatar for azra36
0
372
Member Avatar for spartanace

My file structure is Project data sort main.cpp code as follows [CODE]#include <cstdlib> #include <iostream> #include <fstream> #include <string> #include "genlist.cpp" #include "genstring.cpp" using namespace std; int main(int argc, char *argv[]) { ifstream in; ofstream out; int unique=0; GenList<string> gList; gList.checkFileOpen(in,out); gList.populateNUnique(in); gList.sort(1); gList.output(); in.close(); system("PAUSE"); return EXIT_SUCCESS; } [/CODE] …

Member Avatar for mrnutty
0
160
Member Avatar for Fazle

My above code is reading TCP data and writing them in minute file under recording directory as follows: /WSIGraphicRecord3/recordings_dir /WSIGraphicRecord3/recordings_dir/20100512133155.ws /WSIGraphicRecord3/recordings_dir/20100512133256.ws /WSIGraphicRecord3/recordings_dir/20100512133357.ws /WSIGraphicRecord3/recordings_dir/20100512133457.ws /WSIGraphicRecord3/recordings_dir/20100512133557.ws /WSIGraphicRecord3/recordings_dir/20100512133658.ws /WSIGraphicRecord3/recordings_dir/20100512133800.ws /WSIGraphicRecord3/recordings_dir/20100512133900.ws /WSIGraphicRecord3/recordings_dir/20100512134001.ws /WSIGraphicRecord3/recordings_dir/20100512134101.ws /WSIGraphicRecord3/recordings_dir/20100512134202.ws /WSIGraphicRecord3/recordings_dir/20100512134302.ws /WSIGraphicRecord3/recordings_dir/20100512134403.ws /WSIGraphicRecord3/recordings_dir/20100512134503.ws /WSIGraphicRecord3/recordings_dir/20100512134603.ws Now my question is how to playback these files with same speed? I am able to …

0
55
Member Avatar for ressaince

i have a Web services that i build in ASP i need to pass byte array parameter or stream to consume the web service? are php can convert uploaded file into byte array or stream? please help me thx

Member Avatar for qualitybrains
0
153
Member Avatar for bonethirst

Hi guys, I might be new to jsp.. but i was trying to read an xml file through jsp and it doesn't show anything when i open it..can someone help me figure out whats wrong with it?? or is there anything that i missed? Thanks in advance. here's a bit …

Member Avatar for peter_budo
0
153
Member Avatar for umandajayo

Hi friends I am trying to install drupal-6.16 to my local server...I am using XAMPP server on windows xp. but i am getting this error massage. [B]Warning: fopen(./sites/default/default.settings.php) [function.fopen]: failed to open stream: No such file or directory in E:\local server\xampp\htdocs\www\drupal\includes\install.inc on line 188 Warning: Cannot modify header information - …

Member Avatar for rajarajan2017
0
137
Member Avatar for jephthah

[QUOTE=jephthah;1223996]...[/QUOTE] [I]>> "the designer" .... you mean it's not you ? >> who is this person? give us their name! [/I] [QUOTE=cscgal;1224020]...[/QUOTE] [I]> [url]http://jess3.com[/url][/I] so we discover this new website design was developed by some "Jess3". I don't know anything about this developer, but it's funny how their [I]own[/I] homepage …

Member Avatar for diafol
3
1K
Member Avatar for yasaswyg

Hi, I've been having trouble understanding this code that my professor put on the web. Can someone help me understand this. I thought this would compile and run but its giving me an error message " Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at fileio.AllCapsDemo.main(AllCapsDemo.java:64) " Im not sure how i …

Member Avatar for sergb
0
150
Member Avatar for rukshilag

This is a table customization in a search form. I need the ticked checkbox values to be passed to the pdf.php in order for the table to be customized. but the table is not filled nor is it customised. [CODE]<?php //access incoming name, id or radio button values $cs = …

Member Avatar for Zagga
0
171
Member Avatar for rukshilag

Im trying to customise search fields and then display in a pdf but the code just doesnt work. can someone take a look and see why exactly this is not working? if u see any mistakes? [CODE]<?php //access incoming name, id or radio button values $cs = $_GET['cs']; $name=$_GET['name']; $uni=$_GET['uni']; …

Member Avatar for urtrivedi
0
154
Member Avatar for nu2cpp

Hi Guys, I am running vc in visual studio 2009. I have a code that I wrote to read a binary file a while back using c++ (all in a console). Now I am trting to update the code using a GUI. In the console version the file location was …

Member Avatar for Narue
0
98
Member Avatar for aneeqahmed

I am doing my home work in which i have to pass values from java text field to text text file. My code of program is given below. The problem is that the program is not passing values from text field to text file. Please help me. /** * @(#)GUITest.java …

0
44
Member Avatar for jimJohnson

I need to write a program that reads a text file and counts the characters in each line. The program should display the line number and the length of the shortest and longest lines in the file, as well as the average number of characters per line...This is what I …

Member Avatar for WaltP
-2
132
Member Avatar for glubbish

I am looking for a way to extract an icon from a program and save it to a file, then load from the file and use again, keeping 32bit colors I have tried using ConvertTo32BitImageList() saving as file and stream When ExtractIcon() is used the icon is fine, I can …

Member Avatar for glubbish
0
117
Member Avatar for brightsolar

Hi everybody have not posted in a while. In all truth i am stuck but very close to finding the collision answer. Note 1 (Most of this skelton was premade for the assignment). Some variables i don;t even know what they do like Vy1. Incx, Incy. Stuff like the file …

Member Avatar for 0x69
0
205
Member Avatar for boiishuvo

Ok firstly I want to show you my code here: [B][COLOR="Red"]Trader.h file[/COLOR][/B] [code] const int NumSeller = 1; const int NumBuyer = 1; const int NumBids = 10; const int MinQuantity = 1; const int MaxQuantity = 30; const int MinPrice =50; const int MaxPrice = 100; class Trader { …

Member Avatar for boiishuvo
0
150
Member Avatar for ContactaCall

Hello. I'm currently developing an IVR system under Asterisk through the Asterisk Gateway Interface (AGI), connecting to a Mysql server using the Mysql C API. The server returns a ticket number that I have to say to the client, so I developed a TTS (Text To Speech) algorithm to say …

Member Avatar for saurabhjasuja
1
343
Member Avatar for moni94

How can I make a stream appendable and readable at the same time? Because when I do this: [CODE]static FileStream fs = File.Open("keys.txt", FileMode.Append, FileAccess.ReadWrite, FileShare.None);[/CODE] I get the following error: "Append access can be requested only in write-only mode."

Member Avatar for finito
0
958
Member Avatar for virspy

hi frnds.. Here i m trying to attach the file from my webpage..it is working..but when i checking on the mail, the attachment is corrupted and it is not giving any file format [CODE]<?php $e_mail=$result['EmailAddress']; $fileatt = $path; // Path to the file $fileatt_type = "application/octet-stream"; // File Type $fileatt_name …

Member Avatar for muaazab
0
129
Member Avatar for virspy

Hello friends I want to send the attachment with mail in my code iam successful in sending the mail but the problem is the attachment iam getting is in unknown format can any one please help me in resolving the issue i already posted this but i not get any …

Member Avatar for DonaldAlexander
0
176
Member Avatar for jokers6

Hey guys i have this program and i want you to tell me what is wrong cuz i can't figure it out !! This is what i have to do: (the code follows) When the form is loaded, read the records in P3S3 Data File For Import.txt to a listbox …

0
64
Member Avatar for Silvershaft

Hey all! I got a little problem, well actually not so little when I try to go play something the graphic card crashes I get a notice on bottom right that it crashed and restored and sometimes I might get a bsod. It has worked well before, but it suddenly …

Member Avatar for caperjack
0
341
Member Avatar for k2k

i was having fun with php until i hit this road block... geolocation.class.php is in the same directory as my index.php.. anyone has any idea why it can't find it? =( /* * this is part of the index.php * / [code] <div id="midBox"> <table border="0" align="left"> <tr><td><script type="text/javascript"> var …

Member Avatar for saiprem
0
277
Member Avatar for 3cats

I think I understand functions but maybe not. I am getting an error on my open files function. I looked around a bit and didn't find any answers. The compile dies on line 36 'char' should be preceded by ')' I don't know whats wrong. Any help would be appreciated. …

Member Avatar for 3cats
0
223
Member Avatar for niths

[QUOTE]hi all, i had a upload page and a down load page. so when we upload a file that wil get displayed in a table and a download link wil be beside that file. everything is fine wit upload but wen i click on download link i am getting an …

Member Avatar for colweb
0
145
Member Avatar for evans007

So I'm trying to loop and read in values from my csv while there are values to be read. What do I use for the while condition? I tried all manner of things..... [CODE] void load() {//read from file ifstream inFile("csv.txt"); string line; if(inFile.is_open()) { } else { cout << …

Member Avatar for NathanOliver
0
109
Member Avatar for kdcorp87

i have some gif image which i converted to .cursor file and trying o use in my winfrom like that [CODE] Cursor c ; public Form1() { InitializeComponent(); } private void button2_Click(object sender, EventArgs e) { c = new Cursor("cursors\\newcursor.cur"); panel1.Cursor = c; }[/CODE] but i getting error that cursor …

Member Avatar for kvprajapati
0
155
Member Avatar for ashu2409

Hi, I am trying to upload a large xml file (around 500 MB) on ftp location,but i am getting this error--- it works fine upto 250 MB file The underlying connection was closed: An unexpected error occurred on a receive. i am getting the error on this line:- `" Stream …

Member Avatar for dnanetwork
0
172
Member Avatar for willyontour

I'm using Windows 7 (64-bit) on a Dell Inspiron 1750 Spec: Pentium (R) Dual-Core T4300 2.10GHz 4GB RAM I used firefox 3.6, IE8 and Google Chrome. Recently my computer has completely frozen. Screen locks, can't do anything. CTRL-ALT-DEL does nothing. All I can do is hold power button down to …

Member Avatar for agraj1
0
283
Member Avatar for ahmed.123

This is what i have done so far but i want the output like that square#1:not an increasing square square#2: increasing square square#3: not an increasing square please help Help with Code Tags C++ Syntax (Toggle Plain Text) [CODE]#include <iostream> #include <fstream> // Header to use input and output #include …

Member Avatar for VernonDozier
0
108
Member Avatar for ahmed.123

i want to read in several `4*4` squares of numbers from a file and determines whether or not each of those squares is an increasing square. file containing numbers 3 1 2 3 4 2 3 4 5 6 7 8 9 5 6 7 8 1 2 3 4 …

Member Avatar for ahmed.123
0
124
Member Avatar for fugnut

Hello all, I am at the beginning of a new program working with structs and I am getting an error I cannot figure out. My code so far is [CODE]//PJ901 PAtrick Nealey //Acme Payroll Program #include <iostream> #include <fstream> #include <iomanip> #include <cstring> // for _strcmp using namespace std; const …

Member Avatar for Fbody
0
131
Member Avatar for pymatio

Hi everybody, I'm trying to make a program that goes through a directory and checks for broken links. Unfortunately it isn't working: [CODE] // Main.cs using System; using System.Collections.Generic; using Gtk; namespace LinkMonkey { class MainClass { public static void Main (string[] args) { bool cli = true; bool recursive …

0
55

The End.