Beginners - June 2016 (Page 5)

Function crashing on specific data set
 
I'm trying to find the mode of an data set, and am using 2 different data sets. One set definitely h...
[10 replies] Last: You are a wonderful person and I like you. Thanks very much! Both file... (by risenashes)
Infinite loop while using cin
 
Hi all, I am taking a intro to c++ class and I am stuck. My code keeps looping to this: Choose (o...
[6 replies] Last: It looks like you added multiple code blocks. Since you have only one ... (by AbstractionAnon)
Need string splitting advice
 
Write your question here. Hey guys, I made a simple calculator that takes user input, and does op...
[4 replies] Last: Definition of an interpreter is: searching for patterns in a string. ... (by closed account 48bpfSEw)
Why does this condition work? (for loop,linklist)
 
could someone explain to me why the condition for the for loop below (the r->link != NULL) works? ...
[4 replies] Last: oh I actually missed the " ; " in the for loop. That's a very easy ... (by dhayden)
by mmgh
vector iteration
 
Hello, This is a simplified code. Do you think can I write the code like that or there is a bette...
[1 reply] : [is there] a better way of doing that? It depends on that you're try... (by dhayden)
char space issue
 
i am having a problem with my code, because it compiles just fine. the only problem i am having is t...
[9 replies] Last: // http://stackoverflow.com/questions/11835226/program-skips-cin-getl... (by closed account 48T7M4Gy)
Spits out random numbers/letters
 
Runs OK but spits random code. #include <iostream> #include <ctime> #include <string> us...
[2 replies] Last: Thanks a lot! I appreciate it. Dunno why I didn't look at the compiler... (by FreshBoi22)
by mmgh
iteration over two vectors
 
Hello, I need to know what is the fastest and the safest way to iterate over two vectors. For exa...
[1 reply] : Yes, you can use using . Note the declarations need to come after t... (by TwilightSpectre)
distance class
 
I was working on a program that deals with adding and subtracting distances (given in feet and inche...
[6 replies] Last: Thank you all for your input. Thanks to your help, finally got it to w... (by simplesam)
For Loop With Specific Inputs
 
I need to write a program that uses nested for loops to find the range for trajectory for initial ve...
[2 replies] Last: Edit: I didn't see AbstractionAnon 's post :+) Hi, You could have a... (by TheIdeasMan)
Math operator fails
 
Dear programmers, I'm writing a program that asks for the number of items ordered as input and the p...
[7 replies] Last: Thanks all for your valuable input and help. I tried what Necip sugg... (by Abe Khademi)
Confused on Private and Public Member Variables
 
Hey guys, I am very confused on when I should be using the "private:" and "public:" in classes. I no...
[5 replies] Last: Oh okay, thanks a lot! I get it now :-) (by closed account 3voN6Up4)
about projects
 
is there projects for beginners which are long,easy and there difficulty curve increasing by time th...
[4 replies] Last: I agree, Project Euler is definitely a good option, but I wouldn't say... (by RUNNER PRO AGARIO)
Serperating Classes into files not working
 
Hey guys, so assume I know nothing when answering this. I am trying to create new classes in seperat...
[1 reply] : if you have move your file , your ide wont necessarily know so you hav... (by Ericool)
by hrxs1
Median of push.back vector
 
Hello everyone, I am currently teaching C++ to myself using the book of B. Stroustrop. In one task...
[5 replies] Last: Much thanks. You helped me a lot. (by hrxs1)
by ps1604
need some hand
 
WAP a C++ program using Structures to calculate the total and average of scores of a selected studen...
[2 replies] Last: I'm bored, so I'll do your homework for you as a sketch! ^^ WAP a C... (by closed account 48bpfSEw)
Library management system
 
I made a library management system that has a few problems. First of all, when you add a new book to...
[1 reply] : First of all, when you add a new book to the system it works but it a... (by coder777)
by hav206
need help with
 
Write your question here. I am using hash table to store a string. I used the bucket to store my str...
[2 replies] Last: hi programmer007 thanks for your replying, i have updated the class my... (by hav206)
assigning char with parallel arrays
 
Within my program i am supposed to assign one array (student_name) with grades by using a parallel a...
[10 replies] Last: Keeping in mind also that the average and grade are derived values an... (by shadder)
Array to store value each time calculated by equation whenever the function is called
 
Hello everyone! I am new to c++. I have to calculate a value via equation and store that each time w...
[4 replies] Last: Then how should I implement it? (by Aisha1234)
June 2016 Pages: 1... 34567... 25
  Archived months: [may2016] [jul2016]

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