
please wait
by joe864864
size of vector made of struct
|
I am having trouble find the size of the vector because it is made of a struct. My program is looking at the total size of the vector and going too far. How can... |
Dec 1, 2016 at 9:21pm
[3 replies] Last: Please explain why you think you need to divide pVector.size() by 4? ... (by AbstractionAnon)
|
by TimmyFangs
Text manipulation problem
|
I have this done to where you enter any text you want and it will be revealed by a spinner. I have two problems: 1. When it's done, I can't figure out how to ... |
Dec 1, 2016 at 8:10pm
[4 replies] Last: Applied one suggestion and added an if statement to correct the spin p... (by TimmyFangs)
|
by Carter205
Undefined Reference Error in class
|
Why am I getting this error? When creating a class object array, similar to this it has worked before. Is it because of the loop it is in? or something else? Ho... |
Dec 1, 2016 at 7:31pm
[2 replies] Last: silly me. Thank you (by Carter205)
|
by stoqn35
Sort the names alphabetically by the Insertion sort?
|
Sort the names alphabetically by the Insertion sort? |
Dec 1, 2016 at 6:48pm
[no replies]
|
by Jose Rafael
It does not work
|
... |
Dec 1, 2016 at 5:51pm
[2 replies] Last: On lines 10 and 12 any particular reason to print the memory addresses... (by gunnerfunner)
|
by HumCH12
Classes, objects, points
|
I have this homework question that reads as: 1. Write a Class called Point: a. It should have a set and get for points (x,y). b. This class should have a fu... |
Dec 1, 2016 at 4:52pm
[7 replies] Last: Yeah, it's a start and not the complete deal. You need a getter for t... (by HumCH12)
|
by SamT1234
Class Programing/ Date Program
|
Hello: Any assistance is really appreciated. I am working on a program using classes (first timer). The program I am trying to make has a class called Date. ... |
Dec 1, 2016 at 4:37pm
[5 replies] Last: class Date{ public: Date(int d, int m, int y) // this is a function... (by Nico)
|
by Givi
Urgent help && || with do-while loop and bank account
|
User can't withdraw more than what's available or withdraw a negative amount.(i have a deposit function for this already). The && or || is confusing me more tha... |
Dec 1, 2016 at 3:26pm
[4 replies] Last: this code was a snippet of my program I understand that. What i was... (by AbstractionAnon)
|
by Hpnodros
Challenging code! Help much appreciated:)
|
Hello I am working on a program that asks the users for : A)what year they want the calender, (eg. 2012) B) then asks on what # day of the week (eg. #1-7... |
Dec 1, 2016 at 2:12pm
[8 replies] Last: In essence, you want to shift from foo 1 2 3 4 bar 1 2 3 4 gaz 1 2 ... (by keskiverto)
|
by markusfurst
Columns
|
So I'm writing a code that outputs ASCII code and I want it to be in columns. Right now my output is like this, 32 33 ! 34 " 35 # 36 $ 37 % etc 43 ... |
Dec 1, 2016 at 1:28pm
[4 replies] Last: #include <iostream> inline char ascii(unsigned short int ascii_code... (by boost lexical cast)
|
by zeroblank
Where did i go wrong with merge sort
|
doesn't sort right #include <iostream> #include <vector> using namespace std; void Merg(vector<int> & A , int S ,int M, int E) { int size = ... |
Dec 1, 2016 at 12:30pm
[1 reply] : At least the line 16 looks suspicious. (by keskiverto)
|
by miqmarmen
Segmentation fault
|
We have two maps: map<string,string> x; map<string,pair<string,string> > y; The program ends when we write "****", but the terminal is showing us a Segme... |
Dec 1, 2016 at 12:20pm
[3 replies] Last: You need to show us the code that uses that class. There's nothing in... (by MikeyBoy)
|
by bluefrog
forward declaration confusion
|
I am unsure where to place forward declarations. Is it possible not to place them in the header file? Reason I ask is because the following compile error o... |
Dec 1, 2016 at 12:17pm
[5 replies] Last: thanks for replying. 1. understand your point, to do with the fact th... (by bluefrog)
|
A very beginners question |
Hello, I am trying to read two variables, a string and an integer, respectively. Those two variables are read in a loop, until following string is typed. "No... |
Dec 1, 2016 at 11:40am
[6 replies] Last: The reason I did ask about >> and getline was that first extracts one ... (by keskiverto)
|
by deadmittens
Vector to Struct
|
I have this section for a program I'm working on where I am inputting into a vector within a structure. The syntax all seems correct, but I get this weird error... |
Dec 1, 2016 at 11:37am
[6 replies] Last: priority_queue< ClTableau, deque<ClTableau>, less<ClTableau> > priorit... (by yushi170)
|
by kmce
While loop, while !=float
|
So I was wanting to have a while loop, which loops until the user inputs a float, so basically if the user inputs words the loop will occur, however I am having... |
Dec 1, 2016 at 10:26am
[13 replies] Last: http://www.cplusplus.com/reference/istream/istream/operator%3E%3E/ htt... (by keskiverto)
|
by jeffgem10
Help with opening a file as an argument
|
I am having an issue in the function fillSquare. My problem is that I can't figure out how to take the argument and put the data from the file into the array. I... |
Dec 1, 2016 at 10:09am
[1 reply] : You need to give the function parameter a name so that you have a way ... (by Peter87)
|
by seungyeon
how do i locate the largest number in the array?
|
the array size is randomly generated lets say the size is 34 i found the largest number in the away in cell 16 how do i cout cell 16 |
Dec 1, 2016 at 9:25am
[8 replies] Last: I don't mean any offense here. But, with the above code you might as ... (by boost lexical cast)
|
Point Class - Geometry Based Programs |
Write your question here.Hello, I am stuck on this assignment question and am unsure as to how to get started. Could anyone help me get started? This is... |
Dec 1, 2016 at 8:44am
[19 replies] Last: c is the Circle object that you created on the line above. Circle ... (by Peter87)
|
by Unisaurus
Blob Help!
|
This is what I have so far, not really sure where to go with it. Apparently I'm not allowed to use recursion...Here is what my professor wants.. ). Write a C++... |
Dec 1, 2016 at 6:59am
[2 replies] Last: This is the updated code! #include <iostream> #include <stdio.h> #i... (by Unisaurus)
|