Beginners - March 2015 (Page 20)

by Fedeb
numerical data into array
 
Hi, I know this question has been around since forever but because of this I have no clue of which is the correct way of doing the following: I have a file wit...
[3 replies] Last: Actually... A two-dimensional array would work great. Something like ... (by TarikNeaj)
by koopey
updating user info, jumping into c++, array and pointer
 
Hi guys! This is a problem from jumping into C++ from pointers chapter. Need to make a program that lets user keep and update the number of days they last met t...
[3 replies] Last: @TarikNeaj I think it with (*p_x)++; , it indeed was updating x, be... (by koopey)
please help
 
please if anyone can help me write the code for this assignment i would greatly appreciate it. also i dont know how to write the data in the file im pulling the...
[1 reply] : Please note, that this is not a homework site. We won't do your homew... (by TarikNeaj)
class question?
 
Write your question here. class Student { private: int idnum; string lastName; double gradePointAverage; }; The question is to add a public function voidd...
[2 replies] Last: void displayStudentData()' void displayStudentData(); cout <<"st... (by tipaye)
by savanh
question
 
i have this two class as inhertance. i want to know please how can i send all the staff in print in class 1 to class 2 and inaddion to the staff in class 2? ...
[2 replies] Last: http://cpp.sh/5xle (by rafae11)
by phi1
Std::shared_ptr initialization issue
 
My redacted .hpp #ifndef CELL_HPP_ #define CELL_HPP_ #include <vector> #include <memory> class Entity; using namespace std; class Cell { sha...
[3 replies] Last: I haven't used Java in ages so I can't give you a similar idea there. ... (by Hippogriff)
Moving in string
 
Hey i want to make program which search in string if there is same word ex. "This word is the same word ". And it should outpout this string with changed consol...
[13 replies] Last: Any help ? -,- (by NoName48)
Crown and Anchor Program
 
Hello there, I'm working on a C&A program and I'm having a couple of difficulties. 1) I need to save the total value of money as the program continues to loop....
[2 replies] Last: Oh thank-you! I hadn't noticed I forgot to update the values. :D (by Gremory)
Bulls and cows problem, again?
 
Yes, it's a pretty basic question.. but I can't figure it out. like this: vector<int> guess; for (int g; cin>>g;) guess.push_back(g); in terminal ...
[3 replies] Last: Thanks, have a great night. (by lckwswws)
by Orval
Is C++ worth trying to learn at 17?
 
Ever since I was a kid I wanted to make games. I didnt know how to start or what to learn. In January at the start of this year, I got my first book. I got 5 mo...
[4 replies] Last: Alright ill try those books. I was going to get those first but people... (by Orval)
by Orval
Not displaying my program
 
Made a simple program over a guess my number. It wont display any errors. The only thing it does is when I try build & run, it says: "It seems this project has ...
[1 reply] : 1.) I fixed your code so it will work. 2.) Look at this video, I am as... (by Militie)
Problems finding the max!!! self teaching
 
I have been really working on trying to find the max in this array. I could use some help. if anyone could offer a hand telling me what I am doing wrong please ...
[3 replies] Last: My pleasure! (by Militie)
Do while loop not working
 
At the end of the code, the program asks: "Run the program again?(Type Yes to continue.)" however the loop continues no matter what answer is given. Please help...
[2 replies] Last: See comments. #include <iostream> #include <string> using namespace ... (by Militie)
by KJG
[C++] Loading a structure from a configuration file
 
Hello :) I am doing a project in C++ - a simple data base (with "one table"). I want to build that data base using a LIFO or FIFO list, but this doesn't mat...
[no replies]
Pseudo Code? 2
 
Write a program, that uses three separate functions, to capitalize the first character of each word in a given phrase, insert a “:” separator symbol between...
[no replies]
Psuedo Code? 1
 
Write a program, that uses the following algorithm, as part of a function, to determine if a number n ≥ 2 is a power of 2, such as 21 = 2, 23 = 8 or 210 = 102...
[no replies]
While/do while loops/counter variable
 
[no replies]
Populate array with While sentinel loop
 
Please this is driving me crazy. I just want to make a sentinel controlled loop that will fill an array and print the array afterwards. My error check is worki...
[4 replies] Last: Thanks to everyone for their contribution. Here is a code that works w... (by gbEncode)
help with output
 
i'm very new to the programming community and i have an assignment to write a program with a function that gives the score of a bowling game a message. this is...
[5 replies] Last: Well there is nothing wrong with the actual function. Where are these ... (by TarikNeaj)
by camk16
Help!
 
Write a boolean function to compute the slope (m) and y-intercept (b) of a line, given, as parameters, the two end points P1 = (x1, y1) and P2 = (x2, y2) of tha...
[1 reply] : You are being asked to have a function that computes the given paramet... (by OmegaZero69)
March 2015 Pages: 1... 1819202122... 51
  Archived months: [feb2015] [apr2015]

This is an archived page. To post a new message, go to the current page.