Beginners - November 2018 (Page 17)

File and a while loop
 
Q. Consider a text file named "Data.txt" which contains an unknown number of positive integers. Writ...
[3 replies] Last: Thank you, it perfectly works! (by Anasdaham)
Printing unknown number from a file
 
Write your question here. -- Q. "A restaurant distributes a form to his customers to get their feedb...
[3 replies] Last: How about now? is there any part I missed? #include<iostream> #inc... (by Anasdaham)
Infinite loops caused by string value
 
I am creating a simple program (sum of two numbers) in which program ask user to input integer value...
[3 replies] Last: Found it using while(getchar() != '\n'); after scanf :P (by azhabalouch)
Help me with this "while" loop
 
Write your question here. "Q. Write a C++ program that asks the user to enter the name and time for...
[5 replies] Last: Oh yeah it's much better now, thanks #include<iostream> #include<s... (by Anasdaham)
by Bopaki
There is something seriously wrong with my C++ compiler today
 
Can I be helped with these errors that I get with private members in my program: I get errors with ...
[7 replies] Last: Thank you very much to everybody. The program worked very well after p... (by Bopaki)
how to solve rand issue and if-else code not running?
 
// question: /* The use of computers in education is referred to as computer‐assisted instructio...
[4 replies] Last: A separate function should be used to generate each new question. Thi... (by keskiverto)
C2259 Cannot Instantiate
 
Hello, I am a beginner with C++. I ran into the error C2259 cannont instantiate class. I have che...
[14 replies] Last: Your picture shows part of a file CHertzMindlin.cpp The error is state... (by lastchance)
=/== in IF statements
 
I am not able to figure why i need to use == to make my statement work, isnt == the same as not equa...
[8 replies] Last: Không gian xanh đẳng cấp tại Chung cư N01 T6 Ngoại giao Đ... (by alfredabbe76)
Singly Linked List Delete At A Certain Location
 
Whenever I run this code, I try to make it delete the first node and it doesn't. if the user chooses...
[1 reply] : > but then now this happened. ¿what happened? http://www.eelis.net/... (by ne555)
Errors From Functions
 
So i'm writing a code that will take an input of an array and then separate the negative and non-neg...
[3 replies] Last: I dont know how i missed that, thanks so much! i feel so silly. (by greygriff)
by Majosh
programme to output students grade
 
Write a Program to output the following: Name of Student Course Grade (Based on the marks entered...
[5 replies] Last: You had a thread http://www.cplusplus.com/forum/beginner/245567/ It en... (by keskiverto)
Need help with this c++ project
 
http://cs.uky.edu/~kwjoiner/cs215/proj/proj3/proj3.pdf
[2 replies] Last: Hello kwl1314520, With what little I read I would start by creating ... (by Handy Andy)
by Drac0
Inputting File information into a array
 
I have an assignment due, basically it is asking me to have 2 input files that the user chooses, in ...
[4 replies] Last: Would I just need to make a while loop to to count the amount of numbe... (by Drac0)
C++ array issues
 
I have the code working but it is not what the instructor is wanting. Here is what I am having to d...
[7 replies] Last: OK I will see what I can do. I have to use headers because that is wh... (by natewill2)
Calculating the percentage of each of the numbers in the matrix
 
Hi there. In college I got this task "Input integer matrix 3x5 with elements from 0 to 9. Calculate...
[2 replies] Last: int a ; ... map<unsigned short, unsigned short> b; for (int j = 0; j... (by Konstantin2)
by Majosh
code to grade students
 
consider the following statements in which grade is a variable of a type char i need a code ...
[2 replies] Last: thanks it really helped but here is the rest of the question (by Majosh)
Error: (A) not declared in this scope
 
Hey, I try to start the program, but it says that a variable is not declared in this scope, even tho...
[10 replies] Last: You're welcome! Glad it helped, and I hope the explanations made sens... (by MikeyBoy)
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)
November 2018 Pages: 1... 1516171819... 24
  Archived months: [oct2018] [dec2018]

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