Member Avatar

Basically I need to read from a text file that looks like this customer Kevin checking myaccount 100.00 bond mybond1 1997 100 0.07 bond mybond2 2010 200 0.01 irabond myirabond1 1997 100 0.06 end customer Mark irabond hisirabond1 1999 200 0.08 bond hisbond1 1990 2000 0.10 end I need to get each customers info, name, account names and balance, etc into an object. This I know how to do. What I don't know how to do is break up the text file to allow this. Here's what I have so far: [CODE] #include "stdafx.h" #include <iostream> #include <fstream> #include <string> …

Member Avatar
0
4
Member Avatar

This is a somewhat big project for me as I'm not very experienced in c++. The end goal is to read a text file, and read every word in the text file. Each time a new word is read, store it in a vector. If a word is repeated, keep a counter for how many times the word was used. Right now, I have code that is supposed to read every word, and then give me a final count on the total number of words. For some reason it reads the first 4 and then stops. Can any one help …

Member Avatar
0
24
Member Avatar

Not really, just that I need to screw up my friend's computer at work. We're always attacking each other on the computer, but this time it's gone too far. He put a script on my computer so that every time I log on, the computer restarts, or logs off, making it imposible to log in. I have ways around it though, but I need something to mess up his computer bad enough so he can't figure it out and I have to help him, but not too bad so I don't get fired. Are there any suggestions for screwing his …

Member Avatar
0
38
Member Avatar

In my c++ class we are assigned to make a piglatin translator. I haven't had much experience with c++, but I've done quite a bit of programming in other languages. My main question would be what functions are available in c++ to handle strings and change them? I have a basic idea of how my program will work, but I'm not familiar with how c++ handles strings and how they can be changed. After a few google searches all I've come up with is that you can change strings according to character number. Does anybody have any better ideas?

Member Avatar
0
2
Member Avatar

I have a 2D array with generated doubles. I need to write this array to a CSV file so that I can open it in Excel. Is there a method or function in C++ that allows for this to be done? I could do it manually, but it would take a lot longer. Any help is appreciated, thanks.

Member Avatar
0
8
Member Avatar

Ok, so I this error on one of my PHP pages. Parse error: syntax error, unexpected T_PRINT in /var/www/html/texas/z_code/wells_edit.php on line 177 I have no idea what i'm doing wrong and I've been trying to figure this out for some time. If any one could help me, that would be great. And sorry for the crappy formatting, it's just how my boss wants it done. [CODE]<?php include("../z_includes/header.php"); include("../z_includes/db_connect.inc"); include("../z_includes/queries.php"); include("../z_includes/makeCalendar.php"); ?> <div id="content"> <p></p> <?php $id = $_GET['id']; print "id is $id<br />"; $query = wellsQuery(); $query .= " where WellApplicationID = " . $id; print $query; $Row = $myDB->FetchAssocQuery($query); …

Member Avatar
0
6
Member Avatar

I'm wondering if there is anything like lightbox but that is compatible html 5 videos. I know there are several ones that support youtube videos, but I want to do it with videos i'm hosting on my own site.

Member Avatar
0
11
Member Avatar

Does anybody know if there is an attribute that gives more controls for embeded videos wiht the video tag? I want to have an option for fullscreen videos on one of my sites, but the current controls only have puase play and volume. Is there anyway to have a fullscreen attribute added to the control set?

Member Avatar
0
6
Member Avatar

Haven't logged in to this site for years, and now I need some help. I also don't know if this is the right forum, but here it goes. I'm trying to write a site a hosts some of my own videos. I want to have a list of videos, each as a link, and when I click on one I want it to load on that same page by graying out everything else but the video. I'm using html 5 and css and I can get the video to come up, but the problem is that when I go to …

Member Avatar
0
6
Member Avatar

What's your favorite linux distro? tell us why.

Member Avatar
0
74
Member Avatar

This is basecally the movie game expect with band names. example: Red Hot Chili Peppers --> System of a Down. have fun! Red Hot Chili Peppers

Member Avatar
0
64
Member Avatar

I recently aquired an old compaq that still had a windows 2000 license. It didn't come with an OS so I want to put windows on it. Is there anywhere I cant get the ISO? like Micorsoft's website? Thanks in advance.

Member Avatar
0
6
Member Avatar

Since I don't eat at my computer a lot, I'm making this thread that goes a long with the "what are you eating/drinking right now thread" I'm having chicken when I get home.

Member Avatar
0
196
Member Avatar

I wish I had a double stacked steak and cheese subway sandwich on italian bread. toasted.

Member Avatar
0
19
Member Avatar

I don't if my mobo is dead or not. It's a VIA (sucky brand). When I reset the BIOS I wasn't able to boot into either the HDD or the CD-ROM. It would only boot off the floppy. So I don't know if it's dead or not. Any ideas?

Member Avatar
0
3
Member Avatar

Since I'm in the IT program at my school, I get a lot of MS products for free, and I noticed the ISO of SLED 10 on our website, and I'd love to run it on my machine. My question is, do I need to activate it to use, or can I just use it without paying?

Member Avatar
0
2
Member Avatar

I'm thinking about getting an iphone for christmas, but the thing is I hate AT&T and I don't want to pay $70+ a month for features i don't use. So I've found different ways of unlocking the iphone and was wondering if once it's unlocked I could take out the sim card and put in the one from my current phone so I can use my current provider. Is this possible? or is it more complicated than that?

Member Avatar
0
10
Member Avatar

Ok, so I'm trying to bridge two wireless routers together. one router is some wierd brand, and it's currently the only router on the network. I have a WGT624 netgear router that is in a separate network and i'm trying to bridge it to the other one, or at least make it an access point. Can i make the netgear router an access point? and if i can, does it have to be connected to the other router by a network cable? or can i bridge the two together? and how?

Member Avatar
-1
18
Member Avatar

Since there aren't any posts here, I'll start. What do you guys think about google making a phone?

Member Avatar
0
47
Member Avatar

I've always wondered this. Do sites like f4e1.com, trainn.com, and others really work? I mean you complete one offer and they send you like an xbox or a ps3 or an ipdo for free. Are they real, or just scams. And they even have testimonials from people who supposevely free stuff. What do you guys think?

Member Avatar
0
28
Member Avatar

I have a suggestion for cscgal to make a forum for games and game consoles. I'd be a forum to talk about game strategies, cheat codes, or whatever. That would be really cool.

Member Avatar
0
77
Member Avatar

I think I should have waited for July 7 of this year to post this, but whatever. Yeah, this is my 777th post. That's cool.

Member Avatar
1
25
Member Avatar

okay, I've had this on my mind for a while, is modding an xbox illegal? and if it is, is softmodding and xbox illegal also?

Member Avatar
0
10
Member Avatar

since ati has the linux drivers for my video card(ati radeon 9200), does that mean it can run all the eye candy and stuff? thanks for your help.

Member Avatar
0
27
Member Avatar

How can I record a skype conversation? Is there any FREE utilities out there that will let me do that? Notice I said FREE.

Member Avatar
0
3
Member Avatar

I'm just wondering, who's mormon here at daniweb?

Member Avatar
0
40
Member Avatar

This is awesome, my 500th post.

Member Avatar
0
48
Member Avatar

What the porst that need to be forwarded for this services? I'm also looking for a web based email server for linux. Help is appreciated Thanks

Member Avatar
0
2
Member Avatar

I need the drivers for the ATI 3D Rage Pro. They're not anywhere, I can't find them.

Member Avatar
0
6
Member Avatar

Since red hat has split into red hat enterprise (costs money) and fedora core (free), they no longer offer red hat donwloads. Is there a way I could get red hat 7?

Member Avatar
0
9

The End.