- Strength to Increase Rep
- +3
- Strength to Decrease Rep
- -0
- Upvotes Received
- 6
- Posts with Upvotes
- 4
- Upvoting Members
- 4
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
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.
Re:
This program challenge was given to me by my Professor for extra credit. He said it includes some programming that we haven't learned yet in our C++ class. Messed up... Ideally I would love if someone would do this for me, but we all know that's not happening. lol Anyways...could … |
|
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 … |
|
Re:
waht the steps to make c++ compiler my compiler is to define - ,+ * / mathematical expresstion ? how i can make it plz :) i realy need help |
|
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; … |
|
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, ' '); … |
|
Re:
the only problem in this code is i must use longer username and password like for example dani and the password is web, not d and w only. this is very easy but i didn't make it, please help me with this. In this program, after you log in you … |
|
Re:
Ok so i want to make a program that calculates pi. Ive done that already but it only gives me so many decimal places. I want it to give me tons. Im using Dev C++ if that helps too. Here's my code: [CODE] #include <iostream.h> #include <math.h> int main() { … |
|
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 … |
|
Re:
I am having problems with finding a solution to update the quantity and list the menu items: ex: if you select Plain eggs at 1.45 each 3 times and coffee at .50 each 2 times it should output: 3 plain eggs $4.35 2 coffee $1.00 I have the total cost … |
|
Re:
How can I check that the user actually is inputting what I want them to? (For example letters or numbers); I need the user to input y or n, so here is how i tried to solve it: [CODE] char answer; do { system("cls"); cout <<"Want to play? <y/n>: "; … |
|
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 … |
|
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 … |
|
Re:
simple question that baffles me. attempting to get multiple data from a user, but cannot get the program to "wait" for the data. It spits out all the questions at once. here's what I have written //woody0114 #include <iostream> #include<cmath> using namespace std; double HSF(double ft_height, double ft_width, double s_height, … |
|
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'; … |
|
Re:
#include<iostream> using namespace std; int main() { int i=119; while(i>=3){ cout<<" "<<i; i--; } system("pause"); return 0; } cout of this is counting 119 decrement til 3 but output should this: 119 94 72 53 37 24 14 7 3 could any1 help? thanks a lot guys!:D |
|
Re:
Hi, i am having a really hard time solving the following problem. it looks really simple, but i cannot find a good implementation for it !! if you have a good algorithm please tell me about it, thanks The Problem: Source File: coindst.c/ cpp/ pas/ java Input: coindst.in Output: coindst.out … |
|
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 … |
|
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 … |