1,990 Posted Topics

Member Avatar for ecntrader

Please post what you've tried so we can tell you where your error is. Welcome aboard

Member Avatar for ecntrader
0
6K
Member Avatar for jamesny89

tonykjose.....welcome aboard once more...[U][B]system("pause"); [/B][/U]it will pause a program before it exits.The [U][B]system("cls");[/B][/U]...is a call to the OS command line, "cls" is a command on some operating systems that clears the screen.

Member Avatar for zandiago
0
87
Member Avatar for helixkod

consider this: [CODE] int count = 0; int min = 32767; for (i=0;i<count;i++) { if (number[count]<min) min = number[count]; }//end of i cout<<"Minimum # is"<<min<<endl; [/CODE]

Member Avatar for Lerner
0
280
Member Avatar for The Dude

This is a great environment for Prom: [url]http://www.youtube.com/watch?v=TtJRNyPK-lc[/url]

Member Avatar for Lardmeister
0
63
Member Avatar for joshSCH

I have a quick thought. Many persons who join the forums are usually students who are required to take a course, for example C++. After the student has completed their course and have received the help from the forum, many never return here. So the inactive accounts/profiles...pretty much just hang …

Member Avatar for thunderstorm98
0
175
Member Avatar for helixkod

Good catch...just to emphasise. example: [CODE] 12/58 = 0 [/CODE] (integer arithmetic drops the fractional part). Welcome aboard too.

Member Avatar for zandiago
0
98
Member Avatar for zandiago

This is what I've got so far: [CODE] #include <iomanip> #include <cmath> #include <fstream> #include<string> #include<iostream> using namespace std; int main() { double numA=0; double numB=0; double productB; double accumulator = 0; cout<<"Your two numbers to multiply are?"<<endl; cin>>numA>>numB; double productA = (numA * numB); if (numA>numB||numA%2==1)//check if larger and …

Member Avatar for zandiago
0
259
Member Avatar for DREAMER546
Member Avatar for DREAMER546
0
112
Member Avatar for rogenie

To get the largest and mimimum #, we could create/use a Max() function after we've declared/initialized i & count to zero: [CODE] int Max() { int largest = Numbers[0]; for(int i = 0; i < count; i++) if( largest < Numbers[i] ) largest = Numbers[i]; return largest; } [/CODE] This …

Member Avatar for Duoas
0
943
Member Avatar for Skekis

Hello there, if you notice that your PC is running slow, it maybe possible that computer is still infected. In addition to viruses, your computer may be infected with spywares, Trojans, worms, adwares, viruses and other malwares. Personally, if a PC is infected, I do recommend using more than one …

Member Avatar for crunchie
0
153
Member Avatar for lasher511

Ok then...how about this: [url]http://www.youtube.com/watch?v=TtJRNyPK-lc[/url] and [url]http://www.youtube.com/watch?v=YiOiA1yThJ8[/url] and [url]http://www.youtube.com/watch?v=OEotMbRfDvA[/url]

Member Avatar for zandiago
0
54
Member Avatar for DemonFox
Member Avatar for zandiago

[CODE] #include <iomanip> #include <cmath> #include <fstream> #include <string> #include<string> #include<iostream> #include<iomanip> using namespace std; int main() { ifstream infile; ofstream outfile; int num;//number of grades int Hi;//highest test grade int Low;//lowest test grade sting stat;//status of grade, whether higher or lower than avverage infile.open ("grades.txt"); outfile.open ("gradeOutput"); double number;//the …

Member Avatar for zandiago
0
564
Member Avatar for zandiago

Write a c++ program that will read in an unknown number of employee records from a text file call “PAYDATA3.TXT”. Each employees record is a string of 47 characters (with spaces), set up as follows: Positions Data Description 0 – 14 Last Name (15 characters) 15 -24 First name (10 …

Member Avatar for zandiago
0
162
Member Avatar for hetfield

well, in addition to cost, you may wanna take into consideration what you're going to be using the PC for, for example if you're a PC gamer, you'll want to think about grapics (monitor size), memory, processor speed, weight, wirless and battery power....just to name a few. Personally, i've had …

Member Avatar for bored2k
0
196
Member Avatar for vikasbm

Sorry to hear about the loss of your laptop. Pitty you didn't get the lo-jack with it. I remember reading somewhere that there is a software that if installed on the laptop (while in owners possession) would alert the owner if someone tries to access the interent. It would let …

Member Avatar for FragFighter
0
156
Member Avatar for wish71
Member Avatar for Varelei
Member Avatar for Llama
Member Avatar for ssjoyce

Hello there, if you notice that your PC is running slow, it maybe possible that computer is still infected. In addition to viruses, your computer may be infected with spywares, Trojans, worms, adwares, viruses and other malwares. . My personal recommendation for cleanup softwares are : Adware SE, ACE, Avast, …

Member Avatar for zandiago
0
216
Member Avatar for jrice528

[QUOTE=Narue;449187]It's possible that he wants you to use global variables, but if that's the case I'd seriously consider getting a new teacher.[/QUOTE] Silly things teachers make you do make/mandate in codes frustrates the heck out of everyone, it's such a turn-off for noobs like.

Member Avatar for iamthwee
0
180
Member Avatar for sneha_venky

oookk then....what a long code....i won't even bother to compile the program...whats this game suppose to be? sneha_venky...try somrthing simple to start out with...how about writing a c++ game that asks the user to guess a number between 1 and a 100. If you guessed correctly, it will say you …

Member Avatar for vijayan121
0
218
Member Avatar for Fool

A few things: We only provide help, we don't give away codes. You must also try to think about it on your own. Minimum value for a variable of type short. –32768. Maximum value for a variable of type short. 32767. Visit here for some other relavnt information:[url]http://msdn2.microsoft.com/en-us/library/ms860861.aspx[/url] I have …

Member Avatar for Fool
0
317
Member Avatar for toko

Try this: [CODE] srand ( static_cast<unsigned int> ( time ( 0 ) ) ); int randNum = rand() % 10 + 1; [/CODE] :cool:

Member Avatar for zandiago
0
38
Member Avatar for onlyled12

i did this program with the loops and not needing a separate functions from main.

Member Avatar for zandiago
0
431
Member Avatar for zandiago

[CODE] #include <iomanip> #include <cmath> #include <fstream> #include <string> #include<string> #include<iostream> using namespace std; int main() { int num1 = 0; int num2 = 0; char again = 'y'; while (again=='y') { cout<<"Please enter two numbers to compare "<<endl; cin>>num1>>num2; cout<<"The two numbers entered in order were "<<num1<<" and "<<num2<<endl; …

Member Avatar for zandiago
0
7K
Member Avatar for zandiago

Write a c++ program that will read in, from a file entitled "word.txt", an unknown number of single words (no spaces ). The program will then print out the word, move 2 tabs to the right, display the word with the first letter removed, move 2 tabs to the right, …

Member Avatar for zandiago
0
413
Member Avatar for zandiago

Good day. I recently purchased a TI-84 calculator and realized that it has some programming commands as a c++ compiler would. Is it possible to load a c++ program on a ti-84 calculator...thx

Member Avatar for zandiago
0
99
Member Avatar for eeneilson

I've always thought about this too....but if you need different colour text..i think you could use " #define yl system("color 0e");".

Member Avatar for daniweb2013
0
354
Member Avatar for twomers

Oh my goodness...that's carzy....not many cars can do that. Well time for me to head to the alps...

Member Avatar for jasimp
0
132
Member Avatar for The Dude

ooookkkkk then....... so michael jackson or this guy: [url]http://www.youtube.com/watch?v=LbvP7dT3Dx0[/url]

Member Avatar for Lardmeister
0
58
Member Avatar for Jooolian
Member Avatar for cguan_77
0
217
Member Avatar for zandiago

The assignment is : Write a C++ program that calculates the volume of 3 different geometric shapes. Your program should give the user a menu like the following and repeat until the user wants to stop. Volume Calculation Program Select the Number of Your Chosen Object 1. Dumbbell 2. Axle …

Member Avatar for zandiago
0
195
Member Avatar for nsesem

Just calm down and think about about it. Use a flow chart to get some ideas and then post your code that you've tried. Looks like in this code, they may be a need for if/else statements. The only way to be successful in programming is to try and get …

Member Avatar for zandiago
0
114
Member Avatar for makmak02
Member Avatar for disturbed_angel
Re: Hi

welcome aboard...i could write a book about u jennifer...just joking

Member Avatar for jbennet
0
110
Member Avatar for niki01

[QUOTE=Sturm;443853]Are most computer science professors that incompetent?[/QUOTE] ..To be honest, it's unfortunate, you learn more from Google and the forum, than these instructors...it's sad. Neither did i know about the airplane algorithim. For example, on one of the programs, I used a 'break' with a 'for' loop. The program compiled …

Member Avatar for Killer_Typo
0
156
Member Avatar for Ben Jebara

Nice to have you aboard. You've got an interesting country there...quite diversed.

Member Avatar for zandiago
0
62
Member Avatar for thewizard397

My choices: 1. [url]http://www.youtube.com/watch?v=YiOiA1yThJ8[/url] 2. [url]http://www.youtube.com/watch?v=OEotMbRfDvA[/url] And then...who is it going to be guys...Michael Jackson or : [url]http://www.youtube.com/watch?v=Ll8Qm8yDj-8[/url]

Member Avatar for zandiago
0
144
Member Avatar for Arclight

Hhhhmmmmm...if you're unable to turn on your fire-wall, I do recommend that you clean/restore your registry files…if these are corrupted, your PC will slow down. The software to help you with your registry: RegCure and Regpair. Some of the above mentioned programs can be downloaded at [url]www.cnet.com[/url]. Also, there are …

Member Avatar for zandiago
0
220
Member Avatar for ludacris2k4

When you say that your background has been 'locked out', please elaborate. Also, you have additional copies of "C:\WINDOWS\system32\svchost.exe". I think that there should only be 2.

Member Avatar for ludacris2k4
0
154
Member Avatar for zandiago

I need a head-up on this program....i really don't know where to start....however for section one, i'm guessing we'll have to use for loop from 1000 to 9999...because of the fact that they show the range of the samllest to largest 4 digit #'s. In section two I guess we'd …

Member Avatar for zandiago
0
245
Member Avatar for QueenBeeautch
Member Avatar for zandiago

Good day: There have been similar posts to my question...but i don't see what I'm doing wrong. Our professor wanted us to use a switch/case statement, we started transversing a string....The assisgnment : Write a program that will read in a one line phrase from a text file named “vowels.txt”. …

Member Avatar for zandiago
0
201
Member Avatar for zandiago

Good day guys: The assignment is : Write a program that will generate an unknown (between 93 & 139) count of random numbers whose values fall between 147 and 206. Calculate the average to 2 decimal places and the standard deviation (3 decimal places). On the monitor, display only the …

Member Avatar for zandiago
0
188
Member Avatar for thunderstorm98
Member Avatar for MartyMcFly

Just out of curiosity...I'd like to know the amount of posts that are required to progress through the different levels of poster...ie. New poster---->junior poster in training------>Junior poster------>?

Member Avatar for jasimp
0
548
Member Avatar for zandiago

The following is my "inFile": [code]UEAALEUE RIXETOHI BACOZOEI DIUEAOAU ZIKOFIMO RESUZEAE IIJEHUMO EEQINOXO TAOEKIBI RUQICIGU ZIWAREWE HIDIFIFO MOIACALA MEJIEACO UAPEUUQU YISOZAZO KENIDONA EEVIYOHU SEJEXEYA OESEQUFU NUJECAUE RAKAWUME NISIMAKE MEPIBADO TAUELAZI IIEACINU IITOGIIE GIEIFEVU NIOUQELU IIVOFEHI TOKUCORU GUQOEOJE HOBUUIXA HOVEDAGO JEROMAFA TOLIOELU QIGOIIAA TEDEIUOA COZOLELA YOHUZUZA QUNACAKO POSAEIGA JECAMOPE VAKEKAPA LEJEVINE …

Member Avatar for zandiago
0
275
Member Avatar for JohnHull
Member Avatar for Salem
0
118
Member Avatar for valuum

Hello there, if you notice that your PC is running a bit crazy, it maybe possible that computer is infected. In addition to viruses, your computer may be infected with spywares, Trojans, worms, adwares, viruses and other malwares. Please let us know what type of computer you have and also …

Member Avatar for Suspishio
0
145

The End.