Beginners (Page 3)

Using for loop in this equation using c++
 
Given equation:S = {(P1 (1-u) + P2u) (1-v)} + {(P3 (1-u) + P4u) v}. This is an equation to represen...
[18 replies] Last: Thank you for your reply, I am using actually trying to use the 2b met... (by cmascare)
by kiri
Can u see anything wrong?
 
Can u see anything wrong with this code? Visual Studio does //Give or take iostream.. No need to po...
[10 replies] Last: Did you copy the code off of a website or from a Word document? Someti... (by booradley60)
glClearColor() problem
 
I have the following code: #include "SDL.h" #include "SDL_opengl.h" #include <iostream> int main...
[no replies]
Error in class function
 
Hey i got errors when i pass into class function as argument an another class object. Like : 11 Inte...
[5 replies] Last: Code is working perfectly. without this Character class argument in in... (by NoName48)
inputed by user string in dynamic array
 
Hello, I want to write a program that takes inserted by user string (any characters plus spaces) in...
[9 replies] Last: Maybe there is way to count entered by user characters? (by alexgit)
by amm123
help me fix this code?
 
I'm supposed to change the time class so that time will be represented as a single integer. That is ...
[3 replies] Last: I think the setHours() etc. functions still make perfect sense. The po... (by dhayden)
Error undeclared identifier - classes
 
I've recently decided to make the move from Java to C++ I thought I would make a simple text-based g...
[2 replies] Last: Thanks For your help! (by aaronhance)
Simple Ambiguity problem
 
Hi guys.I have a problem about ambiguous grammer.I am working with my book myself.I saw an example g...
[3 replies] Last: The first grammar is not ambiguous. An expr starts with an id or a "("... (by dhayden)
Call by reference, functions
 
I am having trouble validating the operator. The user has to input the operator they want to use and...
[1 reply] : http://www.cplusplus.com/forum/beginner/158191/ (by Townsheriff)
by Jhax
Input skipping in simple program!
 
Hey guys so I'm just going through my programming book and I'm doing some exercises on functions. I ...
[1 reply] : program outputs: "The value of z currently is: " You enter: 5 <ENTER... (by MiiNiPaa)
Loops
 
Iv'e managed to complete part of the code I need. int main() { int n, digit; printf("N...
[4 replies] Last: Ive thought that but exactly how to do it is completely eluding me >.<... (by Vasukki)
by zamar
Project till array...
 
hi guys i'm new to programming. we have studied if/else, loops and arrays so far and our teacher as...
[2 replies] Last: i m new here.. i'll keep that in mind next time.. thanx (by zamar)
Help displaying the numbers in the vector
 
Hi! I have an assignment I have to do that is described as follows: "Write a C++ program to input...
[no replies]
5 decimal places in code
 
Trying to get decimal places in grades, along with regular grades, not sure how to do it. Please hel...
[no replies]
Debugging with a program
 
My frequencies in the end show up more then once. How do I fix my program so that cout << "Numeric V...
[no replies]
How to avoid this memory leak?
 
Hello Forum! I have a class SceneNode that uses a vector of std::unique_ptr<SceneNode>'s to store i...
[2 replies] Last: The implementation of attachChild(...): void SceneNode::attachChild(... (by stulleman)
Money Dispenser print out least amount of bills possible
 
I need some help. I'm supposed to create a code of an atm machine that dispenses the least amount of...
[1 reply] : Think of your dispense problem a little differently. Take out the bigg... (by booradley60)
Detecting characters
 
I need to make a piece of code which detects what characters you input and then outputs a number bas...
[no replies]
Change from using STL to not using stl
 
i wrote a palindrome checker using a stack and a queue but i have to change it to where its using No...
[2 replies] Last: i was able to fix it by adding this code so it only pushes the non spa... (by Inthemountainair)
Passing a enum value to a function
 
Hey guys, I'm just curious how would I code a function header and parameters to except a enum value ...
[2 replies] Last: ok thanks man (by sourcedesigns)
Pages: 12345... 61
  Archived months: [jan2015]

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