Posts
 
Reputation
Joined
Last Seen
Ranked #726
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
6
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
3 Commented Posts
~23.5K People Reached
About Me

I am an 11th grade student in high school.

Interests
Star Wars COmbine Gaming Soundboard Operation Lightboard Operation Theatre Tech stuff ^_^
PC Specs
I use Code::Blocks v.10.05 and run it on Windows XP Service Pack 3.
Favorite Forums
Favorite Tags
Member Avatar for ibthevivin

what he's trying to say is, put smoe 'if' statements in there saying stuff like [code] if(i == 9){cout << "IX";} [/code] and you have to do that for each numeral like that. The best way would probably be to put them in/around the first 'if' statements. Make sense? EDIT: …

Member Avatar for ddanbe
0
3K
Member Avatar for Derek Elensar

This is my final project for my C++ class online. I was instructed to make a test and to pull answers from withing a .txt file and compare them to the answer that the user inputs. I'm sure there's a much easier wau of doing things than the way I'm …

Member Avatar for Derek Elensar
0
227
Member Avatar for programing

I do believe this is a repeat thread from over here, under the same title. [URL="http://www.daniweb.com/software-development/cpp/threads/358382"]Here's the link[/URL] programing, try listening to the advice in that thread.

Member Avatar for template<>
0
122
Member Avatar for johans22

I would try looking into the [icode]<iomanip>[/icode] library using the [icode]fixed[/icode] function. See [URL="http://www.cplusplus.com/reference/iostream/manipulators/fixed/"]Here[/URL]. Or for a more extensive search of the entire library, try looking [URL="http://www.google.com/search?hl=en&source=hp&biw=1131&bih=666&q=C%2B%2B+iomanip&aq=f&aqi=g10&aql=&oq="]here.[/URL] ;)

Member Avatar for Derek Elensar
0
108
Member Avatar for Derek Elensar

I have another problem... Let's start with said code: [code] #include <iostream> #include <fstream> //I have tried using fstream.h like my teacher instructs me to do/ #include <cstdlib> //but it gives me another error: see below, in actual post. using std::cout; using std::cin; using std::ios; using std::endl; //using namespace std; …

Member Avatar for Derek Elensar
0
1K
Member Avatar for Derek Elensar

I have said program: [code] #include <iostream> #include <fstream.h> #include <conio.h> using std::cout; using std::cin; using std::ios; using std::endl; int main() { char first[6]; char middle[16]; char last[16]; int counter = 0; char temp; cout << "Please enter your first, middle, and last name:\n>"; cin.get(first, 6); cin.ignore(80,'\n'); cin.ignore(80, ' '); …

Member Avatar for Derek Elensar
0
202
Member Avatar for noctiskram

if you want 'a' and 'b' to be able to hold more than one character, then change them to something like this: [code=C++] char a[x] //where x is any number you choose. char b[y] //where y is any number you choose. [/code] as for the 3 attempts before a fail …

Member Avatar for arkoenig
0
870
Member Avatar for penguino138

Ok. Listen to everybody here. [b]LISTEN[/b] to them and actually [b]do some work[/b]. Once you have some code proving that you've listened to them, maybe then you'll start seeing what they're talking about ;) This isn't a place full of free answers, it's a place for you to come to …

Member Avatar for Derek Elensar
0
901
Member Avatar for Derek Elensar

Ok, so this is going to be a basic question that I should probably know, but it's baffling me right now... Also, be prewarned that this is a homework assignment I'm working on. I don't want answers, just guidance. I understand what I need top do(for the most part. obviously …

Member Avatar for Derek Elensar
0
175
Member Avatar for vikrantk

[url]http://www.codeblocks.org/downloads/binaries/[/url] ^^THat should get you to the download site for C::B. don't use Dev C++ as I'm required to use it for my class. it sucks, and so I use Code::Blocks behind my instructor's back, since she's unwilling to use anything else. I highly reccommend this IDE to anyone who …

Member Avatar for Derek Elensar
-2
286
Member Avatar for retmil

So here I was sitting in my high school online C++ Class. I was bored and was trying to work out your problem... and all f a sudden I accidentally type '11' My computer starts freaking out and beeping(not usually a good sign...) and my instructor asks what's going on... …

Member Avatar for retmil
0
125
Member Avatar for sha11e

sha11e, you may look into the cin.good(), cin.bad(), and/or the cin.fail() commands. I believe those could help you here. YOu could have it set up to say something like: [code] if(cin.fail(variable)) { //do this } else { //do that } [/code] I'd look into that, maybe. It may help. :)

Member Avatar for Derek Elensar
0
155
Member Avatar for Derek Elensar

Ok, so I have a stupid question to ask, and I aks all of you not to ridicule one who is merely looking for knowledge. What is the difference between using [code]#include "whatever"[/code] versus using [code]#include <whatever> [/code]? I've always used the brackets versus the quotes, and have tried looking …

Member Avatar for Derek Elensar
1
13K
Member Avatar for Derek Elensar

Hello, I was working with my C++ homework, and I wanted to combine a couple of projects. Now I've never done anything with project-projects before... it's all been one-file console applications in single "*.cpp" files. Well, I tried my hand at combining two projects into one project file, so I …

Member Avatar for Derek Elensar
0
227
Member Avatar for woody0114

Your character array does not have an assigned size, (and someone correct me if I'm wrong) but I believe that when you press enter after typing your name, the '\n' character stays in the inpout stream, causing all of the other questions to be skipped. here's how I solved the …

Member Avatar for Derek Elensar
0
102
Member Avatar for Derek Elensar

Okay, so I have said code: [code] #include <iostream> #include <cstdlib> using std::cout; using std::cin; using std::endl; int main() { char input[8]; int counter = 0; int newletter; do { cout << "Please enter a 7 letter word to encrypt:\n>"; cin >> input; if(input[8] != '\0') { input[8] = '\0'; …

Member Avatar for Derek Elensar
0
178
Member Avatar for opawix

First off, please use code tags. Second off, in your code here: [code] while(i>=3){ cout<<" "<<i; [B]i--;[/B] } [/code] you are only decrementing by one. You seem to want to start yuor decrement at 25, and then subtract the decrement by 3 each time (i.e. subtract 25; subtract 22; subtract …

Member Avatar for opawix
0
86
Member Avatar for passcode121

Someone correct me if I'm wrong, but you would need to use a series of for loops, correct? Consider the following program: [code=c++] #include <iostream> #include <cstdlib> using std::cout; int main() { int i,j,k,l,m; cout << "i j k l m\n"; for (i = 0; i <= 1; i++) for …

Member Avatar for passcode121
0
1K
Member Avatar for Derek Elensar

Hello, my name is not Derek Elensar, but I prefer not t reveal my real name onlin if I can help it... so you can just call me Derek. :) I am a beginner C++ programmer. I'm trying to learn Ruby, but haven't gotten far, as I haven't had much …

Member Avatar for Derek Elensar
0
129
Member Avatar for Derek Elensar

Okay. I have said code: [code=C++] #include <iostream> int main() { std::cout << "This is a native C++ program\n" << std::endl; return 0; }//main [/code] How would I compile this from a standard DOS command line? I've searched all over google, and have yet to find an answer that explains …

Member Avatar for user422
0
341