Beginners (Page 7)

by cute
C++ reading from .txt file
Hello, I am having trouble with finding the running total in a .txt file. I am asked to add up al...
[4 replies] Last: Where is the file located? Is it inside your project or outside ? (by novellof)
How to add an extra 1 to the first and an extra 0 to the last of bitset?
I've written the following code using bitset.I want to add an extra 1 to the first and an extra 0 to...
[no replies]
How is my logic wrong for array use?
SO I am trying to break a 3 digit number up into 3 seprate pieces and having them coming out as a s...
[1 reply] : You declare count1 , count10 and count100 as local variables in f... (by MikeyBoy)
Error with output
Hello everyone, new to the forum. I was trying to complete an assignment but I just can't figure out...
[3 replies] Last: Post error messages here (by MiiNiPaa)
Having trouble installing SDL
No matter how much I try, I can't install SDL for Visual Studio Microsoft C++ Express. Can someone p...
[12 replies] Last: In Project->Properties->Configuration->VC++ Directories Add a path un... (by ahcfan)
Separate scores into rows
Hello, what i'm supposed to do is open a file with some scores in it, and then: 1. Find the averag...
[16 replies] Last: Squished18 Thank you. Kemort Thanks for your help earlier.... (by awkward)
reading from a file and writing to a file
Hi I am trying to read student records from a file to an array of Student objects and I need to writ...
[6 replies] Last: What you new you must delete. It doesn't matter where you dynamically ... (by jlb)
by davez
how to merge and sort array
can anyone please teach me on how to merge and sort arrays i have no problem sorting single array bu...
[1 reply] : (by DeathLeap)
Calculator: Chaining Of Operations (1,2)
I want to make a simple calculator which can read an expression and calculate it. Below I've posted ...
[25 replies] Last: Wow nicely explained thanks again. I learned a lot from you. (by Fateslayer)
by rida95
im trying to write a c++ program that can do this equation
s= +1-2-3+4+5+6-7-8-9-10+11+12+13+14+15...................n it first started with one + then 2 --...
[1 reply] : int op_limit = 1; int op_done = 0; bool add = true; int sum = 0; for(... (by MiiNiPaa)
by s1995
Question 6c Write a program named question6c.cpp that demonstrates the use of the following func...
[6 replies] Last: Thanks so much!! its working perfectly now.. (by s1995)
help with making a rpg game in C++
how would I make a rpg game in C++?
[4 replies] Last: University, I studied in, had 3 month C++ courses which consist in mak... (by MiiNiPaa)
User input with if/else statements and switches
So I need to write a program for my cse 100 class. I will provide all of the instructions, although ...
[1 reply] : What exactly you need help with? I see you already familiar with if st... (by MiiNiPaa)
C++ programming
Hello guys i'm kinda new to programming and i'm trying to do a certain task. I want to use a for lo...
[15 replies] Last: The senseless value of n is usually sign of failed read. Check if file... (by MiiNiPaa)
Confusing output for if/else code
I am at a loss as to how the output for this code is equal to 2? I feel like the "++n < 3" part woul...
[4 replies] Last: Yeah, that's right. If you don't want to change the value of n you s... (by Peter87)
by teetee
correlation prob
Hi guys, i'm stuck with this program here. Any help is appreciated. So the question that was given w...
[1 reply] : #include <iostream> using namespace std; const int SIZE = 10; doub... (by kemort)
by JJRR26
The Sieve of Eratosthenes Algorithm
Hello, The algorithm consist in that the user give a number (n) and the program have to find the ...
[12 replies] Last: OK, i got why giblit differs. i just saw the Wikipedia page of the sie... (by anup30)
swap_floats function
Im supposed to create a function that swaps the floats... the outcome of this code gives me: 2,4......
[5 replies] Last: You made the changes kemotoe suggested, including the reference parame... (by Zhuge)
Need help printing max value using functions
Hi, i need help with an assignment making this program to calculate the min, max, and avg values of ...
[3 replies] Last: Why are you trying to pass the maximum array to the function when you ... (by jlb)
How do you do this?
Hi, I am a beginner in C++ and he has asked me to complete the question below. I do not know how to ...
[3 replies] Last: #include <iostream> #include <limits> using namespace std; int mai... (by Corey21Woods)
Pages: 1... 56789... 55
  Archived months: [aug2014]

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