Beginners - October 2015 (Page 10)

If it’s a letter, prints out where it is in the alphabet
 
Hi so im trying to write a program where one inputs a character and the output tells you where the l...
[1 reply] : This might help: #include <iostream> #include <cctype> int main () { ... (by ats15)
Question: diff. between ++i and i++
 
Hello all, I'm currently really confused about this code: i = 1; cout << ++i << " " << i...
[4 replies] Last: ohh i see! I got it now :) Thank you all very much for the clarificat... (by NewProgramma)
String Variable has value?
 
Hello, is it possible for a string variable to have a value like the number 1? Or like the code belo...
[2 replies] Last: Oh ok, thank you for your reply, I'll keep it in mind :) (by RandomGeek)
by b1477
Password Verifier
 
Hello, The only error I am getting is when the password entered is longer than 6 characters. I have...
[3 replies] Last: Sorry for the late response everyone, Ive been slammed with work and o... (by b1477)
Having trouble opening file c++
 
Hi guys, I wrote this program to open a file. However now, when build and run, i don't get any error...
[6 replies] Last: Try opening a file with a unique file name for output using the ofstre... (by jlb)
Having trouble finding the error in my code (ft. while loops)
 
#include <iostream> #include <fstream> #include <string> using namespace std; int main () { char...
[2 replies] Last: In function 'int main()': 27:9: error: 'gradeTwo' was not declared i... (by closed account 48T7M4Gy)
by ottob
Segmentation fault (core dumped)
 
I am getting the error Segmentation fault (core dumped) when I run my code. It compiles and I can en...
[6 replies] Last: I changed NUM_HOUR to a const int NUM_HOUR = 0; and I did the same fo... (by cire)
Reading in Mixed data from a file using double for loops?
 
Hello, First time posting and I'm already asking something from you guys wow not a good firs...
[1 reply] : Outer loop for each driver. A nested loop inside the outer loop for e... (by cire)
Help with displaying 1000 random numbers
 
Hey i need some help displaying 1000 random numbers between 1 - 100. the code i have here displays t...
[2 replies] Last: Hey i figured it out here is the code thanks for your help #includ... (by Ko2S2shot)
by Matiss
I am asking for help with a task :)
 
Compile a program that prints the screen arithmetic progressions first N members and calculate the a...
[5 replies] Last: You should use a variable unrelated to the calculation of the arithmet... (by cire)
Need some help
 
So I am supposed to write a code that does the following below. I am in a beginners C++ course and a...
[3 replies] Last: If you don't know know how to solve the problem on paper, then your ne... (by SamuelAdams)
by Chubby
enmu to normal
 
Thank you for helping:
[4 replies] Last: enum {DIGIT,LETTER, IDENT, INT_LIT, ERROR, SPACE, STOP, PLUS_CODE}; ... (by Chubby)
by afj978
Sorting CSV (excel) with C++
 
I am just getting into working with C++ and want to write a program that can use an excel file (or ....
[no replies]
Need help with a class problem(event)
 
So I wrote two classes, the first class will eat food or buy food and store it inside a fridge. The ...
[4 replies] Last: I appreciate the help, but my problem is I have to do it with those fu... (by helloworld135)
For loop not outputting table to file
 
I'm currently writing a mortgage calculator for a class project, but I'm having an issue with output...
[5 replies] Last: Show me what you expect the output to be in this case please. (by closed account 48T7M4Gy)
Using Input from a Document to find averages and show string output
 
I'm a beginner with programming and was given the following assignment: The input file contains t...
[1 reply] : Please help. I feel like the more I try to fix it the worse I'm making... (by jdrouillard505)
Help with understanding Fraction class code
 
So this is just my assignment. Were given this code to start out with, i'm just trying to understand...
[2 replies] Last: Ok cool, thanks. Yeah that helps a lot! (by nyaonyao)
by new1
using class variables outside the class.
 
i'm trying to find the way for how i can do this ? is that am i forgot any simple thing. I have a cl...
[4 replies] Last: Want to maintain my list as globally.. Here my list changing in differ... (by new1)
by king H
Looping
 
Hello guys, please assist me as to how I can get my code to prompt the user to enter the correct int...
[no replies]
October 2015 Pages: 1... 89101112... 57
  Archived months: [sep2015] [nov2015]

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