
please wait
by D0CHollywood
Classes and Inheritance Problems
|
I cannot understand why I am getting an error for 'nameInput' and 'weightInput' on Line 15 in Pitcher.cpp. I am simply trying to create a "PITCHER" class derive... |
Jul 29, 2015 at 9:41pm
[10 replies] Last: Awesome, thanks again! (by D0CHollywood)
|
by imlostincpp
help me please
|
#include <iostream> #include <string> using namespace std; class students { int data_members; public: string first_name; string last_name; double gp... |
Jul 29, 2015 at 8:29pm
[2 replies] Last: @OP: The code you've given does nothing to address the problem you've ... (by booradley60)
|
by cutiepi314
Serial port help
|
I am having a problem reading from a serial port every-time that I read from the port I get a different value and even (most of the time) more than one output, ... |
Jul 29, 2015 at 8:25pm
[11 replies] Last: do you know the exact number of bytes expected replace 20 with that nu... (by rafae11)
|
by EBGrsphics
My Very Beginner Software Will Not Load in command promt
|
So I Get this error: o- no such file or directory vars.exe no such file or directory what i wrote in command prompt is c++ vars.cpp o- vars.exe here is the co... |
Jul 29, 2015 at 8:11pm
[5 replies] Last: Should you have -o instead of o- ? (by booradley60)
|
by Winsu
I can't understande this code
|
This is a part of a big code that I have got, and there is a part that at the moment I dont know what it's doing stream & operator << (ostream & os,Dig... |
Jul 29, 2015 at 7:21pm
[2 replies] Last: yes...I think is this one char Dig2Char(DigBCD a) { switch (a) { ... (by Winsu)
|
by tmward87
Help with my search function
|
I am trying to have a user enter his/her name. The program should then search the .txt file to see if that name exists. It is then supposed to input the name to... |
Jul 29, 2015 at 5:44pm
[5 replies] Last: Just a question can two users have the same username? if not then this... (by Pratik K)
|
by daverave1212
Autocomplete for switch in codeblocks?
|
Hi! I'm making a program relying on switches with many cases. Is there a way to autocomplete a switch? Like I press a button and I automatically get a new li... |
Jul 29, 2015 at 5:37pm
[3 replies] Last: Orwell's Dev-C++ fork has the ability to add code snippets, and switch... (by closed account E0p9LyTq)
|
by amglavin
Multiple Inheritance
|
For my computer science class we are supposed to write a program with classes that calculates how many seconds, minutes, hours, days, months and years from a gi... |
Jul 29, 2015 at 5:30pm
[7 replies] Last: Never mind I figured it out! Ah good ! I hope you spotted the p... (by TheIdeasMan)
|
by made2win2
Run small scripts in CMD?
|
So basically I'm learning from an app on the mobile where they create and learn c++. The thing is, the person makes for example an basic calculator and I just w... |
Jul 29, 2015 at 3:32pm
[1 reply] : C++ is not a scripting language. You will have to compile the program ... (by Zhuge)
|
by manny15
how to save input in a file?
|
I am writing this little test program to see if I can save input into a file without it being overwritten, however i cannot. here is the following code: i... |
Jul 29, 2015 at 1:58pm
[3 replies] Last: So, if you want to save the previous input, either open your ofstream ... (by koothkeeper)
|
by leourb
Access and Modify Class Elements in a vector<class>
|
Hi. I would like to know if it is possible to access and modify an element of an existing class object. If I have a constructor like this: Book(string ti... |
Jul 29, 2015 at 12:35pm
[7 replies] Last: Yes keskiverto! Thanks... I am writing a program part of an exercise o... (by leourb)
|
Problem counting words individually |
Can someone please help me. Thank you for looking. It is not counting the each word separately Prompt. Input chars. Consider a period, '.', to be a sentin... |
Jul 29, 2015 at 11:04am
[3 replies] Last: @keskiverto, Great my version (using my suggested algorithm above) wor... (by CodeWriter)
|
by mightyjack
My for loop was okay but my while loop is not. I don't know how can I do it. It should be 10 to 1 not 1 to 10
|
#include <iostream> using namespace std; int main () { int num = 0; cout << "Using for loop\n"; for(num = 10; num >= 1; num--) { ... |
Jul 29, 2015 at 10:27am
[2 replies] Last: Thanks man. :') (by mightyjack)
|
by JoanT
Having problems with codes
|
I'm supposed to write a program to create an array of size 20 to store integers. Then, the program should generate and insert random numbers between 1 and 7, in... |
Jul 29, 2015 at 10:08am
[9 replies] Last: Here's the modified version. Just refactor and/or arrange it according... (by jrosario)
|
how do i goo about this |
The heating system in a school should be switched on if the average temperature is less than 17 degrees celcius. The average temperature is found from the tempe... |
Jul 29, 2015 at 9:11am
[5 replies] Last: Deja vu ... same poster, same topic, the other two threads: http://www... (by keskiverto)
|
by arman555
How to solve
|
Write your question here. My computer has some problem, when i open computer, it says unactive windows, how can i solve it. |
Jul 29, 2015 at 8:47am
[1 reply] : Maybe you mean "Activate" Windows :| (by leourb)
|
by AnishKumar
Error reading string with spaces
|
In this menu driven program, when I run the code and take "Add employee", I am unable to read names from the user which has spaces. I can read "John". Consol... |
Jul 29, 2015 at 3:59am
[7 replies] Last: @CodeWriter, When I use that code and input something like "Wayne Roon... (by AnishKumar)
|
by fguy
User defined I/O operators.
|
when I run the code below I get garbage output after reading the data from the text file and printing it out. I believe the problem is with my user defined inpu... |
Jul 29, 2015 at 3:21am
[3 replies] Last: #include <iostream> #include <vector> #include <fstream> struct Poin... (by JLBorges)
|
by lbw3399
Cannot find my error
|
I'm writing a program for a class and cannot figure out my mistake. Can anyone help. the program is below: //C++ Exercises and Solutions //www.cppexercisesa... |
Jul 29, 2015 at 2:51am
[3 replies] Last: Hi, Welcome to cplusplus :+) Just some pointers to help you out for ... (by TheIdeasMan)
|
by kal24
substract all 1 number
|
Hello,this is what I have so far but I don't get how to do the substract the largest all 1 number you can. here is the question ********************* Write a ... |
Jul 29, 2015 at 1:22am
[3 replies] Last: you may see 111 as 1+10+100, so keep substracting until the number is ... (by ne555)
|