Beginners - November 2016 (Page 37)

by Chamat
Scanning each character of a String
 
I'm trying to make something that: prints only the uppercase letters prints every second letter ...
[2 replies] Last: Wow you really went above and beyond and did the whole thing for me, ... (by Chamat)
Function program won't compile
 
Any particular reason my code isn't working? I'm trying to use a function in a function to find the ...
[8 replies] Last: makes sense thank you (by AchillesO23)
Need help with part of code (operator overloading)
 
Okay so what our teacher gave us was this: 1. Develop a class smartArray with the following mem...
[1 reply] : Every time you add a value to the array, increment the size by 1. (by starman00)
Stats Program Runs But Crashes
 
I am trying to write a console stats program for fun that can calculate a chi-square one-way goodnes...
[1 reply] : The issue is line 4. You can't create an array off the stack with a no... (by rabster)
by Horro
2nd order Runge-Kutta with coupled ODEs
 
Hi, my question involves solving a system of two ODEs using the 2nd order Runge-Kutta method. I have...
[1 reply] : If you have code to solve dy/dt=f (as posted) you should be able to ch... (by lastchance)
Roman numbers to natural numbers
 
I am supposed to make a program that does as the title says. Each roman number ends with a -> . I h...
[1 reply] : Made it to work, have been looking for like half an hour to finally se... (by Oriol Serrabassa)
Sequential Ordering and Dynamic Arrays
 
Hello, I keep getting errors with my code that I'm trying to produce. At the moment, it says I can't...
[5 replies] Last: I've learned that the error lies within the addInOrder function but ca... (by djr1599)
To many errors in statistical calculation
 
Hello guys, I was given an assignment by my prof to code statistical calculation which are average, ...
[6 replies] Last: If I just want to use cmath and iostream, how can I change my code to... (by keskiverto)
dealing with some logic errors
 
Hello peeps! I'm having some problems with my codes. I had done a quadratic equation calculator prog...
[1 reply] : Please use code tags - it will make it much easier for people to read ... (by lastchance)
Sorting Names
 
Hello! I am trying to right a program that will have the user enter up to 20 names (no limit on leng...
[no replies]
switch case overflown array
 
Here's what the program does and where the problem is. It generates 100 random numbers between 2-12(...
[8 replies] Last: It's very easy to improve. All you need to do is generate two random n... (by Peter87)
problem with incrementing
 
Hello! I have to learn C++ as part of my programming class, so my question today is how to deal wit...
[1 reply] : Line 20-25 is a function definition. A function named division that ... (by Peter87)
Case ain't calling the function?
 
Well i'm forced to use the current funtions, loops etc. The code is not passing me any errors/warnin...
[no replies]
OOP .. classes and copy constructors
 
#include <iostream> using namespace std; class Line { public: int getLength( voi...
[4 replies] Last: thank you :) (by zeroblank)
Help!!! Number Problem!
 
Hello everyone, Can anyone please help to resolve this problem. I am just starting in C++. Was gi...
[2 replies] Last: We don't do homework here, if you need help, post some code. (by DeathLeap)
cin error... Need help!
 
I'm trying to ask the user to enter one integer value: 1,2,3 or 4. But if the user enters 2a or 2p ...
[2 replies] Last: Thanks! I tried using string format and it works :) Sorry for not putt... (by autumpa)
by adam50
recursive permute function (looking for a different version)
 
Hi, I'm a beginner at c++. The following code outputs first string plus all possible permutations of...
[2 replies] Last: Thanks :) (by adam50)
i got error and how to fix it???(C1903 C2040 C2676)
 
Hello everyone, i have my code ,but i got some error when after i linked to string2.cpp thos...
[2 replies] Last: To get help avoid dumping a lot of code in your post, it makes people ... (by Austin J)
How to read the amount of a certain character in each line from a .txt file in c++?
 
I'm reading from a .txt file called RainOrShine and the contents of the file look like this: R C R...
[5 replies] Last: An alternative, and probably more flexible, way to do this is to decla... (by gunnerfunner)
November 2016 Pages: 1... 3536373839... 44
  Archived months: [oct2016] [dec2016]

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