Beginners (Page 60)

Implementing a for loop.
 
I'm honestly at a loss as to what to do here. I know it's wrong but I do not know what to do differe...
[11 replies] Last: Do you think I should form another if/else statement in my show the re... (by The117Vendetta)
Looping substring search
 
I'm just playing with substrings for the first time. At this point all I'm trying to do it take a co...
[no replies]
by bbam19
Anyone willing to overlook my code for mortgage formulas?
 
I am extremely new, as in only doing this in university for just a few short weeks. I found that if...
[no replies]
by skhjr
Help with overriding function
 
Can someone help me override a function? My noServiceChargeChecking is suppose to be inherited by my...
[1 reply] : What we can tell you is that in the code that you have shown so far (n... (by keskiverto)
Help validation
 
when i type 2342342344 it will print the message out "Hey! Only one integer (1 and 2), please:", but...
[no replies]
by GabeJ
Trouble with strings
 
My program reads a person's name. It assigns the first name to the string first, the last name to t...
[9 replies] Last: Hi, I meant a std::vector<std::string> There are various ways to i... (by TheIdeasMan)
Not able to figure Polynomial and Integration
 
Exercise from book pdf http://docdro.id/nrdKYMh poly.h #pragma once #include <iostream> #define ...
[no replies]
Cost calculator function
 
What is wrong with this calculation? I'm trying to have it return cost 3.00 for up to 16, then from ...
[1 reply] : double delivery_charge (const double ounce) { const double cost = 3.... (by TheIdeasMan)
by b166er
really new to coding dice game
 
I used my first code to simply + - * / 2 numbers and this is my 2nd code :D was really curious if th...
[4 replies] Last: Hope your class goes well, sure it will with the experience u have to ... (by b166er)
help with this code
 
guys do u know whats wrong with this code? the final answer is incorrect. #include<stdio.h> int ma...
[2 replies] Last: try using a double... double a,b,c,d,e; (by DirtyDan)
Help with output file
 
Hello, can someone please help me with my code? I have to take a input file that has a list of presi...
[2 replies] Last: Oh, okay thank you very much! (by Supershock01)
classes
 
Why won't my code display the student id? I think I know why, but how could i fix it to show the id...
[2 replies] Last: the setall function is supposed to initialize the class members. than... (by joshuatz)
cin >> n doesn't work
 
Hi, I am working my way through Bjarne Stroustrup's Programming Principles and Practice Using C++...
[4 replies] Last: Thank you, Moschops! The program works now! ^_^ (by verdastelo)
Ofstream not changing target file
 
I wrote this function to sort an array of library books by their book type (an int from 1-4) and to ...
[1 reply] : I would check the status of bookWriter after the open() call to make s... (by koothkeeper)
Pointer Example: Some Problems Part 2
 
So heres my program: #include<iostream> #include<ctype.h> #include<string.h> /* Prog...
[2 replies] Last: http://stackoverflow.com/questions/1744665/need-help-with-getline #i... (by Bdanielz)
I want to make program with a GUI
 
I want to make a program of calculating bending allowance for sheet metal. I have made it in code...
[1 reply] : You could look into using a graphics API or library. You might look in... (by CGunn86)
Check if an array elements exist in the another array
 
Hi, I have two arrays like this: A={ 1, 3, 7} B={ 4, 5, 2, 3, 8,7,1} In C++, I want to check wheth...
[11 replies] Last: Remove the system("pause"); altogether. There is no sane reason to h... (by keskiverto)
C++ iterator, function not running
 
133:40: error: \u2018remove\u2019 declared as function returning a function (typename vector <T>:...
[3 replies] Last: Of course. Within your class definition (lines 5-24) you do declare (... (by keskiverto)
what is problem? i don't know ...
 
Write your question here. #include <iostream> #include <string> #include <fstream> #includ...
[2 replies] Last: main problem: int main(){ vector<ocean> x(N); // This actually cre... (by tipaye)
C++14 Question about auto
 
Looking over some of the new stuff in C++14 I notice you can use "auto" for the return type of a fun...
[1 reply] : I agree. I prefer writing the return type explicitly. It makes it much... (by Peter87)
Pages: 1... 5859606162... 89
  Archived months: [feb2016]

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