Beginners - October 2012 (Page 83)

by gkn06
Complex number multiplication
 
i am trying program based on digital signal processing...i wanna create a function which uses comple...
[7 replies] Last: there is an output error...in this function cos(2*pi*n/8) when n=2 i... (by gkn06)
Help with the find function of string
 
Hello, I had an assignment about string type sadly I couldn't complete it Can somebody tell me what ...
[1 reply] : This code int CountThe(string st1, string st2) { int NumOfThe=0, po... (by vlad from moscow)
how to make a 2d game
 
Hi, I don't know anything about C++ and want to make a 2D game. Is there any books about how to mak...
[2 replies] Last: Perhaps this could be a place to start? http://www.cprogramming.com/ga... (by squarehead)
Two's complement with unsigned integers
 
Hello, I was running this little experiment on codepad.org, to understand what happens when negat...
[5 replies] Last: I'm guessing this is a compiler/system specific peculiarity. Perhaps i... (by squarehead)
Searching file
 
Is there any way to make a program that will search a file on the disk.The disk here includes all my...
[6 replies] Last: actually i'm working on a project and I have time to come up to this f... (by Pter0dactyl)
template class with different members
 
Can I join the following 2 (simplified) classes with templates? struct A { constexpr size_t of...
[3 replies] Last: I don't understand what you're trying to do. What's the difference bet... (by closed account zb0S216C)
Cin doesn't hold value
 
void GetSalesInfo(int accnum,//stores account number INPUT int day,//stores day number INPUT i...
[1 reply] : Pass the parameters by reference, using the & operator. #include <io... (by Chervil)
Prime Factorization in C++ - Problem with Factors that are Square Roots
 
Greetings This is my first time posting in any programming forum, so I hope I can pose my pro...
[6 replies] Last: That was my intention, but since I was posing a question to people tha... (by Dimmins)
by fcanto
dont understand
 
while( ( inputChar = static_cast<char>( cin.get() ) ) != ā€˜\n’ ) what is the function of this ...
[3 replies] Last: The first problem is the line inFix = inputChar; . You create the ar... (by AleaIactaEst)
Trouble with using strings in if statements?
 
Hello all, I'm really sorry if this as been posted already. I looked around and couldn't find an ans...
[3 replies] Last: ohh...that's great you change it to char... yes you need to use quotat... (by HiteshVaghani1)
C++ Video: All Castings Considered
 
C++ provides 4 types of castings: static_cast, dynamic_cast, const_cast, reinterpret_cast. It also k...
[2 replies] Last: definetly gonna check those out later! (by stoffe1100)
Problem with do while
 
Hi im new to c++ and to this forum, and im sure this will be an easy topic to answer but im really l...
[2 replies] Last: if (videogame .price<0 || videogame .price>9999) (by reddeffect)
homework - create trivia game
 
I have a homework assignment to create a trivia game with classes below is my header file, accessor...
[2 replies] Last: Thank you (by top 10 list)
putting a character into a char pointer?
 
i've been trying to write a function that would return a char pointer which is made up of repeated c...
[2 replies] Last: A char pointer is just that: a pointer to a char sized memory location... (by pogrady)
? : and booleans on my assignment
 
Hi, I'm new to C++ and in my assignment I have these two lines: (day<=29) ? valid=true : valid=fa...
[2 replies] Last: Oh I see. Its just written that way in my assignment and I've never se... (by RegalleonZ)
convert base 10 to binary program
 
Our assignment tells us to convert a base 10 number between 0 and 127 to binary BUT the catch is tha...
[1 reply] : Use a recursive function. #include <iostream> #include <string> using... (by histrungalot)
"Floating Point Exception"
 
So, I'm trying to finish a program that converts an infix expression to postfix then evaluates that ...
[1 reply] : Take a look at the comments in the code. #include <iostream> #include... (by histrungalot)
Hint Need For Assignment Due Tonight! How to pick out an item while in the loop and nothing else
 
Hello and thank you in advance for any help. I'm not asking for anyone to do it for me, but some di...
[4 replies] Last: Trailing zeroes? It's probably got to do with your "setprecision". (by zeppelyn)
Need Help looping
 
I am trying to find a random number in between two variables that the user inputs max and min.I need...
[no replies]
switch statements
 
So Im new to C++ and I've been doing really well, BUT IM STUCK Create a program guess a number fr...
[no replies]
October 2012 Pages: 1... 81828384
  Archived months: [sep2012] [nov2012]

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