588 Posted Topics
Ok, so here are the rules: [B] -Keep the questions [U][I]very[/I][/U] basic (PHYS 101 & 102); this is, afterall, a computer forum. -Wait for confirmation that your answer is correct before posting your question. -If 24 hours passes and still no confirmation, post a new question to keep the game … | |
Hey guys, this is a calculator program. I keep getting 0s for my answers... is there something wrong with the logic in this function: main() cin >> choice; while ( choice != 'q' && choice != 'Q' ) { cout << "For first fraction\n"; getFract(choice, 1, num1, den1); cout << … | |
Hey guys. I have a horrible problem with passing strings in a function and using the string to open an input file. Could you guys give me a hand? [code]#include "pe3.h" int main () { int ary[ SIZE ] ; ifstream inp ; string iNam ; cout << "Input-file name: … | |
Re: Don't leave =( The thread just turned into a debate instead of a memorial... no harm on your behalf. I took part in the discussion and I would like to publicly appologize. Some of my posts I'm noticing were out of anger and directly targeted a member of the forum. … | |
Hey guys, I'm in a red hat cmd line class. I'm on the boarder of not having to take the final exam and am looking for ideas for a pretty simple extra credit project? I know basic cmds and how to write basic scripts. any clue on what i could … | |
Re: [quote=joshSCH;347255]What about our constitutional rights as Americans? If we start eroding our rights, some day we'll end up like the British :D.. then our fate will be no different from that in [U]1984[/U]. If guns were illegal, the killer could have still bought one off the black market.. or used … | |
Re: Hm, I don't mind it though users with smaller monitors may have a scrolling issue. I find it to be easier on the eyes myself. I think a lot of it is just the change of it... give it a week or so and [I]then[/I] if people complain maybe it's … | |
Hey everyone, We have a UNIX DecAlpha here at work, and I need to change the IP on it. Could someone tell me how to do this through command line? Thanks! :mrgreen: | |
Re: probably right, i just knew they weren't completely foreign... =\ | |
Re: there's a teacher at my school that pronounces it r-oo-ter.. haha i get a kick out of it every time. :D | |
This program works unless I input 's' for marital status. Does anyone see my logic error? #include <iostream> #include <iomanip> using namespace std ; void getData ( int& numChild , double& grossSalary , double& penPay , char& maritalStat ) ; double taxAmount ( int& numChild , double& grossSalary , double& … | |
hey guys, could someone explain why you include string::size_type or string::npos? What do these do? | |
Re: [quote=christina>you;331285]Hey everyone, I have been offered a full-time job over the summer at my workplace. They told me I could work full-time if I thought I could set up a WAN from our main office to the 6 satelite offices via T1 lines. I am very comfortable doing this on … | |
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, … | |
Hey, I'm working on another program for class which is to determine the day of the year given the date the user inputs. The date will be input in the xx-xx-xxxx format. Is there a way I can cin Mon, skip char, cin Day, skip char, cin Year ? How … | |
Hey everyone, My brother was playing a game the other day and his computer just shut off. When he rebooted it said missing/corrupt SYSTEM file. It's not his HDD, because he can boot into knopix and view his files. When we try to use a windows disk to boot from … | |
Re: [quote=RwCC;339153]Have a good Easter everyone, 45 minutes left until a nice 4 day weekend. :mrgreen: Nice hot day, cold beer, going to be good.[/quote] glad you get a hot day :sad: it's around 30 here. | |
We're going to format a drive, but what is exactly a GB in MB? we put in the values for the partitions and it comes out to like 99.9GB instead of 100GB | |
Re: Usually when I've recieved this error, I'ved noticed my function prototype's formal parameters don't match my function's actual parameters. | |
Re: WEP is a security feature which can be enabled on wireless APs/routers. Assuming your internet is going through a router you will need to logon to the routers configuration page. right-click on your network connection (start->settings->network connections) and click on status. Then click the support tab and write down the … | |
Hey everyone, this is a big one. The question has asked that I define functions and then write the function main to test the functions I wrote. I keep getting the following error at my first cout in main: error C2679: binary '<<' : no operator found which takes a … | |
Hey all, I'm doing hw, and I did a desk-check for this program and got completely different answers than that of the computer when the program was put into the compiler. The question says to consider the function `defaultParam` void defaultParam ( int u , int v = 5 , … | |
Re: Do you have a wireless card in your PC? If not, run to Wal-Mart and grab a patch cable (not a crossover cable). When you get the cable, just hook it from your modem to your PC. Hope this is specific enough. | |
Hey everyone, I'm planning on purchasing a computer today, but wanted to get some input first. I've heard stories of people not being able to play games on their widescreen monitors because it stretches the characters and whatnot... is this so? I plan on getting an openbox viewsonic vx2245wm (maybe) … | |
Hey everyone, I just got my GeForce 7950GT KO in today, and I noticed it says [I]HDCP Enabled[/I]. What is this? | |
Re: I don't have a prefered keyboard, as I've been without a desktop for going on a year now. Even with a desktop, I've used cheap boards. With my new pc, I will be purchasing a comfort Microsoft keyboard (hopefully). As for the best mouse... well.. no contest. Anything from [URL="http://www.razerzone.com/"]RazerZone[/URL] … | |
Hey guys, I'm stuck again. The program is supposed to get the estimated population after n years using the equation P + (B*P/100)-(D*P/100) and the growth rate using B-D. Here is what I have so far, but I can see I'm going to be getting stuck. How can I set … | |
Hey everyone, we're going over functions now and I am supposed to write a program that counts the number of vowels in string of characters. I'm not sure what I'm doing wrong... could someone help? #include <iostream> using namespace std ; int isVowel ( string ) ; int main() { … | |
Hey everyone, I'm not sure where to post this so feel free to move if needed. A fellow classmate and myself are starting on message board project. I was asked to spec a powerful windows based system, but am unsure of what is most important in a web server? Could … | |
Re: the phrase "I've got a bug in my computer" was coined by Grace Hopper in 1945, when her computer began acting erroneously. She did in fact find a bug in her computer... a moth. :D | |
Here's my code... i put in some troubleshooting couts, but I can't figure out what's going on. #include <iostream> #include <iomanip> #include <fstream> using namespace std; int main() { const double INT_RATE = 0.10 ; const double FACTOR = 1.0 * INT_RATE ; const int START_AGE = 16 ; const … | |
Hey everyone, I'm currently enrolled in 4 year computer science BS program with a major in networking and hopefully a minor in programming. I am wanting to attain as much knowledge as possible, but am unsure of what the best route to take is. I will provide my plan and … | |
Hey guys, I posted this in site management, but I'm thinking I'll get more feedback here. What is most important (hardware) when specing out a webserver? | |
hey everyone, I am including my code and was wondering if there is a prefered way to document? I have comments which describe what does what, but I'm wondering if there is a neater and/or more efficient way to do it... /***************************************************** * COSC 230 - Structured Programming * Chapter … | |
Re: I would be D, notably the D in [I]Blood Lust[/I]. (but i wouldn't slay mattyd ;)) | |
Hey everyone, We're not running exchange server (yet) but we do want to backup our email. The idea was to have a forward address to say [email][email protected][/email] and have our server download the emails via outlook to have a backup copy. Is there a way to tell Outlook to automatically … | |
Hey everyone, I'm still trying to get my mouse to work properly in Fedora 6.0 I am using a razer diamondback mouse, and only 2 of the 9 buttons work. I've looked at some of the conf.org file suggestions, but can't make heads or tails out of it. could someone … | |
Hey guys,I'm getting complaints about the network being slow from time to time.I checked our event viewer on the server and am getting the following error.[quote]Performance counter data collection from the "ASP.NET_2.0.50727" service has been disabled due to one or more errors generated by the performance counter library for that … | |
Re: what's the name of the game he plays? do you know how to open/forward ports on your router? | |
Re: When I was about that age I applied everywhere, and even got told by the assit. mngr that she would tell the owner about me... And i went back like 6 times asking about the position... every time being told not to worry about it. they hired someone else, a … | |
Hey everyone, I'm not trying to complain at all... I love this forum... I come here at least 5 times a day. I was just wondering if the new feature (not sure how new it is) with the key words, popping up ads when the cursor is hovered over them … | |
I created a game in the geeks lounge (word scramble) and would like a mod to change the rules for me, as the game take quite a long time... taking out the part that says they must wait for a confirmation from the person who scrambled the word. and adding … |
The End.