Beginners - October 2013

Skipping ahead to classes
 
I'm in an intro to CS course, and the book we are using (Starting Out With C++ 7th ed.) goes through...
[8 replies] Last: as albatross said pointers are critical however they are fairly easy t... (by Cronnoc)
Yet another c++ calendar thread..
 
Hi everyone, I'm taking a beginning C++ class, and we're working on a project to write a calendar us...
[2 replies] Last: Thank you for the reply Disch, that seemed to have fixed that issue. ... (by Kevin2341)
Overloaded functions
 
I'm a little confused on this assignment. I've done most of the program but am a little confused by ...
[2 replies] Last: Seriously? This assignment seem way to easy for what I've been able to... (by allendks45)
Multiple Classes
 
I need to implement the functions from the header file (2nd piece of code), using a string class (1s...
[3 replies] Last: Yes, and yes. After all, you're storing the length of your string, are... (by Albatross)
abstract template class
 
Consider this code: template <class TYPE> class base{ public: TYPE in; void func()=0; }; ...
[1 reply] : Did you try to compile it? Note that func needs to be declared as v... (by AbstractionAnon)
Cartoon rendering
 
Hi there, I'm a C++ beginner, missed a lot of labs and lectures (not my fault, honestly) and well I ...
[1 reply] : //for every facet proyection = dot( normal.normalize(), light.normali... (by ne555)
LetterGrade Help
 
I seem to be having problems I'm not sure what exactly references are used for I'm not sure if I am ...
[2 replies] Last: @OP Line 67. You've defined a function named DetermineScore But on ... (by booradley60)
Some fun errors
 
I'm writing a program that has various operations preformed on a vector of 16 restaurants. I'm in th...
[2 replies] Last: Thank you! (by hseipert)
Opening movie file with a program within a program?
 
What I mean is, is it possible to open a .wav or whatever with the users default video player. Like ...
[1 reply] : I have found out about ShellExecute, but it gives me this error: #d... (by nicedude80)
by enemy
for loop
 
Hello! Please, what is wrong with the loop? Why is this loop writing out 1 and not 5??? // s...
[1 reply] : it does write out 5's if you do it like this: #include<iostream> usi... (by Uk Marine)
by Zodack
Help with Forking/stdin/stout/pipes
 
Hi, I am trying to write a program that can implement pipes and redirects in a shell environment. ...
[2 replies] Last: As far as I know, the find_first_not_of hasn't failed, and I'm unsure ... (by Zodack)
bool function causes runtime termination
 
Can I have a little help troubleshooting? I am working on a program that will calculate altitude and...
[no replies]
by ckl3
While loop not ending
 
I'm a beginner in programming and can't get the while loop to function properly. Please take a look ...
[3 replies] Last: What function are you trying to represent on line 27 (26 in the code b... (by booradley60)
Lost in pointer translation
 
I am somewhat confused by why this code doesn't maintain the previously assigned value. I assume the...
[6 replies] Last: Awesome! Thanks!! (by cdrmnky)
Exercise from C++ Primer
 
Hi, I done this exercise for the book I am reading. Here is the exercise: Write a program to read...
[8 replies] Last: Okay, thanks for your help. I can read on in my book now. Amazing book... (by closed account SNR21hU5)
code puts out nothing
 
I have no clue whats wrong here but the code doesn't put out anything this might be something really...
[10 replies] Last: ran the file with fstream and noticed i forgot to exclude divisible si... (by pixelpuffin)
Pseudocode For Loop
 
Hi guys, I am looking to write one of my for loops in pseudocode but I cannot find anything on the i...
[8 replies] Last: Thanks everybody. Sorted now. (by sailorman444)
Lychrel numbers (project Euler 55 problem)
 
I'm supposed to find all supposed Lychrel numbers. If in 50 iterations number doesn't become palindr...
[3 replies] Last: boost can deal with multiprecision numbers as well: http://www.boost.o... (by Cubbi)
by davef
Variable initialization question
 
Getting straight to it, how do I know when I need to initialize a variable in the declaration line? ...
[4 replies] Last: In your code you are assigning the value of n % m to x before usi... (by Annatar)
by blurz
Repeating characters that should be deleted are not. (1,2)
 
Hello, I am working on a project where I must read characters from an array and delete any repeating...
[24 replies] Last: Thanks for sharing "booradley60" I need that info too ... (by russellford)
October 2013 Pages: 123... 86
  Archived months: [sep2013] [nov2013]

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