No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Always looking to learn new things about computers and music :3
- Interests
- Music, Computer Programming, MineCraft
Hi, My name is Erik :) I've learned a bit of java, visual basic, and now I'm working on learning alot in c++. I have been taking classes but next semester I'll be off until I transfer to Devry in the spring. Joining a forum would help me learn more … |
|
Perhaps this question has been asked or even has a thread written about it so I apologize if it's been asked before however I can't seem to find a solid answer online. I read the article: [Written by Narue](http://www.daniweb.com/software-development/cpp/threads/90228/flushing-the-input-stream) about using getline instead of cin when obtaining input from the … |
|
Re:
Hello. I'm developing a computer software, an Intranet Supply Management System. I know what the main system's function will be. But i'm having a really hard time figuring out how will be the flow of the program. So basicslly, i'm asking y'all guys with your guidance, instructions, or even your … |
|
So in my classes I've taken I was told by the teacher "case statements and if-else statements are the same things essentionally" so why learn both? and so I was not taught about cases. Besides the fact I should learn it anyway incase I need it for someone elses code, … |
|
Re:
I'm using Visual C++ express 2010. Whats wrong with this code: (A video tutorial uses this code and works fine on theirs) #include <iostream> using namespace std; int main(){ string myString = "hello"; cout << myString << endl; return 0; } ??? Says: error C2679: binary '<<' : no operator … |
|
Re:
hi,i am new to programming and i got an assignment which is very difficult,i hope anybody can help me here !! You have to make a racing game in C++. There are two players in your program. They play by throwing 3 dices and then moving forward. Your program should … |
|
Re:
I just started to learning how to use classes and specification files. For some reason i keep getting an error saying `length' undeclared (first use this function) #include <iostream> #include <fstream> #include <string> #include <cctype> using namespace std; const int MAXSIZE = 50; typedef string ItemType; class List { public: … |
|
Re:
Dec 7, 2012 at 11:18pm Im trying to create a bank account. In the bank account the user creates an account and puts whatever amount they want to open account. after account is created they can go to withdraw or deposit and add or subtract additional monty from the account. … |
|
Alright guys, I've been looking at this on google and I can't seem to find an answer. Any help is definitely appreciated! Here is the code, then I will explain my problem. void printMenu() { cout<<"||============================||"<<endl; cout<<"||=========Main Menu==========||"<<endl; cout<<"||===1.Begin DNA Creation"; cout<<"||===2.Load the Files"; if(!dna1[].strand1){ cout<<"<0>";} else{ cout<<"<"<<sizeof(dna1.strand1)<<">";} cout<<endl; cout<<"=========||"<<endl; … |
|
Re:
#Guess the number game by Johnathan Millsap import random guessesTaken = 0 print('Hello! What is your name?') myName = input() number = random.randint(1, 100) print('Well, ' + myName + ', I am thinking of a number between 1 and 100.') print('Try to guess it!.') while guessesTaken <= 3: print('Take a … |
|
Re:
So my program is running just fine and doing what it should beside one little thing. That thing is when I run the formula on the for loop. What it does is when I put in 5 and select the for loop operation it gives me the right answer. But … |
|
Re:
Can some one briefly tell me about that how to do fileprocessing in c++ |