Beginners (Page 8)

New to 2-D array
I am just gathering some knowledge about c++ 2-D arrays for an assignment. I am given a file with...
[11 replies] Last: thank you very much...this will help me in understanding c more.. (by ramboqr1717)
Learning C++, practice with for/while loops
Had an idea to learn. Layout below. // Program layout // There is a room of 10 doors // Computer ch...
[1 reply] : For your if statement using the condition of response, it has to be in... (by mossyhorn)
How would I set up this code?
For my homework, we have to do this. I'm just not sure how to setup t...
[6 replies] Last: Eg if you had 45 days then they convert to 45/7 weeks and 45%7 days re... (by kemort)
Confused about module call
This is in digital picture mode, so I can't paste the code here. I can only give screenshots. http...
[1 reply] : Given your current code, you are indeed right, the function getHoursWo... (by Shadowwolf)
opening .txt from a directory
hi, im trying to open some .txt files from a directory but idont know how many files are there and i...
[2 replies] Last: it was useful, thanks (by steven8)
Help creating first C++ program
Hey guys this is going to be a bit of a novel but I’ll try to keep it as short as possible. I'm...
[10 replies] Last: I guess some of the things which may help you decide which system to g... (by TheIdeasMan)
by rrifai
some kind of error
I can't seem to find the error, but there is one because the sample output is completely incorrect. ...
[2 replies] Last: Hi, The first problem I see i this [code firstline=27]int nvow=0; //.... (by programmer007)
I'm trying to create a "inventory selection" type of thing, but I'm having trouble integrating the f...
[1 reply] : You can use a std::map #include <functional> #include <map> string... (by a k n)
calculate average values of a sinusoidal signal
I want to calculate average values of a sinusoidal signal with the period 0.02s in the interval of 0...
[3 replies] Last: There are two possibilities depending on what sort of information the ... (by kemort)
Function that can accept another function
I want to make a class with a function, that can accept the function of another class, with a vector...
[1 reply] : search for "function pointer" in cpp e.g. (by Necip)
by Nagi21
For loop madness
So I recently came upon a problem that required me to add the digits of an integer together and outp...
[5 replies] Last: #include <iostream> int main() { int n = 1234; int sum = 0; ... (by kemort)
Switch statement
I am working on the question from this post: I...
[2 replies] Last: Cannot use insertion operator, <<, on a string. Replace return "inv... (by vin)
by zionet
[12 replies] Last: ooh! (by programmer007)
by zionet
PROBLEM Read bit size keyboard and use bitset
As I can read the bit size keyboard and use that data with BITSET , can enter the correct code. ...
[3 replies] Last: (by kemort)
Opening a file
I'm trying to write to a file and open it, but I only get my default statement. void getFile...
[3 replies] Last: I meant that my two lines replace the corresponding two lines you had ... (by kemort)
Password Verifier - Need Help!
I have tried just about everything I can think of, I keep getting runtime errors. I am checking for...
[4 replies] Last: = is assignment. == is comparison. You've forgotten that in a few... (by cire)
Stack around the variable 's' was corrupted.
Write your question here. #include "Mean.h" #include <iostream> #include <stdlib.h> using...
[1 reply] : In CMean the array array has no size (which is illegal in standard... (by cire)
Using Stroustrup Third Edition
Hello everyone, Thank you for reading my post. I was recently gifted the beautiful special third ...
[1 reply] : I think one of the best places would be here: (by koothkeeper)
Array Struct
How would I get the array for products_amount to show only the information for the first item in the...
[3 replies] Last: Well done. (by jlb)
help please
I cannot get the item's names to show up on the same line, and I'm not sure what I'm doing wrong. Ca...
[5 replies] Last: I can get the single words to show up just fine but the ones like "st... (by jlb)
Pages: 1... 678910... 60
  Archived months: [apr2016]

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