Beginners (Page 5)

Need help with Y/N loop with functions
 
I've got this program to prompt for current time in 24 hour format. I use functions to convert the t...
[2 replies] Last: Thank you so much! It works! (by Maxster)
inFile with multiple files
 
I have a coding assignment that has multiple file options to be opened and read, however if a file t...
[2 replies] Last: @OP I don't mean to be rude, but - how on earth did you think your lin... (by MikeyBoy)
by quete5
How do you change the appearance of the output?
 
Hi, I'm trying to figure out how to display input backwards, uppercase, lowercase, and display th...
[3 replies] Last: there are a bunch of ways to do these things. lookup tables, for ex... (by jonnin)
by az1234
swapping characters in string array
 
Hi, I have an array of strings and there about 20 lines that array. I'm wondering if there is a way ...
[8 replies] Last: Hello az1234, PLEASE ALWAYS USE CODE TAGS (the <> formatting button... (by Handy Andy)
by AL88
How can I make the if else shortcut compile?
 
How do I need to re-write the if else shortcut on line 51 to make it compile? #include <iostre...
[6 replies] Last: Are you sure your problem is solved? It might compile but it's far fr... (by coder777)
counting number of occurrences of digit d
 
Hi i want to write program that counts number of occurrences of digit d in a given range. here is ...
[3 replies] Last: #include <iostream> #include <algorithm> using namespace std; //===... (by lastchance)
by warku
passing variable between two objects
 
Hello dear forum, I used the tutorials here to learn a whole lot, thank you. Now I have a problem: ...
[13 replies] Last: For example: [quote=helios]Every time you add global state you make it... (by keskiverto)
by mck99
Accessing elements of const pass by reference std::list
 
What would be the proper way to access elements that are passed by const reference? Specifically std...
[2 replies] Last: When an object is pass as const reference it means that you can use fu... (by coder777)
by Tduck
How to declare a class template?
 
How to declare a class template? I tried, as seen below, but can't seem to get it to work. The err...
[1 reply] : If you want to define a function of a template class outside that clas... (by coder777)
using sstream
 
I am new to sstream. I am also trying to convert a double to a string. I need a set precision of 3 s...
[1 reply] : Hello noshkren, It would be a good idea to edit your OP and remove th... (by Handy Andy)
solve this and post it in comment
 
The program is supposed to take in two numbers from the user and display them separated by a comma, ...
[4 replies] Last: anthony2011 , I'm willing to give you the benefit of doubt. I've ed... (by CodeMonkey)
Can't multiply two 5x5 matrices
 
I'm very new to c++ and I'm confused as to why my code isn't working. I feel it's an issue with the ...
[3 replies] Last: You have a == instead of = for your assignment to array3. And you prob... (by tpb)
I need help here
 
I just asked those questions, but I need the feedback, and I did not find it available, someone know...
[6 replies] Last: Or is + if you dont % though. 0+0 = 0 0+1 = 1 1+0 = 1 1+1 = 2/ still '... (by jonnin)
by AL88
How do I get the List constructor to work for line 47?
 
How do I get the List constructor to work for line 47? I tried writing it out as the compiler sugge...
[19 replies] Last: There are multiple error (at least three) so the best way to approach ... (by Peter87)
Can't pass std::function as a parameter because there is no suitable conversion.
 
Hello, I have a function that takes function pointer as a parameter. Sometimes I would like to pass...
[13 replies] Last: So the idea is to wrap capturing lambda in capturless one :) You can... (by Peter87)
Beginner of beginners; lost on how to complete this assignment
 
im trying to code hangman; im familiar with c++ and i understand the content in class but when it co...
[6 replies] Last: your professor is forcing you to do something the wrong way, which ref... (by jonnin)
loop help
 
Write your question here. So i have to write a program and one requiremnt is that I have to impleme...
[2 replies] Last: Hello ineedhelp2, PLEASE ALWAYS USE CODE TAGS (the <> formatting butt... (by Handy Andy)
can't understand the question on my assignment
 
The task given is: You are to write a C++ program that reads in a WAVE file, reverses the audio sam...
[2 replies] Last: Well, since WAV PCM is uncompressed, it actually isn't too hard to jus... (by Ganado)
Code for finding the freqency of Chars in a text file
 
Hi I'm working on a bit of code that's supposed to populate an array with the frequency of each lett...
[2 replies] Last: Line 19 is of course dangerous. If a character doesn't fit in that pat... (by coder777)
Finding a way to count the number of comparison in C++ STL sort
 
Hi everyone, I'm trying to find a way to count the number of comparison done by the C++ STl sort. I...
[3 replies] Last: Thanks for helping me (by Song Tung)
Pages: 1... 34567... 39
  Archived months: [sep2018]

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