1,605 Topics

Member Avatar for
Member Avatar for Duki

Hey everyone, I'm working on this program for class but I'm getting an error in the [I]sumGrades[/I] function saying 'inp' is undeclared. Could someone give me a hand? #include <iostream> #include <iomanip> #include <fstream> #include <string> using namespace std; // initializes count of females, count of males, female GPA sum, …

Member Avatar for John A
0
103
Member Avatar for bhavna_816

I m writing this code in VB.NET web application to set the MIME type for some particular file extensions.It working fine but what i want to do is i don't want the web application I want this code in vb.net 1.1 console application.Is it possible to use httpresponse in console …

Member Avatar for bikash123
0
143
Member Avatar for nottoshabi

I need to fallow these directions for homework but I'm stuck on some things: [code] // open output filestream for appending // get valid file name ofstream fout( getOutFileName().c_str() ); // if the file opened successfully if ( fout.good() ) { cout << " The file was succesfully opened." <<endl; …

Member Avatar for John A
0
190
Member Avatar for laumeng

Hi, I'm using the latest version of Window Live Messenger and the worst part is, I'm experiencing some freezing of my messenger and after that, my avira antivirus is shut down and after that my whole computer went into the blue screen indicating the dumping of memory and auto restart, …

0
25
Member Avatar for Rocksoft

Hi, I have used stream reader to read text file using Readline method, and i tried to append all string to string builder, but i'm not able to get all string value, i'm only getting last line of file, i have used the following coding StreamReader reader = new StreamReader(@"d:\web_extract.txt",Encoding.Default); …

Member Avatar for _r0ckbaer
0
117
Member Avatar for Bobbiegirl

I have a project that is due and I have written the code and for a part of the code output to the file I cannot get the right format. I cannot figure out what the formatting should be can someone please help me. [code]#include <stdio.h> #include <stdlib.h> #include <string.h> …

Member Avatar for Aia
0
167
Member Avatar for Rocksoft

Hi, I have used C# in vs 2003, in my application i have to read text file, pick data from text file and insert into database, but the text file have some garbage value (garbage value "Ú" ) , so i should replcace this garbage value to single space, i …

Member Avatar for Rocksoft
0
214
Member Avatar for Mojo36

**When I try to upload an image to my website I get this error message. If anybody can help please put replies in easy to follow, step by step 1,2,3 answers as I am Computer illiterate and don't want to damage any other part of the script. Thanks in advance!!** …

Member Avatar for GliderPilot
0
107
Member Avatar for jonathan.jbkt

I followed the instructions on [this link](http://doc.ubuntu.com/ubuntu/serverg...s-installation) and am still getting $ cvs -d [IMG]http://ubuntuforums.org/images/smilies/icon_razz.gif[/IMG]server:jgardner@192.168.79.15:/cvs login Logging in to [IMG]http://ubuntuforums.org/images/smilies/icon_razz.gif[/IMG]server:jgardner@192.168.79.15:2401/cvs CVS password: /cvs: no such repository JGARDNER-MAC:~ jgardner$ This is the xinetd.conf file service cvspserver { port = 2401 socket_type = stream protocol = tcp wait = no server = …

0
15
Member Avatar for n.aggel

i have 10 different classes-objects that are controled by a another class{call it Central class). All 10 classes need to write to the same file(not at the same time). Is it better to have central class control the stream and pass it to the other classes, or each class should …

Member Avatar for Lazaro Claiborn
0
107
Member Avatar for ssaran

[COLOR=#000000]:eek: Hi all[/COLOR] [COLOR=#000000] Scenario:[/COLOR] [COLOR=#000000]I am creating dynamic PDF reports using XML and FONET. Reports include graph images which are also created on fly. Each time when report is requested graphs are created and saved on the server’s file system to be used by PDF. To save space on …

0
60
Member Avatar for rwagnes

Quick Question: Is there a way in c to read an entire file into a string or char buffer? Thanks, Elise

Member Avatar for rwagnes
0
340
Member Avatar for loslos

[code]#include <iostream> #include <fstream> #include <cctype> using std::fstream; using namespace std; int count[26]; int main(int argc, char *argv[]) { char ch; ifstream infile("c:\\a.txt") ; if ( !infile ) { cerr << "File could not be opened" << endl; exit( 1 ); } int i; for(i = 0; i <26; i++) …

Member Avatar for loslos
1
115
Member Avatar for blakisa

I am having a problem reading a .txt file off a web page using Microsoft's XMLHTTP method. After reading the the page into a variable called strContents I would like to write the data to a file. I have the following code but seem to get an error in writing …

Member Avatar for blakisa
0
185
Member Avatar for John P.

Hello, im trying to compile few .java files but i'm geting error message: GraphicsHandler.java:62: ';' expected for (Player p : server.playerHandler.players) { GraphicsHandler.java:67: illegal start of expression }}} I just don't know what to do... ----------------------There is my GraphicsHandler.java-------------- public class GraphicsHandler { public static int[] GFXspot = new int[5001]; …

Member Avatar for jwenting
0
99
Member Avatar for DynamitMsk

Hello, I'm working o a function that takes a file with binary numbers and returns the sum of those numbers. Here's where I'm now [code] int Sum (char *fileName) { char * numEnd; long temp(0); int result(0); string line; ifstream file (fileName); if (file.is_open()) { while (! file.eof() ) { …

Member Avatar for John A
0
110
Member Avatar for Tkassis

[B]I am working on an exercise given in class. I have managed to do most of it but I a a bit stuck on the permutation part. Here is what is required of me:[/B] Subject: Transformers An ideal electrical transformer has an input voltage and current, Vin, Iin and an …

0
66
Member Avatar for dirky083

My computer is riddled with numerous problems, including frequent pop-ups, extremely slow browser speeds with a decent hi-speed internet connection, and random crashes while playing computer games. I play world of warcraft, and recently the system will "rev up", and the processing becomes audible. This will continue until a system …

Member Avatar for the_count
0
247
Member Avatar for William Connery

Hi, I have a small python program with e-mail capabilities that I have pieced together from code snippets found on the internet. The program uses the smtplib module to successfully send an e-mail with an attachment. I want to give users an indication of the percentage of the e-mail that …

Member Avatar for William Connery
0
185
Member Avatar for DeeIT

Please assist with creating a program using arrays and functions for student grades. These are the requirements: To create and execute a C++ program with functions and arrays that will read student information input from an input text file, calculate the test average, program average, course average, and the letter …

Member Avatar for John A
0
3K
Member Avatar for bullgrad01

I have made some improvements but I know there are still some issues. Any help would be appreciated. I am not very good at this so please be patient. Here is my hjt. Logfile of HijackThis v1.99.1 Scan saved at 3:37:41 PM, on 11/20/2006 Platform: Windows XP (WinNT 5.01.2600) MSIE: …

0
36
Member Avatar for bullgrad01

I seem to have acquired some issues. I have recently moved and I am stuck. Any help would be appreciated. I have posted my hijack this log. Thanks P.S. I am not very knowledgeable of computers or virus removal. Logfile of HijackThis v1.99.1 Scan saved at 6:08:55 PM, on 11/19/2006 …

Member Avatar for John A
0
114
Member Avatar for noxee

Hi guys, When I try to compile the code below I get an error saying: error C2065: 'file' : undeclared identifier. But if I run the program it still works. [code=c++] // WordStreamTest.cpp //-------------------------------------------------------------------- #include "WordStream.h" //-------------------------------------------------------------------- using namespace std; //-------------------------------------------------------------------- void OutputNumber (const string &str); void OutputLine (int length); …

Member Avatar for Ancient Dragon
0
59
Member Avatar for DavidB

Hi, folks. I input an RSS news feed on to my site and I use a PHP routine to parse the input. I barely know PHP; basically, I learned just enough to get the feed working. I would now like to make a small edit to the code and am …

Member Avatar for sn4rf3r
0
143
Member Avatar for Aries4

Hi everyone, it's my first post here! ;) Everything was working fine on the computer (Win XP), and then all hell broke loose. I downloaded a video clip from a friend off msn, and then after watching it, I could no longer load up Internet Explorer, or Windows explorer. None …

Member Avatar for dmsheldon
0
238
Member Avatar for KillyBlame83

Hi everybody, the problem is what i wrote in the title, when i double click any folder, the desktop vanishes for 2 seconds and explorer.exe restarts...i've already read some similar posts tha describes my problem but i didn't find a solution...:sad::sad: so i done an hijack log: [code]Logfile of HijackThis …

0
57
Member Avatar for rowly

[COLOR=seagreen]hi, i didn't get any reply probably coz ya didn't understand what i mean ![/COLOR] [COLOR=seagreen]alright i'll make it simple.[/COLOR] [COLOR=seagreen]i have a file in excel and i have to read from this file [/COLOR] [COLOR=seagreen]here is the contents of this file[/COLOR] [TEX] [COLOR=seagreen]2,joined,2929828,429.6,2[/COLOR] [COLOR=seagreen]4,toytoy,2929299,122.8,19[/COLOR] [COLOR=seagreen]3,front shift,2299229,205,22[/COLOR] [COLOR=seagreen]3,shift,1111111,222,20[/COLOR] [COLOR=seagreen]...[/COLOR] [COLOR=seagreen]...[/COLOR] …

Member Avatar for rowly
0
103
Member Avatar for tosca

Hi, In previous versions of windows media player you were able to select "open file in new window". this meant that you could view more than one video stream at a time. I can't find this setting in version 10. Does it exist? It's very annoying as I cannot view …

0
36
Member Avatar for nanodano

Hi everyone, I have a simple setback in my program. I'm not the best way to go about doing this. I'm trying to do it in the simplest way possible. I have an input file that looks like this 2.5 600 -2 10 20 30 I want to sort each …

Member Avatar for WolfPack
0
102
Member Avatar for chip1123

Hey guys, I need help with this client server program I am working on. Description: The server program takes port # as a command-line argument and performs the following operations: 1. Opens a socket connection on the specified port 2. Listen for request from clients 3. When a client program …

Member Avatar for chip1123
0
128
Member Avatar for geeman028

Hi, i keep losing my internet connection everynight around 7pm onwards. My Pc can be on all day from 7am till 7pm and it's fine but after that it seems to loose connection sometimes every 2 mins and then could be every 20 mins it varies. Then i have to …

Member Avatar for Xpenetrator
0
163
Member Avatar for anahitgb

Hi everyone, I am in need of some much-appreciated help. My internet explorer keeps displaying the message, "the page cannot be displayed." I have Windows XP operating system. I have tried system restore which, but it says that system restore could not be completed. My Internet Explorer is 6.0. I …

Member Avatar for kylethedarkn
0
167
Member Avatar for chivilingo

Hi all, My computer was recently infected by a spyware call "PestTrap". I tried to remove it using ewido 4.0, which quarantined it. I then took a look in "add/remove programs" in the control panel. PestTrap still figured in the list of installed programs so I tried to remove it …

0
49
Member Avatar for puddin

[B]Good Day, PHP Members HELP W/DB Images[/B] I am desperately trying to allow the user to put selected images into the database and than view them in the photo gallery. If you know the method please tell me. I have tried for 3 days. I have in my database table …

Member Avatar for darylcharm
0
177
Member Avatar for vssp

Hai friends I need one clarification. I am usuing php code to read the existing pdf file . Some files open correctly but some pdf file open below format in browser. I not clear how its come. Biu the same coading open the existing pdf file correctly. Please help me …

0
108
Member Avatar for zoomster

My system seems to be getting slower by the day and I have run Norton and other programs but they come up clean, what gives? I need help deciphering this HJT log, thanks in advance Logfile of HijackThis v1.99.1 Scan saved at 8:51:10 PM, on 8/10/2006 Platform: Windows XP SP2 …

Member Avatar for zoomster
0
246
Member Avatar for g_hallan

Thank you mr crunchie for ur early reply... i am mewbie to this site and was unaware of teh rules.... as directed by u i am opening this new thread relating to my problem.... i have a system32 folder opening upo at start up. i tried the mentohod recommended by …

Member Avatar for crunchie
0
254
Member Avatar for SmrtAss

[COLOR=#000000]In the program of Figs. 11.3–11.5, Fig. 11.4 [/COLOR][COLOR=#cc0000]contains[/COLOR][COLOR=#000000] the [/COLOR][COLOR=#cc0000]comment[/COLOR][COLOR=#000000] "[/COLOR][COLOR=#000066]overloaded stream insertion operator; [/COLOR][COLOR=#cc0000]cannot[/COLOR][COLOR=#000066] be a member function if we would like to invoke it with [/COLOR][COLOR=#cc0000]cout[/COLOR][COLOR=#000066] << somePhoneNumber[/COLOR][COLOR=#000000];." Actually, the stream insertion operator [/COLOR][COLOR=#cc0000]could[/COLOR][COLOR=#000000] be a [/COLOR][COLOR=#000066]PhoneNumber[/COLOR][COLOR=#000000] [/COLOR][COLOR=#cc0000]class[/COLOR][COLOR=#000000] member function if we were willing to invoke it …

Member Avatar for iamthwee
0
120
Member Avatar for j1979c

[B]Errr... anyone knows what this means in Delphi language? [/B]:sad: [code] i : integer; i := i - $24; [/code] It's actually in a function that completes a WAV file header something similar to the Microsoft's RIFF specification for WAV. The code goes something like this. [code] procedure TForm1.StopRecording; var …

Member Avatar for j1979c
0
148
Member Avatar for Killer_Typo

This is a simple little word boggle game for those of you that would like to see something interesting. It is not very complex nor is it all to intelligent. The game is that you basically select letters on a game board to try and make words, only letters that …

Member Avatar for iamthwee
0
341
Member Avatar for ninja-naut

im new to this site so if i posted this in the wrong section.. im sorry.:rolleyes: so anywayz, im a having a problem with windows media player for about 2 weeks now. i installed the windows media player 11 beta and since then i havent been able to stream any …

0
51
Member Avatar for slacke

Hi I used an variable int i; in a faunction block as it is in a code below. [code] #includes.... int i; int function() { while(charbuff[i]!=' ') { ofstream stream("file.lng", ios::app) stream << charbuff[i]; i++; stream.close(); } return 0; } main() { ........... some code function(); /*call function */ cout …

Member Avatar for slacke
0
168
Member Avatar for mackers

I have a similar problem to others with a virus alert on my taskbar (now dissappeared) which has lead to unwanted pop ups for security and adult friend finders - I have been away and assume a colleague has used my computer to downlaod codecs? My Start Page on IE6 …

Member Avatar for tayspen
0
554
Member Avatar for Lumpy Hippo

here is my hijackthis log Logfile of HijackThis v1.99.1 Scan saved at 5:35:27 PM, on 7/5/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 C:\WINDOWS\system32\winlogon.exe C:\WINDOWS\system32\services.exe C:\WINDOWS\system32\lsass.exe C:\WINDOWS\system32\svchost.exe C:\Program Files\Windows Defender\MsMpEng.exe C:\WINDOWS\System32\svchost.exe C:\Program Files\Citrix\ICA Client\ssonsvr.exe c:\Program Files\Common Files\Symantec Shared\ccProxy.exe c:\Program Files\Common Files\Symantec Shared\ccSetMgr.exe …

Member Avatar for DMR
0
96
Member Avatar for computer_love

Ugh. And yet.. I'm back again. The computer has been going slow, for no apparent reason. No one has gotten on a bad website, to pick up anything. So far, I've run Spybot, Ad-Aware, Norton, and I cleaned it with Cleanup. Here's my Hijackthis Log: Logfile of HijackThis v1.99.1 Scan …

Member Avatar for computer_love
0
137
Member Avatar for FireNet

K, It's fairly easy to use a ostringstream object or a derived class to output text like a normal stream class like cout. Eg. [code] class console: public ostringstream { public: void Render() { std::string buff = ostringstream::str(); //Some code to put it to screen //Write it to a file …

Member Avatar for FireNet
0
539
Member Avatar for jonnykid

I was wondering if someone could help me out. I've run HijackThis and SmitfraudFix. I cleaned all of the files SmitfraudFix found (atmclk.exe being one of them). However, my computer is still running very slowly and my internet browsers freeze up frequently. I think that there's still some sort of …

Member Avatar for DMR
0
105
Member Avatar for sgriffiths

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() { …

Member Avatar for sgriffiths
0
2K
Member Avatar for Aries4

What, if anything, can you see wrong here. Been having a hard time booting up IE, Windows Explorer, My Computer, Control Panel, etc. after reboot or restart. Thanks in advance! Here is my HiJack Log: Logfile of HijackThis v1.99.1 Scan saved at 9:00:50 PM, on 5/30/2006 Platform: Windows XP SP2 …

Member Avatar for crunchie
0
407
Member Avatar for computer_love

Hey. Everytime I get on the internet, it takes a while to load. Not a real long time, but longer than usual. When they ACCIDENTALLY cut off out internet (stupid SBC people).. they told us to cut off our firewall because the 2Wire came with one. It gave us a …

Member Avatar for csmwanda
0
202

The End.