Beginners - September 2016 (Page 27)

Help with using structs
 
Hi all, I have an assignment that requires me to do this: Create an abstract data type that repr...
[4 replies] Last: I got it working, thanks for help in any case! (by kigoral)
Noob help with Mac commands
 
Hey everybody, I am very new to programming and especially new working with mac os. I work in techno...
[no replies]
by Wabush
Can't really understand what cin.ignore() does
 
Hello and thank you in advance for your time. I was reading some old code I wrote to improve it and...
[2 replies] Last: First of all, thank you for your help. And yes, now I remember that I ... (by Wabush)
by basg
Advice c++ Menu
 
Hi, Currently I'm trying to create a (console) menu in c++, everything works fine (I think). It's...
[no replies]
by chmary
salut tout le monde je suis un étudiant en informatique de gestion
 
Write your question here.
[no replies]
Command Line Arguments
 
Hi all, I am using Microsoft Visual Studio Express 2013 and I would like to be able to pass comma...
[1 reply] : Find the executable, usually in the project folder under Debug if you'... (by JayhawkZombie)
2 programs I cant do, c++
 
My program is not running for either, please help Put the code you need help with here. [/c...
[2 replies] Last: My program is not running That does not tell much. If a code fails ... (by keskiverto)
boolean loop
 
It compiled perfectly until the last part where I must answer Y/N for Another?... I type y for yes b...
[11 replies] Last: It's fine you give me a hard time... I need the push to find alternati... (by survivor31)
Problem in 2D array
 
I was trying to create a program that calculates the sum of rows and columns in 2D array and the ele...
[3 replies] Last: #include <iostream> using namespace std; int main() { int rows =... (by closed account 48T7M4Gy)
length of a string
 
I need to calculate the length of a string and print it out in the first element of the array A . I ...
[6 replies] Last: My bad... there's still a lot to come up with, If you want I can edit ... (by shadder)
Dog age calculator won't calculate (if...else if)
 
Here is my code. #include <iostream> #include <string> using namespace std; int main() { ...
[2 replies] Last: Oh, crap. Can't believe I missed that. Thank you very much honestly :D... (by Saibachick)
by tkj80
if-else statement
 
Hi, I wrote the following code. When the counter i==0, the body of the first part of if-statement...
[1 reply] : You should put your else block in braces. If you don't use braces, o... (by JayhawkZombie)
by rantiv
sum and products
 
Why don't my sum and products output correctly? #include <iostream> using namespace std; ...
[5 replies] Last: It was just a challenge activity for Intro to programming. They asked ... (by rantiv)
by Reekoh
Help. reading from File
 
Hi. So this is the question given to me. Write a program that prompts the user for a file name, whi...
[1 reply] : It never prints because string phrase; doesn't have a value. Make a ... (by closed account iGLbpfjN)
Very Beginner Question(While Loop)
 
Hello, I'm VERY new to C and C++ and I am trying to write code for a college course. I'm not asking ...
[1 reply] : your code, indented int main() { int tooLow = 0; int tooHigh = 100;... (by ne555)
trying to read from a file
 
i dont know what is going wrong with this code but it has chosen not to do what i want it to do ...
[4 replies] Last: Tolulekes, On line 56 myfile.open ("Aisosa.txt", ios::in|ios::ate)... (by Handy Andy)
calling a running Avg function in a for-loop
 
Hey guys and gals, i'm new here and also fairly new to programming (cpp is my first language) i h...
[2 replies] Last: @ gentleguy.. compiler errors here are irrelevent. I'm trying to put... (by spikey1972)
Help: read/wirte to struct
 
I'm having issues declaring curr_prez as a struct placeholder, and im geting several errors with sy...
[9 replies] Last: Okay, but why are you even defining any President in main()? You never... (by jlb)
Programming Contest Problem output giving extras blank spaces
 
Hi, I am doing an exercise of programming called Erdös Numbers (https://uva.onlinejudge.org/index.p...
[3 replies] Last: The problem is probably being caused because the example you're using ... (by jlb)
Issue with linkedlist program, embarrasingly elusive!
 
This linked list works fine if i am using just first-names, but it messes up whenever I try includin...
[5 replies] Last: i.e does the getline() leave an end of line character in the input bu... (by jlb)
September 2016 Pages: 1... 2526272829... 34
  Archived months: [aug2016] [oct2016]

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