Beginners - November 2016 (Page 21)

Uppercase the vowels
 
I cannot for the life of me figure out why my program isn't displaying the vowels as uppercase letters. I would appreciate any feedback! #include <iostrea...
[1 reply] : outfile << left << setw(11) << words << endl; upp... (by lastchance)
I need help with For Loop
 
Hi there I really need your help, I'm struggling with the for loop, the idea is user will have to enter a starting point and number of line. Then program will a...
[7 replies] Last: @joe844864, actually the professor requires me to use the while loop t... (by henryhung)
Question about an assignment!
 
Hi! I'm currently working on a project that has 2 users with different roles (instructor and student). These three are the requirements: 1. Both users should ...
[4 replies] Last: If you think about the project in a slightly different way you will se... (by closed account 48T7M4Gy)
How to iterate through sentence
 
My program works when it is only one word. But how do i get it to work for a whole sentence. This an english to pig latin translator by the way. and i can only ...
[2 replies] Last: Use the getline only version (commented out below) if you want the 'ya... (by gunnerfunner)
Just some simple erros by beginers
 
I can't find what is wrong in my program I can't run it Thankyou in advance guys #include<iostream> #include<stack> #include<string> #include<sstrea...
[1 reply] : Run your program and go through the compiler errors list from the top ... (by closed account 48T7M4Gy)
by rlake
Function to delete item from hashtable not deleting or generating error message
 
Hello, I am trying to write a function to delete an item from a hashtable chained with a linked list. To do so, it is my understanding that it's just a matt...
[1 reply] : Why the new thread? http://www.cplusplus.com/forum/beginner/202310/ (by cire)
Pointer Question
 
I have most of what I'm supposed to do done, however, the output is slightly off for my for loop in my program. I'm supposed to print every "nth" element that t...
[2 replies] Last: Thank you very much! (by juiceyjuicekid)
toupper and restart loop
 
For this given program, how do I get name.nickname to display as uppercase? I'm going to keep my failed attempt to use toupper in there, and how to I make the p...
[3 replies] Last: Hi, #include <iostream> #include<fstream> #include<iomanip> #include... (by shadder)
Difficulties in Reading Text File and Organizing Output
 
Hi everyone! I'm fairly new to programming, and I'm having difficulties on an assignment that was given by my professor. I'm trying to have the program read...
[1 reply] : He didn't ask you to make it pretty, don't spend your time on homework... (by SamuelAdams)
Is there any way to make modifications to the command prompt in visual studio e.g change background color, font, borders etc.?
 
I'm just wondering is there any way I can add a border around this simple menu I created in the command prompt on visual studio, also modify other things like ...
[1 reply] : A couple examples here on color. (by SamuelAdams)
Trying to figure out how to fix this cod
 
#include<iostream.h> #include<conio.h> #include <stdio.h> #include <stdlib.h> void main() { int a ; int i,j; float average; int sum=0; for(i=0;i<10;i...
[4 replies] Last: THANK YOU VERY MUCH (by tennisnash2)
Assignment Help: Name and Nickname
 
So, I for this assignment I need the user to put their first and last name on one line, then their nickname on its own line, and this display is as Firstname "N...
[1 reply] : 1. while (c = "y") It should be : while (c == 'y') 2. bool c =... (by Chidoro)
Assistance with Account Class Program
 
Hello! I'm looking for help with a c++ assignment. My goal is use 3 files that operate an atm. The 3 files are: account.h (interface of account class) account.c...
[1 reply] : I got a lot of help from this previous thread http://www.cplusplus.com... (by meridiansjudge)
by gcas
compiling problems on win7 home basic
 
Hello people. I'm a begginer in C++ programming. Well, I installed a program called "code block", at the first time nothing happens - no compiler found; ok I...
[3 replies] Last: Hello gunnerfunner! I did the procedures and works fine. Tnx for he... (by gcas)
Vector Subscript Out of Range
 
Hi everyone, I have been stuck with this problem for the past two hours. The program asks the user for the names and values of their cars, stores them in tokens...
[3 replies] Last: @booradley60 Wow, I tried that earlier, and it didn't work, but now i... (by yuriy14)
C++ Help
 
....
[14 replies] Last: ok sorry.. now i understand..i want to apology to keskiverto and last... (by lastchance)
Undefined reference to 'getLetterGrade(char)'
 
I'm trying to write a program that averages a students quiz, midterm, and final scores, gives them a letter grade, determines if the number of classes they have...
[1 reply] : At line 10, the prototype states that the parameter needs to be of typ... (by Chervil)
two dimension string array print error
 
My issue with my code is that i am getting back the locations instead of the actual values for the array at that position. #include <iostream> #include <...
[2 replies] Last: thank you, and no it didn't give me a compile error only a logic error... (by Roflbcopter)
Help with arrays and files
 
I have a project to write and am having trouble with how to start. I am using visual studios. The first part of the prompt is "One function should open the fi...
[1 reply] : Here is a simple demo: #include <iostream> #include <fstream> #includ... (by Thomas1965)
binary files, read hex add anumber to it and put in output.
 
Ok i am trying to make a program that reads every nth byte in hex from a binary file and adding a number to the hex to get a diffrent char. example I want to e...
[no replies]
November 2016 Pages: 1... 1920212223... 44
  Archived months: [oct2016] [dec2016]

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