Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #4K
~4K People Reached
Favorite Tags
Member Avatar for redtribal23

I am trying to do a deck of cards in linear form so that I would be able to tell if I am guessing the right card. The program should be able to tell if the guess is getting closer or not. I made a random number generator (randomNum = …

Member Avatar for David W
0
532
Member Avatar for Hector_2

The code isn't displaying and then reversing entered numbers. reverse.cpp // // #include <cstdlib> #include <iostream> #include "linkedStack.h" using namespace std; int main() { linkedStackType<int> stack1; linkedStackType<int> stack2; cout << ""; cout << "output your name\n\n"; int number = 0; // AUSE LINKED STACKS // cout << "Enter first number …

Member Avatar for Hector_2
0
332
Member Avatar for TexasJr

I thought I was finished with my code until I tried to compile it and came out with an error that I really don't know where it's coming from. Can anyone look over and see if they can find the source of the error? Please and thank you! These are …

Member Avatar for TexasJr
0
2K
Member Avatar for TexasJr

**Note that this code works just fine when name is a regular string instead of a c-string.** I made this test program to figure out what was causing problems with my project. Turns out that the code for name that I put works just fine, but it messes up when …

Member Avatar for NathanOliver
0
242
Member Avatar for TexasJr

I made a test program to mess around with a feature I'm trying to put into my class project but I can't seem to figure out what I'm doing wrong. What I'm trying to do is to line up the numbers right of the decimal. this is my test source …

Member Avatar for TexasJr
0
134
Member Avatar for TexasJr

I'm writing a program for my class that is due tomorrow. I thought I was done, but as I starting using it to get an output file, I ran into a problem, and I can't get past it. I have also gone over my code to see if I made …

Member Avatar for TexasJr
0
174
Member Avatar for TexasJr

I'm writing a program for my C++ class, this is a short clip of it: for(customer = 1; customer <= 5; customer++) { customer_Num[customer][2] = rand() % 999 + 1; // Receipt number cout << "Customer Name:" << endl; getline(cin,customer_Non[customer][1]); cout << "Customer's address:" << endl; getline(cin,customer_Non[customer][2]); cout << "Customer's …

Member Avatar for TexasJr
0
122
Member Avatar for TexasJr

This is the code I have right now : cout << "==============================\n"; cout << setprecision(2) << fixed; cout << "Shelby" << setw(24) << shelby << endl; And this is the output: ============================== Shelby 25.81 But what I'm trying to do is add a "$" sign before the amount while keeping …

Member Avatar for vijayan121
0
185
Member Avatar for TexasJr

Okay, so earlier today, I seem to have contracted some kind of virus. I was on MSN messenger and I recieved one of those stupid messages with those links with these kinds of virus attached to them but for some reason I didnt pay attention and I was careless and …

Member Avatar for crunchie
0
159