Beginners (Page 3)

by clodi
Array VS matrix
 
Hello, I know that I have been asking about arrays 2D arrays and matrixes for a quite a while but f...
[4 replies] Last: You have to explain more, because your code fragment merely gives an e... (by keskiverto)
by clodi
Dynamic arrays VS normal arrays
 
When comparing multi dimentional arrays and vectors, nobody really seem to care for normal arrays. W...
[5 replies] Last: Also dynamically sized arrays are not possible to create on stack. (by MiiNiPaa)
Palindrome Recursive Checker
 
I am trying to write a recursive function that checks if an array is palindrome (if it's reversed, s...
[3 replies] Last: Thanks, It's working perfectly now. (by DeathLeap)
Making a schedule using classes
 
Hello, I'm having a bit of trouble with my code, I'm trying to make a 7 day/ 24 hour scheduler. M...
[1 reply] : line 19 of Schedule.cpp is probably going to cause an out of range err... (by soranz)
Issue with a function that doesn't execute inside of another function.
 
I'm writing a program that takes in three strings ie. 123.45/N 23.44/S Location Name, then the user ...
[1 reply] : Not sure. Lines 14 and 15 of void getTotalLocations(int amountInput)... (by soranz)
Why this code is not giving error?
 
Why this code is not giving error? We cannot declare the same variable twice but here when the inner...
[2 replies] Last: @Esslercuffi, yeah I corrected what u said and I understood what u sai... (by thehitmanranjan)
Help needed
 
I'm having issues with this program; here's the description of what I have to do: The Galactic Re...
[4 replies] Last: So it seems that i forgot to ask the user to input the lifeform displa... (by JayJay007)
Fraction Calculator
 
Hi, so I'm trying to make a fraction calculator where the user can input anything in expressions wit...
[2 replies] Last: How exactly do you plan on parsing the input string? You're straying ... (by Esslercuffi)
Commander CLI Game playing up
 
Hi so I'm following a tutorial on making a CMD game with mages, warriors and archers. Everything see...
[3 replies] Last: Thank you! It was a video tutorial and the guy was going quickly, I mu... (by NewCComer)
C Program not giving correct output
 
This is a program in C that is not working for me. It is supposed to take a value i and also a mult...
[5 replies] Last: Ah ok thanks guys. (by Cheetofingers)
change the loop
 
Write your question here. // Program Looping uses a count-controlled loop to read and 02 // sum 1...
[2 replies] Last: // Program Looping uses a count-controlled loop to read and // sum 10... (by kemort)
Total is truncating/rounding value, need help preventing that
 
I have searched the webs and my textbook but I cannot figure out why my total does not come out to $...
[5 replies] Last: Change this line: cout << "Total" << setw(4) << "$ " << Pay << "\n"; ... (by JLBorges)
Need help with a loop I made.
 
So, the assignment I have is to repeatedly ask a user if they would like to add tests and then creat...
[8 replies] Last: Cheers chree3pO, If there was only one way then all we'd have to do i... (by kemort)
program stops running in case 1
 
Hey Guys, i'm a student in a community college and i am taking an intro to programming using c++. An...
[1 reply] : That is because your while loop is executing infintely. It runs so lon... (by Keene)
help with program
 
I am writing a program where the user enters postive numbers and the program outputs the average, an...
[3 replies] Last: It is not necesary... you are alright... :D....I edited.... thanks (by Java90)
Function of Dice simulation
 
Hello there folks. I am here to request help. Please don't misunderstand me. I don't want anyone to ...
[1 reply] : Check out the Reference in the C library <cstdlib> for srand() a... (by Duoas)
Making a Makefile
 
Hi! I'm trying to learn programming and I'm having some trouble with a makefile; I'm trying t...
[3 replies] Last: Um, there shouldn't be any file named "Makefile.cpp". A makefile is no... (by Duoas)
I can't get my second diver to appear
 
Doing a midterm assignment, and it is almost complete. The program is supposed to grade divers and g...
[7 replies] Last: I also don't know how validate the yes no at the end of the program. (by luke6386)
filled in the missing code
 
Write your question here. // Program CountMarks counts punctuation marks in a file. #include <i...
[4 replies] Last: OK ... here it is again. I think you must have missed something. #i... (by kemort)
My First C ++ Program (Determining Prime Factors of a Number)
 
#include <iostream> #include <string> using namespace std; bool chk(int i); string prime = " ...
[3 replies] Last: Wow! Thank you very much for your replies. I will try it again. (by august30)
Pages: 12345... 106
  Archived months: [aug2014]

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