Beginners - March 2015 (Page 33)

delete linked list
 
kkk
[1 reply] : Why are you using C-stdio functions instead of the C++ streams for inp... (by jlb)
map iterator doesn't have (+ n) iterator - any work around this?
 
Is there any particular reason why you can't assign a specific position to the iterator of a map? ...
[2 replies] Last: @Disch Super helpful, thanks so much! (by sheva29)
by oseri
Charr array element spacing
 
Correct me if I'm wrong: The smallest unit possible to allocate is 1 byte, so : 002BF560 - point...
[13 replies] Last: things like 0.5 bits that were tried in the past, but I honestly have... (by MiiNiPaa)
Deleting pointer data using a deconstuctor
 
Hello everyone I am trying to ensure that I have now memory leaks within my program that I am workin...
[6 replies] Last: I double checked what I was seeing and I did successfully remove the a... (by Digimstr)
series1
 
how to do this series 1+2+4+7+11+....+56
[2 replies] Last: See the link for direction http://www.regentsprep.org/regents/math/alg... (by chouhaizi)
no output & standard deviation computation
 
I've got this code that's supposed to take some randomly generated scores and calculate the mean and...
[8 replies] Last: I tried debugging but nothing came up (I'm using xCode, btw). Are ... (by TheIdeasMan)
Reading from txt files and making it strings.
 
Example if I have a Sample.txt and it contains. Hello Hi How could i choose Hi and put it in ...
[5 replies] Last: Thank you guys for the help, I was able to fix it! (by StillAlive039)
12-element int array named days
 
Declare a 12-element int array named days. Assign the number of days in each month to the array, usi...
[1 reply] : You need to be looking at using flow control, i.e. IF statement. htt... (by Codermik)
HELP PROGRAM A SEARCHING AND SORTING
 
Hello there!! i'm still biginner in c++. Can someone help me to code a two searching and two sorting...
[no replies]
series
 
how to do this series 1+2+4+7+11+....+56
[3 replies] Last: for(int i=1, dif =1; i<=56; i+= dif, dif++) EDIT: please don't crea... (by anup30)
Function to remove an array element
 
Hey all, I'm trying to write a function to call to main that will remove a string element in a user ...
[3 replies] Last: Just replacing wouldn't suffice. You need to move the elements from th... (by coder777)
Multiple character constant in switch cases.
 
Hi CPP Guys, I am using switch statement to perform some specific search in my simple program, but w...
[7 replies] Last: Thanks, I am gonna learn that too. BTW I have to study about Boolean d... (by SobanSA)
Stacks with dynamic data without Classes/STL
 
I am having major problems here. I am still in the early testing stages of a program that is suppose...
[8 replies] Last: fg109, Thank you for your assistance. I was able to get my program to... (by frosty436)
Counting Prime numbers within a range.
 
Hey I'm having trouble with a problem from school. I need to write a program that counts the number ...
[no replies]
Multidimesnional Array
 
Make a program that will ask for the number of rows and column to output a two-dimensional array usi...
[9 replies] Last: Good! (by shadowCODE)
by camk16
Help Writing a Loop
 
#include <iostream> using namespace std; int main () { int i = 1; int n, Sn, sSum; cout << "...
[15 replies] Last: Thx for the explanation of pow, fun2code. (by thomaselder84)
Proper form when working with vectors
 
If, for instance, I have a function similar to this to initialize objects (don't take it too literal...
[3 replies] Last: Yes, but not having to deal with dynamically allocated memory is much ... (by muffin1)
Switch statement help
 
everything works fine except when the switch is false and immediate closes the prompt how do i fix t...
[no replies]
by map4
Control Break - Help!
 
Hello. I am currently working on an assignment where I am given a data file that contains a list of ...
[no replies]
For loop and Null 0
 
So im writing a For loop to read a string letter by letter, and I want it to stop at the Null 0. How...
[1 reply] : The for-loops syntax has (init; cond; incr) and the loop iterates as l... (by keskiverto)
March 2015 Pages: 1... 3132333435... 51
  Archived months: [feb2015] [apr2015]

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