Beginners (Page 25)

Loop, and display of table for degrees
(The formula for converting a temperature from Fahrenheit to Celsius is C=5/9(F-32) Where F is the...
[3 replies] Last: No need to have a temp variable in your function, you can simply retur... (by FurryGuy)
Multiple Inputs
For my intro class I have to write a code that allows the user to input multiple integers. For examp...
[3 replies] Last: Let me know what you think of the program that I made for you. In reg... (by ratfus)
Program doesn't work correctly.
I cannot find a problem within the code. My highest, average, and total come out to be the correct n...
[3 replies] Last: Alright I got it working. Thank you. It's my first time using this sit... (by noshkren)
by ratfus
Pointer program keeps crashing
Why does my pointer to pointer program keep crashing? Shouldn't I be able to point to another point...
[6 replies] Last: PLEASE, learn to use code tags, it makes reading your source MUCH easi... (by FurryGuy)
Vectors problem
I'm trying to make a program that displays the contents of various vectors, and for the last vector ...
[2 replies] Last: Thanks, this works just how I wanted it to. (by Databend)
binary search comparison
Could someone help me figure out how I can get the comparisons of attempts in a binary search. The l...
[5 replies] Last: Have you run the program with your debugger? Set a breakpoint before t... (by jlb)
Overloaded operators and Copy constructor
so I have some trouble with my code, not sure if its something wrong with the copy constructor or th...
[1 reply] : This is the Main.cpp (These are just testing cases.I am not allowed t... (by kikiyox77)
Array Loop Question
Here is the summary of what I am trying to do. I am building a calculator using functions. I am havi...
[2 replies] Last: Those make sense. I will try revising my code with these to see if it ... (by Cryptic HyRulian)
Pass a .txt File Into a Vector
For my class, we need to read in values from a .txt file and input them into vectors to solve for a ...
[4 replies] Last: I'm glad it works OK. Now I look at it more carefully, you do need t... (by lastchance)
For Loop Initiation
I need help with DO_2. How do you initialize 2 variables in a for loop? I thought you could only do ...
[2 replies] Last: Hello piotrowskid, Initializing 2 variables in a loop is explained the... (by mycuser)
complie error
my code stops running at populate_div_sales(div_sales, div_regions, 4); and gives me errors saying...
[2 replies] Last: Hello poonamp6792, Adding to what coder777 said what that confusing c... (by Handy Andy)
by GonlyG
Exception in finding a string in a 2D array
I have a function where I must try to find a string in a 2D array of strings and obtain the row and ...
[5 replies] Last: only occur when there is an error? What error? What error do you ex... (by keskiverto)
Getting cpu temps using WMI
Hello I downloaded: this software to generate wmi co...
[3 replies] Last: Up. (by speed258)
Counting the number of Even and Odd numbers
Powerful Techniques to remove urine out of your Futon mattress. In the ...
[1 reply] : % is the modulo operator if (integer%2 ==0) your other erros look d... (by ne555)
compilers and assemblers
Hi guys I am reading a book called computer system architecture by M. Morris Mano anyway I skippe...
[2 replies] Last: Hello adam2016, anyway I skipped to the chapter on programming,and i... (by Handy Andy)
by zapshe
A way to search input for a specific character?
Hi, I've been coding A LOT and so I've been wondering lots of things - I feel like I'm spamming the ...
[2 replies] Last: Thanks Thomas! I looked up the find function and it'll work for what I... (by zapshe)
Combining strings and numbers
What is wrong with my code? #include <iostream> using namespace std; int main() { int a...
[5 replies] Last: Put your ego back in its box. Trial and error? Sure, that's great. ... (by Repeater)
code doesn't compile
so my code works in shell but doesn't work in pico c++ editor .cpp compiler these are the errors ...
[1 reply] : You have got one more end brace on line 62-65 than needed. This would ... (by Peter87)
how to delete a line from a file
if i have a file i am reading from for example A 3.0 5 B 2.1 2 .. if i want to delete line b if ...
[2 replies] Last: thank you so much. (by Echelon22)
how can i end this loop
masters how can i end this loop. pls #include <iostream> using namespace std; int main() ...
[8 replies] Last: #include <iostream> using namespace std; int main() { cout <<"thank yo... (by jamesgodspower)
Pages: 1... 2324252627... 45
  Archived months: [feb2018]

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