Beginners - February 2017 (Page 7)

need help with loop
Can someone please tell me whats wrong with this code it won't run at all /*Problem Statement Write a program that will ask the user to input a word that is a...
Feb 23, 2017 at 3:18pm
[3 replies] Last: it's fixed now (by BanList)
EXTREME BEGINNER, PROJECT HELP, STRUGGLING
Hey guys, I'm still very new to c++ so when receiving this project, I was pretty lost, the lab we did seem simple, but when he assign this project, i had no ide...
Feb 23, 2017 at 1:49pm
[1 reply] : Hello betchapon, Do not think about the whole program at once. Break ... (by Handy Andy)
Number Pattern
Anyone know how to make a program for this "1 5 2 4 3 3 4 2 5 1" pattern? I find it difficult. Please explain it to me
Feb 23, 2017 at 1:40pm
[3 replies] Last: Thank you so muuuuuch! Now I know (by daji121215)
Need help.
Is it impossible to make the pyramid pattern without entering a number? #include <iostream> using namespace std; int main() { int i,j=5,num; ...
Feb 23, 2017 at 1:03pm
[1 reply] : If you want the size to always be the same set the value for num num... (by SamuelAdams)
by amit51
store the object from my buffer class into the stack class.
Write your question here. Can you please help me in fixing this code.How to store the variables from the buffer class to the stack class and pass the variable...
Feb 23, 2017 at 12:08pm
[1 reply] : There are compiler errors which are rather obvious. What is the error ... (by coder777)
How to find project?
Hello! Firstly, I am sorry for my English. I am from Russia, I am a student. I am learning C++ now and I want want to try collaborative programming and to le...
Feb 23, 2017 at 11:49am
[2 replies] Last: There are lot of projects on GitHub you could try (by Thomas1965)
Check if 15 integers are unique (1,2)
I am honestly stuck and I am required to have **15 integer variables** and input them and after that I have to verify if all 15 of them are unique. I am not all...
Feb 23, 2017 at 10:50am
[32 replies] Last: Wow thanks JLBorges. This is the shortest I have seen :) :) (by fasravo)
strcmp ?
Hi, facing some issues, strcmp doesnt seems to work. bool returnScaleText(const char* scaleText) { std::vector<std::string> scale; scale.push_ba...
Feb 23, 2017 at 9:14am
[2 replies] Last: @Chervil Long time boss (by ayoesquire)
logical error?
Hey guys, i'm a college freshman taking an introductory C++ course. I'm fairly familiar with flow control, however whenever I try to run the program below it se...
Feb 23, 2017 at 7:31am
[6 replies] Last: Ill give it a try next time, thanks! (by Phoenixlink1)
by Frenzy
Passing a Dynamic Array of Pointers to a Function
Hey guys, so I'm trying to Dynamically Allocate an array of Pointers, and then pass that to a function so that I can store addresses of some integers. I am p...
Feb 23, 2017 at 7:01am
[4 replies] Last: I'm sorry I did not mention more guys, all the data for Movie_t is com... (by Frenzy)
Removing vector int
I want to make a list of twenty integers. Then, I check each one for reapeats. However I think I may be doing this wrong and I need to complete this problem. ...
Feb 23, 2017 at 6:45am
[8 replies] Last: It's OK gunner I understand and it's no fault of anybody who has respo... (by closed account 48T7M4Gy)
Hello everyone!!
Hello everyone.. Hope every1 is fine. This is my very first post in the forum and m a starter n programming. I hope this would be a good experience and i will g...
Feb 23, 2017 at 5:34am
[1 reply] : > Wish you all a very happy life and a very good luck! Thank you! Yo... (by JLBorges)
by Bizzy
2D Array Row and Column Duplicate Checker
Hey guys, so continuing with my project, I was able to create two functions that determine if there are duplicate rows or columns in an array and they work perf...
Feb 23, 2017 at 4:47am
[10 replies] Last: Thanks man, this works great. Also the first test board was to see if ... (by Bizzy)
HALP with argc and argv[1]
argc is a int argv is a character pointer to array how do i use this pointer to array!!?! cout << "I want to use this array to print out all the number...
Feb 23, 2017 at 3:54am
[1 reply] : cout << "I want to use this array to print out all the numbers from m... (by cire)
by tit0n
Need help getting started on my Infix/prefix/postfix conversion program
Need some hints/tips on how this might look. I am a beginner to C++ so any help or details that look wrong please help! Also I am unsure why I keep getting an ...
Feb 23, 2017 at 3:20am
[3 replies] Last: Yes it is line 64 I am sorry. Not sure how I can fix this issue just ... (by cire)
Deleting object in destructor with inheritance
I have made two class objects in the constructor like so: executive::executive() { Vehicle* myCar = new Car(speed); Vehicle* myTruck = ne...
Feb 23, 2017 at 3:12am
[5 replies] Last: In the case of raw pointers the copy assignment operator and copy cons... (by gunnerfunner)
command line big problem bug
I need to mamke my program use the command line to open the text file and compute the numbers of its contents
Feb 23, 2017 at 2:47am
[3 replies] Last: how do i use c++ to open my text file with command line First check ... (by Chervil)
Loops crashing program
Hello! So I was using a while loop to create a rectangle and it crashes my program every time. I have set up breakpoints and gone through it several times and i...
Feb 22, 2017 at 11:10pm
[2 replies] Last: Okay I see it now. So simple but my head was stuck because I was sure ... (by BerlingSwe)
Feedback for Time constructor
Another assignment, would like feedback. It works so far, but maybe somebody could break it? main.cpp // #include <time.h> #include <iostream> #in...
Feb 22, 2017 at 11:04pm
[6 replies] Last: Yup, that looks good. (by dhayden)
by Pampam
Fraction by recursion(2)
Hello, it is quite easy for me to divide 1/(2/(3/4)) by recursion (if k = 3 then output will be 0.375), but the trouble is that i dont know how to add numbers t...
Feb 22, 2017 at 9:10pm
[1 reply] : #include <iostream> using namespace std; //=========================... (by lastchance)
February 2017 Pages: 1... 56789... 37
  Archived months: [jan2017] [mar2017]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.