Beginners (Page 22)

C++ versus BASIC
I've been following the excellent series of tutorials by Bucky Roberts and have now reached tutorial...
[no replies]
FILE IN OUT probelem
I printed out more than one name in each line, who can explain why it will be caused #inclu...
[2 replies] Last: oh i am fking dump.Thank you bro (by toby1a05)
my program is crash
why my programm is die #include<stdio.h> #include<stdlib.h> typedef struct{ int *data; int size;...
[3 replies] Last: thx bro!! (by toby1a05)
by jen400
Outputting a line N amount of times
Hi, so I am writing a program for one of my classes. I have to output the message "Happy-Birthday" N...
[2 replies] Last: awesome! Thanks! (by jen400)
Keeps returning 0
Keeps returning 0 and I'm not sure what to do #include <iostream> #include <fstream> #include <...
[3 replies] Last: void displayTeams(string); //function declaration void displayWorldS... (by Marcus Aseth)
nested for loops
When i get rid of the top for loop and replace 'i' with 7(7th row of the board), the program works c...
[10 replies] Last: What you have in your code is for(int j=0;j<6;j++) which means yo... (by Marcus Aseth)
Finding a letter in a string array.
I am trying to find a the fourth letter when 5 names are put into an array. From using a for loop fo...
[1 reply] : first get a pointer to the beggining of a name, meaning run a while lo... (by Marcus Aseth)
Unable to pass struct variable to class function
Stumped. Trying to pass a struct variable to class member function. Get syntax error as the struct ...
[2 replies] Last: Thank you very much!! (by togar4071)
The Pythagorean theorem states that the sum of the squares of the sides of a right triangle is equa...
[6 replies] Last: ok thank you and sorry if my question is weird I am fairly new to prob... (by closed account iyvp92yv)
Need some help with a problem :).
I am going through Bjarne Stroustrup's book and I have encountered a problem that i cannot solve. I ...
[2 replies] Last: I see three errors: 1)"dislike" vector need a terminating semicolon. ... (by Marcus Aseth)
by Cp9
Help with the program
Hello everyone. I trying to write a program where the user enters number and counter is moving by th...
[1 reply] : Something along these lines, perhaps: #include <iostream> struct co... (by JLBorges)
by Fer123
Program that tells how many more gallons are needed to reach the destination
I'm making a program that tells the user how many galoons of fuel do you have to add to reach the de...
[3 replies] Last: It is still the same: If Volume is known and CarTank is known, then t... (by keskiverto)
Need help with coding quadratic formula
I'm trying to code a program in C++ to: ask for 3 integers, display them, and depending on the numbe...
[5 replies] Last: Thank you. The fixes worked perfectly. (by crackedice)
Help with Count loop
I need help calculating a sequence of numbers this is the equation & iteration i am trying to so...
[5 replies] Last: Here's some palooka code for you. #include <iostream> using namespac... (by lastchance)
If else statements (multiple cond.)
Hello, I'm trying to build a program that tells you what letter grade you received based on the ave...
[1 reply] : if (avg >= 90) cout << "Grade: A \n"; // >= 90 else if( avg >= 80 ) c... (by JLBorges)
Reading text from a file into an array
Hi there! I'm trying to write a program to take a file with various information about a film, and re...
[1 reply] : In function 'int main()': 38:31: error: 'getMovie' was not declared... (by Ganado)
by JM567
Lottery Ticket Check
Hello, the assignment instructions are as follows: In this assignment you are to code a program that...
[3 replies] Last: Please edit your OP and add code tags tags around your code. Ple... (by Ganado)
need some help
i posted this on here early and someone helped me out with it but I'm still having trouble with it r...
[12 replies] Last: Thank you so much Ganado (by joemu6airi)
minor bugs
for some reason this code will add up everything but it wont deduct the discount using name...
[3 replies] Last: I wasn't exhaustively listing all errors, but I was showing you the bi... (by Ganado)
HELP code
with this new code I rewrote to determine if a number is prime or not, the code works. My problem is...
[1 reply] : It would help you in the long term, and everyone else, if you used pro... (by Ganado)
Pages: 1... 2021222324... 44
  Archived months: [jan2018]

Cannot post in this page. To post a new message, go to the first page.