
please wait
by Nyarxu
Assistance with Functions
|
I need help with my functions and probably my ifs. I shouldn't have outputs in my functions but I don't know how to execute that. This program gives the choice ... |
Oct 9, 2015 at 2:49pm
[2 replies] Last: and this ... if (shapeChoice == 1) { cout < areaCircle( 6 ); } ... (by closed account 48T7M4Gy)
|
by uytoor2
how to create class object in If-condition and use function in same code?
|
Is it possible that I give the template a type according to user choice, and then call the functions of that object???? if yes then please tell me how... ... |
Oct 9, 2015 at 2:26pm
[4 replies] Last: #include <iostream> #include <vector> template < typename CONTAINER ... (by JLBorges)
|
by sme97
Interest rate
|
Ask the user to enter how much money will be deposited If $1000 are to be deposited, the account will have the same balance If more than $1000, find how many ... |
Oct 9, 2015 at 2:25pm
[4 replies] Last: Thank you very much, it is fine now, I flipped the signs in the while ... (by sme97)
|
by uytoor2
how to delete node from somewhere middle in doubly linked list
|
it works fine to delete from start or end. but whenever I try to delete a value from middle , it gives garbage value :( plz help ... void dllist<T>::del... |
Oct 9, 2015 at 1:49pm
[1 reply] : head->previous->next=head->next; head->next->previous=head->previous;... (by uytoor2)
|
by zacbenzerara
How to open a file and count the # of words? Need help!!
|
So I need to write a program that opens a file (which ever file the user inputs) and count the number of words example file: This &%file should!!,.... |
Oct 9, 2015 at 1:19pm
[1 reply] : I am not sure what do you want exactly the file example isn't clear. A... (by CodeBlob)
|
by AngelicaEms
Guys, paano ba ito? Di ko kasi magets eh. Di ko kasi pwedeng galawin yung int main.
|
Create a program in C++ that will store 10 values in an array. Determine how many are odd and how many are even numbers from the given values and store them i... |
Oct 9, 2015 at 12:49pm
[2 replies] Last: #include <iostream> #include <string> using std::cout; using std::ci... (by closed account 48T7M4Gy)
|
by saherch
stringstream-conversion from char to int
|
I am trying to get an 'integer' input from user in a string by using getline() and then using stringstream() to extract integer from this string. The last part ... |
Oct 9, 2015 at 12:47pm
[2 replies] Last: Got it.Thanks a ton. (by saherch)
|
by MaryB1126
Problem with Compiler
|
I've suddenly started having a problem where every program I try to compile says it has build errors, and I get the error message "error C4430: missing type spe... |
Oct 9, 2015 at 10:58am
[5 replies] Last: I rebooted and it magically started working again. I guess I'll never ... (by MaryB1126)
|
by hibine
Help w/ patterns &series?
|
Hi, I'd appreciate any help with the source code for following series/ patterns. 1. A C A E C A G E C A 2. & & & & & &... |
Oct 9, 2015 at 10:18am
[1 reply] : I believe you're looking for recursion. http://www.danzig.us/cpp/recu... (by YFGHNG)
|
by jholden0
Can someone please help me with this?
|
What is the output for the following loop? Im very new to programming and am having issues. int number; number = 1; while (number < 11) { number = n... |
Oct 9, 2015 at 10:05am
[3 replies] Last: If written correctly, the output of your second loop should be three e... (by YFGHNG)
|
by DDomjosa
Finding a smallest positive number that is evenly divisible by all numbers from 1 to z.
|
Hello! I created this account exclusively to ask for help. I started learning C++ a few days ago and I have found a website (projecteuler.net) that gives questi... |
Oct 9, 2015 at 4:20am
[3 replies] Last: Thank you both, CodeBlob and helios, that works perfectly. I'll be sur... (by DDomjosa)
|
by EdWar82
Help understanding / Implementation
|
I am looking for help and understanding on what I am to do on this assignment (I've posted on the class forum as well, but more knowledge shared will help me un... |
Oct 9, 2015 at 4:01am
[6 replies] Last: OK Let us know if you need help later - it's great that you are prepar... (by closed account 48T7M4Gy)
|
input file |
how do you cin input is digit or letter? I am trying ask use to input from keyboard but i dont like !@#$%^&* only letter and digit I try isalnum isdigit, isa... |
Oct 9, 2015 at 4:00am
[2 replies] Last: #include <iostream> #include <stdlib.h> #include <string> using name... (by pearlyman)
|
by NewProgramma
Question: Logic Operators.
|
Hello Everyone, I have a question regarding logic operators used on Char data type: Q: Write the logical expression for: "ch is any character but not an alpha... |
Oct 9, 2015 at 3:55am
[3 replies] Last: Alright, thanks everyone. Just handed in my assignment and hopefully i... (by NewProgramma)
|
by cjskipwo
Mid Project pt 2.
|
A loop should be used to iterate once for each ticket. In each iteration, the loop should ask the user: the desired location in the concert location for a ... |
Oct 9, 2015 at 3:22am
[8 replies] Last: Hi cjskipwo Break each requirement down... Then make a function to ha... (by pearlyman)
|
by CrazdKC
Unresolved External Symbol
|
... |
Oct 9, 2015 at 3:02am
[6 replies] Last: My tip for when you're dealing with classes, @OP. Always implement you... (by YFGHNG)
|
by ruroni24
Using numbers in Switch statements
|
Hi all, I have a problem with this. Let's say for distance one, the user enters a number less than 0. It would be a negative number and show that to the user. I... |
Oct 9, 2015 at 2:21am
[2 replies] Last: That's improper use of the switch/case commands. #include <iostream... (by pearlyman)
|
by drakus
I have a problem with my syntax I believe
|
I have an assignment to write a program that will calculate the amount of minutes that I have been alive given information inputted by the user, but for some re... |
Oct 9, 2015 at 1:56am
[1 reply] : getInformation() takes a parameter by value, so it doesn't initialize ... (by helios)
|
by Tryce
Pointers Segmentation fault
|
I don't understand why i get a segmentation fault when setting the pointer to the the S(outh) tile, but not for any of the other directions. Could someone help... |
Oct 9, 2015 at 1:46am
[1 reply] : Good grief! Why is this necessary?! tile *init_board(){ tile *r... (by helios)
|
fstream problem |
Thank you for helping me |
Oct 9, 2015 at 12:52am
[2 replies] Last: ok. it still show me noting? is there something wrong with my tree? I ... (by verydumbprogrammer)
|