Beginners - September 2014 (Page 3)

Best compiler for c++ primer plus?
 
Hi, im learning c++ right now from the book c++ primer plus and I am using dev c++ to practice th...
[1 reply] : Dev C++ is fine if you are using latest Orwell version and not outdate... (by MiiNiPaa)
Corrupted Heap, trying to make custom vector
 
Solved: I did not have a operator= for my customvector, because when I copied the Person (which at t...
[5 replies] Last: Great effort with your custom vector! You may want to check out std:... (by megatron 0)
by Jhub
logical operator problem
 
At the end of my code (ex. 2) I am trying to have the user input scores and then a -1 to end. The o...
[5 replies] Last: Yes (by MiiNiPaa)
What's wrong with this code?
 
This is code for determining the type of a triangle. I need help with it- what's wrong? #include ...
[5 replies] Last: You can do this without the angles by using the Pythagorean Theorem. ... (by booradley60)
Program compiles but does not run
 
I made a program that does basic math operations but will not run. When i hit compile it tells me th...
[9 replies] Last: Thanks everyone I really appreciate it!! (by Gingerbread)
Design a circuit Help??
 
Design a circuit to distinguish all prime numbers that less than 16. Show me your circuit and logica...
[3 replies] Last: I'm with cnoeval on this. Design a circuit? You mean with logic gates... (by megatron 0)
C++ SUM - I can not finish it...
 
Hello, can somebody help me? I need 20(summ)k=0 for 0.1(pow k) / k! in: DEV CPP for faktorial I ha...
[no replies]
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)
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] : http://www.cplusplus.com/forum/general/96943/ http://mathbits.com/Mat... (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
VoidFunctions
 
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)
September 2014 Pages: 12345... 51
  Archived months: [aug2014] [oct2014]

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