Beginners - September 2017

Need help converting Celcius to Fahrenheit - Homework
 
Hello. I am currently taking an introduction to C++ programming class at my college, and we have to ...
[6 replies] Last: It's weird how both cout statements require Fahrenheit as their vari... (by Chervil)
Strange c code, aprecciate some light
 
Hello, guys , this is my first post. I'll paste an exercise code i made for my school. This one ...
[8 replies] Last: Ty very much Enoizat! God bless you for being so kind to me. I was j... (by mondometal)
C++ nested loops and while or if
 
So I run the program and it doesn't run the while loop. the program is supposed to find the number ...
[2 replies] Last: I was referring to these two examples from my textbook: ==============... (by Cchadwicka1)
const function what for?
 
What's the purpose of adding const to a function? const_iterator begin() const { return data...
[1 reply] : The const keyword is used to mark a thing as “promise not to chang... (by Duthomhas)
by chuvak
Trying to validate a number based on certain conditions
 
Hi folks, So I am learning C++, and I agree with others when they say guiding through a problem i...
[4 replies] Last: > How would I go about implementing this? My SIN is of the type int, n... (by JLBorges)
Quiz program using classes and array of objects
 
Can someone help me walk through parts of my program? https://imgur.com/w46sSFX #ifndef QU...
[14 replies] Last: when I can see code as well My attempts to solve your issues (the on... (by Enoizat)
My First C++ Program - It works, but I have another issue...
 
Below I will paste my first program, but, my issue I think is with DEV C++. We downloaded DEV C++ on...
[11 replies] Last: I added (below) right before return 0; at the end and that fixed the ... (by Enoizat)
program that outputs a letter an x number of times
 
the idea for the program is that the user inputs a letter and a number and it outputs a line pattern...
[3 replies] Last: for(int K=n; K>0; --K){ print_x_letters(letter, K); std::cout <... (by ne555)
Timer output problem
 
Hi. I just recently started playing around with c++ and set myself with a challenge of making a sim...
[2 replies] Last: Thanks for the help! Do you know any other way of printing out a sin... (by reign28)
IF STATEMENT QUESTION
 
Hi,everyone. May I know why the program only solve using the 1st "if" statement? For example, I inse...
[2 replies] Last: Wow. Thank you very much! (by hooi1997)
Trying to count occurrences of number 3...it's a little off. (1,2)
 
Hey guys, sorry to keep bugging, but my class is online and my professor doesn't provide feedback re...
[22 replies] Last: #include <iostream> #include <fstream> #include <ctime> int main()... (by closed account 48T7M4Gy)
how to eleminate F1 F2
 
when i input F1 the getch() still get it eventhough my code has elemenated F1 and stuff like that al...
[6 replies] Last: crystal clear...that's the answer that i have been watting for a long ... (by phongvants123)
Pointers and functions?
 
Hi everyone I was asked to determine why this code while result in a runtime error but I have no ide...
[8 replies] Last: The pointer was not destroyed. The memory the pointer accesses is wha... (by jonnin)
Why doesnt this work?
 
Everything works however the when I put a capital letter it gets an error in the first 3 letters asw...
[5 replies] Last: 0&&1&&2 is actually a function which returns true / false This (... (by mbozzi)
Trying to multiple time
 
what I am trying to do is: 10:00 14:00 18:00 22:00 Increment the current time by 4 hours each loop...
[2 replies] Last: Yea I really apologise for the messy code. I come from a Ruby & Python... (by chronograff)
Need assistance on figuring out error on search traversals output.
 
Hi, I am trying to implement a best first search which takes in input of points(x,y) from a test.tx...
[no replies]
Stumped on Rock Paper Scissors against Computer
 
Hello everyone. So I need to create Rock, Paper, Scissors game with player 1 being a user and playe...
[3 replies] Last: A data driven approach would be simpler. Something along these lines: ... (by JLBorges)
tic tac toe code bug?
 
So I was writing this TIC-TAC-TOE program which lets a user select a cell in the table to be marked ...
[5 replies] Last: thomas 1965 sorry for being so dumb about me not understanding what y... (by Blazinteen)
How to set a result to 2 decimal places
 
I'm only allowed to use the <iostream> library, so setprecision can't be used. How can I set 2 decim...
[4 replies] Last: LOL, you're right. (I was half asleep when I wrote that above.) int... (by Duthomhas)
4th order Runge-Kutta method of vectors (1,2,3)
 
Write your question here. Hi, guys, kindly chip in with advice regarding how I should go about this ...
[56 replies] Last: The time-warp of -ve time is interesting Sadly, that's what he want... (by lastchance)
September 2017 Pages: 123... 21
  Archived months: [aug2017] [oct2017]

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