Beginners (Page 31)

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)
Using CreateFile Function
 
hi, I'm currently doing an activity where I'm going to open a file and read the content of it by usi...
[1 reply] : I suggest you use the C++ standard library functions. The windows syst... (by tpb)
how to call 2d arrays with arguments
 
I have not posted the entire code, just the part where I get the error. I keep getting this error w...
[8 replies] Last: Thanks. I hope i made the correct adjustments. (by tubeethet)
by ICantC
std::getline valid input check doesn't work if false is ever returned
 
hello, I have the below code which asks the user for input into a string, then checks whether that s...
[7 replies] Last: Just std::count would work: bool guess_valid(std::string guess) { ... (by mbozzi)
Count how many votes a number has
 
Hi, I am wondering how would I go about counting the amount of votes a certain number has in an a...
[4 replies] Last: SamuelAdams: I don't think sorting is appropriate here. It would almos... (by mzimmers)
optimized this code (1,2)
 
#include <iostream> using namespace std; int main() { int t; cin>>t; while(t--){ ...
[24 replies] Last: tpb , I'm not solving the problem, that post was off the top of my he... (by dhayden)
A number of errors, all on one line
 
Hello! I've recently borrowed a textbook from a friend so I may practice coding using the examples l...
[3 replies] Last: Oh, bless you. I thought I put commas there before and it came up nil,... (by Mobliterated)
format ‘%s’ expects argument of type ‘char*’
 
I am running a program that initializes a vector full of integers, assigns randomly generated intege...
[3 replies] Last: Peter87, that did the trick! Thank you! (by vaderboi)
Can not erase other non alphabet characters without going out of range
 
I'm supposed to get a string with spaces, numbers, or punctuations to become alphabet characters onl...
[5 replies] Last: http://www.cplusplus.com/reference/cctype/isalpha/ If done from scrat... (by lastchance)
by kmce
Advice on learning programming
 
Hi, so I am in my second year of uni, learning programming, and i feel like I am not getting anywher...
[11 replies] Last: ..I wasn't sure how I would keep track of the amount of days of not c... (by Thomas1965)
by AL88
undefined reference to Array::operator[](int)
 
Can someone help me fix the error on line 61 thanks. #include <iostream> const int defaults...
[1 reply] : You nee to implement these member functions that you declared. in... (by Ganado)
arguments to main( )
 
Hello there, can someone tell me why I need the '*' operator in the argument list of main ()? Do...
[10 replies] Last: I agree with jonnin. Being familiar with both Windows and Unix/Linux i... (by Ganado)
Increase vector with while loop
 
I want to be able to have the numberSorting.at increase with each loop, but I can't figure out how t...
[2 replies] Last: Thank you! (by amanseau)
by ashwyn
Help with Decimal - Binary conversion ?
 
Hello. This is code for testing a function that will be included in a larger program. I'm tryi...
[4 replies] Last: I prefer the recursive version, but this alternative fixes the string ... (by lastchance)
by AL88
why is my template specialization not working?
 
I'm trying to fix the error on the line "Felix.append( Felix );" by ajusting the function and peovid...
[5 replies] Last: Line 29 to 34 doesn't make sense. Remove it. Instead put appen(...) in... (by coder777)
Using Pointers with a Class
 
Hello, so this code was working in my compiler, but sometimes I would get an error message. It's wei...
[2 replies] Last: It's not likely to be “11 db”. Arguably, it's “lldb”: https://... (by Enoizat)
one Question
 
...
[1 reply] : That is inheritance, but ... Public inheritance means IS-A relationsh... (by keskiverto)
Pages: 1... 2930313233... 36
  Archived months: [oct2018]

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