Beginners - January 2017 (Page 3)

by pumzye
No Output on screen
 
Hello there, How do i get my program to display the average and computed standard deviation as writt...
[5 replies] Last: Ok, here it is , i have included #include<initializer_list> for the v... (by integralfx)
Bucket Sort Using 2D Array
 
I'm looking for the code of "Bucket Sort Using 2D Array"; Could anyone help me with that ?
[1 reply] : could anyone help me with this question as i mentioned in title plz ?... (by mbozzi)
Small Error??
 
I'm writing a program that does factorials. It is supposed to cout all the factorials up to the inte...
[3 replies] Last: #include <iostream> using namespace std; int main() { int counter ... (by bird1234)
Need help with 3 tasks for my homework
 
Write your question here. 1.The user writes a nubmer.Write a program to count the digits of the num...
[2 replies] Last: 1: #include<iostream> using namespace std; int main() { int i=... (by bird1234)
Help with simple formula
 
I want to know how to make this simple formula work, whatever I do I always get 0 as if the formula ...
[2 replies] Last: Thank you, I thought it was all declared in the beginning. (by MooseRichard)
Can someone let me know how to use the .peek() and .get() together in this code?
 
So I have to use peek and get in this code to see if the next character is a whitespace. While there...
[1 reply] : istream::peek reads the next character in the input sequence, so you... (by gunnerfunner)
this sorting technique is not working
 
why is this not working(selection sort) void selsort(int a , int n) { int low,flag,tmp; for(int ...
[2 replies] Last: Hello guddu232000, PLEASE ALWAYS USE CODE TAGS (the <> formatting but... (by Handy Andy)
arrow key
 
just asking, what char numbers are arrow key returning because i only have 1 set of the arrow key nu...
[2 replies] Last: @Flaze07 Not really sure how you're checking for the direction arrow ... (by whitenite1)
reference as data member
 
would reference as data member be the best choice if the data will not be initialized in constructor...
[no replies]
double integer variable in another function
 
suppose i define r=2 in a function g().how do i display twice the value of r in my main()?
[1 reply] : You use r in the return value of g: #include <iostream> int g() { ... (by dhayden)
How to rewrite following C++ code into C code?
 
How to do this in C? Please write entire code, because general hints don't help me. #include...
[2 replies] Last: I still don't know how to do this, please write entire code. I'm a beg... (by strange15)
Help with Programming!
 
Hello I am trying to get this dumbbell program to print out the factors of an integer in descending ...
[2 replies] Last: Hello jollyholly11, After writing the program and then rewriting the ... (by Handy Andy)
by altabz
windows visual
 
Write your question here. what shoud i do with this developer command prompt of windows visual what...
[no replies]
by zara42
2D string array doesn't work
 
Hi...!! I am a beginner in programming .. i am trying to store student data as in student data of...
[1 reply] : Give The Brief Explanation about your problem #include<iostream... (by bird1234)
Insert a Link to a Dynamic Linked List
 
Hi, The following programme is transcribed from a tutorial I am learning. With the programme, the t...
[12 replies] Last: gunnerfunner, I greatly appreciate that you spent your precious time p... (by iclearwater)
Monthly budget project won't calculate numbers correctly
 
So for my C++ class we have to write code for a monthly budget chart, the user input info and the co...
[5 replies] Last: #include <iostream> #include <iomanip> using namespace std; /******... (by closed account 48T7M4Gy)
Problem using infile to copy to struct member
 
I am trying to read data from a text file and store it into an array of structs of various types. Ev...
[4 replies] Last: First problem, original struct: struct carData { char model ; ... (by Chervil)
Char substring copy function
 
I have a working CHAR function, but would like some feedback on possibly making it better. I have...
[1 reply] : I have a working CHAR function, but would like some feedback on possi... (by Mantorr22)
Strange error, argv[4] being set to null when a file exists?
 
Strange error, argv being set to null when a file exists? I think reading the code and reading th...
[8 replies] Last: Oh! Ugh, I make the silliest mistakes sometimes. I don't get why I kee... (by RealGiganitris)
The biggest sum in a row (arrays)
 
Why do i get an incorrect result? int z ; srand(static_cast<unsigned int>(time(0))); for (in...
[2 replies] Last: hahha I really need to go to sleep i can't believe it :D (by spax1111111)
January 2017 Pages: 12345... 24
  Archived months: [dec2016] [feb2017]

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