Beginners (Page 4)

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: // (by kemort)
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 Lucsofhazard)
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 Necip)
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 programmer007)
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)
Personal Coding Project
Hello everyone, I am currently creating an Arduino circuit that heavily involves programming. I d...
[2 replies] Last: What is a BST in relation to an Arduino? If you mean a binary search t... (by kemort)
by Jiw0on
Vector String Input Not showing up as an output
Greetings, I am currently learning C++ using Addison Wesley's /'programming principles and practi...
[6 replies] Last: Thank you so much! I just figured it out. It turned out I had skipped ... (by Jiw0on)
Help in understanding C++ statements
When reading the problems to convert to C++ how do I know which statement to use? ex. when the pr...
[1 reply] : Please don't double-post. (by helios)
Pages: 123456... 59
  Archived months: [apr2016]

Cannot post in this page. To post a new message, go to the first page.