Posts
 
Reputation
Joined
Last Seen
Ranked #313
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
88% Quality Score
Upvotes Received
28
Posts with Upvotes
21
Upvoting Members
19
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
10 Commented Posts
~55.2K People Reached
Favorite Tags
Member Avatar for jimJohnson

I am writing an atm program for a class and will enclose the instructions. I really want to just write a section of code and make sure I am doing it right before I move on. I am starting with the main menu and was wanting to know if someone …

Member Avatar for michealadejimi
2
12K
Member Avatar for restrictment
Member Avatar for restrictment

Well we all have seen the common questions on creating squares and hollow squares out of asterisks in C++, but how about creating a program that prints out a circle in asterisks? Obviously this would look like an oval due to line adjustment, but it would be quite interesting to …

Member Avatar for CharlieCap
2
2K
Member Avatar for restrictment

I accidentally posted a lower version of the game that had more flaws, and a few less features. This one has a few more minor bugs fixed, and a power attack instead of a normal attack.

Member Avatar for krieg
0
677
Member Avatar for Shinedevil

This is something that I made a while back during thanksgiving 2007. If you want to add on to it you can, it's not very well made as in the organization sucks. But it is pretty cool in the fact that you can navigate your acii environ with color and …

Member Avatar for mrpi64
0
2K
Member Avatar for restrictment

I keep getting errors and I don't know why.. #include <iostream> using namespace std; class IceCream{ private: int flavor[3]={0,0,0}, topping[3]={1,2,3}, scoops[3]={4,5,6}; public: int getFlavor(int); int getTopping(int); int getScoops(int); void setFlavor(int); void setTopping(int); void setScoops(int); }flavorX, toppingX, scoopsX; int IceCream::getFlavor(int choice){return flavor[choice];}; int main() { cout << flavorX.getFlavor(1); system("PAUSE"); }

Member Avatar for mike_2000_17
0
139
Member Avatar for restrictment

Hey everyone, I am taking an online C++ class and part of our assignment is to complete a whole bunch of small program snipits on a site called myprogramminglab.com. This one program seems to have me stumped as I am not very familiar with Data structures. Could someone help me …

Member Avatar for restrictment
0
256
Member Avatar for maria536

This is supposed to generate a password, but It is not displaying the way it is supposed to display, can someone please look at my code and let me know why it is not printing out Enter 5 character string: hapPy Password is: jAaRY Press any key to continue_ This …

Member Avatar for maria536
0
493
Member Avatar for restrictment

Hey guys, I need a really simple code for chatting across consoles. I have looked up many tutorials on how to do this, yet they all seem to fail. All I want is a VERY simple chat that sends data from the client to a file, and then receives the …

Member Avatar for restrictment
0
953
Member Avatar for restrictment

Hey Everyone. I recently created a game in abode director, and lost the .dir file. I currently ONLY have the .dcr, and back when I created the game, I added an obnoxious 'permanent' banner to an old affiliate who did not support me back. (So I would prefer to no …

Member Avatar for restrictment
0
85
Member Avatar for bman214

Hello! I am making a text-based game (I am new to C++) called The Final Journey (I made the name up, didn't copy) and I have had some trouble with the code. I am using Dev-C++ (I plan to get VC++), just so you know. Here is what I have …

Member Avatar for bman214
0
202
Member Avatar for hq1

I have an assignment that i need to do and i have no idea how to do this, I was hoping someone would be nice enough to help me out, its a begginner program that needs to be done in visual stdio c++: Heres the assignment: Try to write a …

Member Avatar for Fbody
0
442
Member Avatar for RickSMO

So I am beginning to learn C++ and I have this issue where whatever I do pops up in command prompt quickly, like a flash of it. I remember I had this issue before and I was able to add or change something in my code so that I had …

Member Avatar for Narue
0
157
Member Avatar for restrictment

Hello all, I need help with a scientific notation problem. I am to create a program where the user enters a 5 digit number, and it is displayed in scientific notation. This part is easy, however I am trying to take it to the next step and make it so …

Member Avatar for burcin erek
0
164
Member Avatar for Suzie999

Hi all. I recently began to give C++ a go again after failing on the first attempt. I quickly ran into the same problem that led me to C# the first time around. Strings, damn strings. I simply cannot get my head around arrays of charactors, they stress me out, …

Member Avatar for Suzie999
0
118
Member Avatar for parrishnewbie

Hi everyone, I was wondering if anyone could help me figure out this issue I am having with a program I have written. The problem is after you type in the number of days you want to rent the car for if it is less than 0 or greater than …

Member Avatar for restrictment
0
941
Member Avatar for ze_viru$

I've just started learning c++,so i want to take any challenge concerning c++.My question is where do i start when drafting a game program.Please ppl help me out.

Member Avatar for ruwaiz1028
-3
3K
Member Avatar for restrictment

Have any of you just felt like expressing your feelings through text in the most efficient way possible? Well Poetry can usually satisfy that urge. So post them here, and comment on the ones you would like. I myself am not a writer or anything close to that, but I …

Member Avatar for diafol
0
149
Member Avatar for Ayaat Monem
Member Avatar for abhimanipal
0
274
Member Avatar for o.anhbayar
Member Avatar for bobbyg118

I am new to this website and was looking for some help .I am currently having trouble because I need to take the function generateOutput and have it display three random messages: Excellent, Good Job, and Very Good. Attached is the .cpp file

Member Avatar for Ali Shah Ahmed
0
97
Member Avatar for smitysmit

can i make a program open another program after a user selects it such as i am making a menu and i want if the user enters 1 it opens the program accociated with 1 or will i have to paste all the files from the external program to the …

Member Avatar for restrictment
0
139
Member Avatar for restrictment

Hey everyone, I got bored and decided I wanted to make a 'pitch' cards game in c++, however I came across the problem of generating all 52 cards in a deck without duplicating the same card. So basically, I just want to print out every single card in the deck …

Member Avatar for iamthwee
0
191
Member Avatar for Dinglish

please run this simple program...... why wont this work ? i tried it first with if...else [code]/*why will this program not run? what did i do wrong with the if else statements/conditions ?*/ #include <conio.h> #include <iostream.h> main() { double sales, sales_amount, quantity, total_sales, vat; total_sales = sales + vat; …

Member Avatar for Dinglish
0
128
Member Avatar for restrictment

Hello everyone, I am trying to make a simple web browser for my own benefit (not a school project). I have been looking through multiple videos on how to do so, and could only find 'simple' web browsers on almost every video for visual c++. Anyway, the videos work, but …

Member Avatar for jonsca
0
205
Member Avatar for restrictment

Hello, I have been having a problem with the following code: [code] #include<iostream> #include<time.h> #include<iomanip> using namespace std; int main() { float average; setprecision(5); fixed; average = 100-((25/(130-(50-(130/3))))*100); cout << average << "\n\n"; } [/code] I cannot seem to get the 'average' variable to come out to exactly 79.73 like …

Member Avatar for restrictment
0
84
Member Avatar for restrictment

Well, I had my program running perfectly, and I was quite pleased with the results. However, after I made the text file a bit big, the program just stopped working all together. (255 lines of text) so I 'suppose' it is a bandwidth problem..however 255 lines of text is like …

Member Avatar for david.k
0
170
Member Avatar for restrictment

Heh, well my daily project is near finished, and I was looking around for a way to get rid of punctuation from a character array. I looked through the web a bit, and only found immensely complicated formulas which I did not feel like dealing with. So my question is: …

Member Avatar for restrictment
0
173
Member Avatar for restrictment

Please tell me why this doesn't work: [code] #include<iostream> using namespace std; int main() { char felix[3] = "ho"; if(felix == "ho") cout << felix; } [/code]

Member Avatar for restrictment
0
159
Member Avatar for restrictment

Hey guys, sorry I am asking so many questions lately, but I am learning this stuff by myself, and find it easier to ask questions here than look online. Plus when I try using the search engine on this site, it takes me to some quite random threads. Anyhow, onto …

Member Avatar for trcartmill
0
228