Beginners - April 2016

Reviewing for a test, cant find these questions :S
 
My professor gave us an exam review, and I have done all of the questions and these were the questio...
[no replies]
Not sure how to fix these errors my code generate
 
done
[no replies]
Finding if day is a valid day in a specific month
 
I am struggling to write the if statement to find if a day is valid in a specific month. For example...
[2 replies] Last: Easiest way is to use an array to store the days. typedef unsigned ... (by Thomas1965)
I want this to say "I am laughing out loud"
 
So far this is only printing "laughing out loud, I want it to print the whole sentence if the input ...
[5 replies] Last: Can you post the code? (by Thomas1965)
If statement comparing string.at with char not working
 
if(inFile){ while(getline(inFile, line){ cout << "that"; for(int a = 3; a ...
[5 replies] Last: Does that for() loop ever end? Look closely at this line: for(int a ... (by jlb)
C1075- the left brace unmatched at the end of file
 
The left brace is matched at the end of the file. It must be something else. Here is the begimnning ...
[no replies]
Sort Function is not fully sorting array
 
The sort_words function is not fully sorting the array. When executed the first half looks sortedth...
[1 reply] : Don't leave out the prototypes of the functions and the includes that ... (by ne555)
Deleting text?
 
Hi, forum i search on google if there's any type of deleting text from cmd, for example: i write a l...
[9 replies] Last: I resolved my problem, thanks also for those useful commands! (by CosminPerRam)
by Nami
identify an object in array
 
hi there, i'm writing a code that takes dates from the user in the form xx/xx/xxxx and convert it ...
[no replies]
by setia
C++ to Pseudo code
 
Help me please, I don't really get how to write this into pseudo code. I need to submit this evenin...
[1 reply] : The link below was explained to you in the code below: http://www.cpl... (by chicofeo)
by setia
C++ to Pseudo code
 
Help me please, I don't really get how to write this into pseudo code. I need to submit this evenin...
[1 reply] : Pseudo code was explained to you at the link below: http://www.cplusp... (by chicofeo)
by setia
C++ to Pseudo code
 
Help me please, I don't really get how to write this into pseudo code. I need to submit this evenin...
[2 replies] Last: Double Post: http://www.cplusplus.com/forum/general/190139/ Please, ... (by chicofeo)
by WestAU
Assistance With ENC/DEC in Memory from text file please..
 
I am wondering if someone can assist me with my request. I would like to allow a couple of people t...
[1 reply] : Apologies for requesting assistance in this way. I have read the rules... (by WestAU)
I am trying to replace an abbreviation in a line of text with the meaning written out..
 
I think I need to take out the pos >= 0, and use "if (pos != string::npos) { " but not even sure wha...
[2 replies] Last: I thought it didn't go through the first time. Sorry about that. (by lalphin)
getting error C4700: uninitialized local variable
 
My issue is i am getting error C4700: uninitialized local variable 'response' used on line 26. I kn...
[2 replies] Last: Awesome thank you for the help! :) (by SiliconPatriot)
Switch Statement Counting Different Characters
 
Hello, I am still fairly new to C++ and I have been having a lot of trouble with a certain code. I a...
[4 replies] Last: Thank you all for your speedy replies, I have now got a working progra... (by AubreyN)
Need help with input file.
 
When I compile this program I do not receive an error message, but when I run it, the age and factor...
[7 replies] Last: Your file name is adujustFile, but what's the extension of the file? i... (by DeathLeap)
Graph Implemnetation
 
This method is find the city name and if is not find the city name just return null. The city name s...
[no replies]
by dj29
Infinite Loop?
 
The code was working fine until I added in a few arrays. Now an infinite loop occurs if the value of...
[4 replies] Last: This is A reason to avoid global variables. Take a look at line 7: in... (by chicofeo)
beginners frustration
 
Write a program that opens the file and reads all the numbers from the file. The file contains a lis...
[6 replies] Last: I am seeing a lot of if (inputFile) . To open the file: if (!input... (by chicofeo)
April 2016 Pages: 123... 43
  Archived months: [mar2016] [may2016]

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