Beginners - July 2013 (Page 45)

by zagzag
undeclared indentifier
 
I keep getting undeclared identifier j , why? I do declare it in the for loop though. #include<iostream> #include<iomanip> int main() { const int ...
[3 replies] Last: hey yes I just realized that , I can't believe i missed it so many tim... (by zagzag)
Recursion Help
 
I am in need of some help with Recursion. I need to find the largest element in a vector of integer values. The problem is, I don't know where to start. I fe...
[2 replies] Last: @toonhead85 So, if I am correct, the idea is that we are going to ass... (by vlad from moscow)
Tuition Calculator // do-while Loop and a switch Statement
 
Hi, I am running into a bit of a brick road with my output... As far as I can tell my code is accurate and I am getting no errors Below is my coding ...
[3 replies] Last: To skip a line use std::endl or "\n" . (by closed account 18hRX9L8)
WHY CANT I ACCESS: error()
 
i used the following headers on visual studio: #include<iostream> #include<string> #include<vector> #include<algorithm> #include<cmath> but yet, i hav...
[7 replies] Last: oh! i save the page? thanks sorry @vlad_from_moscow didnt get you at ... (by Megziflips)
by Ch1156
What are all of the different types a function can return? (1,2)
 
I am making a tutoral and i have int float double string bool time_t so far, is that all? I would like to know anything and everything else that can be retur...
[29 replies] Last: I want to show them how to do everything, I dont want any generalizing... (by Ch1156)
How efficient is it
 
Hey guys,its been awhile, but i've been messing around with C++ again, and i've come to an assignment where i had to create a log in system, but also with the o...
[2 replies] Last: I appreciate your input very much :D, the thing is the chapter about a... (by Dexterr)
Need a little help with my assembly code
 
Trying to code a 32-bit Boolean calculator, it assembles and runs and everything. But when I try to OR two 32-bit numbers together for example, I keep getting 0...
[4 replies] Last: Assembler code is still source code. It remains for that to be trans... (by Chervil)
Binary to Dec program
 
Hi guys, I wanna convert binary numbers to decimal without using #include<cmath>. The code I have now can convert most of the "1" and "0" into correct decimal, ...
[3 replies] Last: The problem I see with getting the input as a numeric type rather than... (by Chervil)
how to split an integer into digits?
 
Hello, I want to split an integer into digits. could you please show me how in a very simple way ? I'll use that way to convert binary to decimal. tha...
[15 replies] Last: I'm sorry it works now, I just had some errors on my machine so I rest... (by empror9)
My first C++ program, this will prolly be an easy question to answer.
 
Attempting to learn game programming using the book 'Beginning C++ through game programming - Third Edition' by Michael Dawson. I have absolutely no experien...
[7 replies] Last: I also started some weeks ago with "programming principles and practic... (by Megziflips)
Puzzle Game
 
SOLVED!
[1 reply] : Pardon my asking, but what was solved? (by Zhuge)
Variable's maximum values
 
Hey guys, I've got a question about variable maximum values, not just in C++, but in programming in general. Days ago I programed the Karatsuba algorithm, whic...
[6 replies] Last: And IWishIKnew, looks challenging right know, maybe someday hahaha. ... (by Catfish4)
Change value with pointer
 
So what I am trying to do is pull the address from a variable then assign this address to another pointer in another program and then modify the value at this m...
[3 replies] Last: Thank you all for the reply! Been awhile since I checked back since th... (by Hambone)
Record Display.
 
Hi everyone, I have a question to ask you. -I have to implement a C++ program to display records that are saved to a '.txt' file (via I/O redirection). -T...
[no replies]
by xbili
Prefix and Suffix of increasing and decreasing operators
 
I've just wrote a TicTacToe game for practice and here's what I have: #include <iostream> int checkwin(); void grid(); char square = {'0', '1', '2', '3', ...
[5 replies] Last: Also, checking for a win only needs to happen after there have been 6 ... (by TheIdeasMan)
first program ideas?
 
So lets say I already know all there is to this language( still a beginner). But all that has no use if I don't make a program. What programs might be fun to ma...
[4 replies] Last: Real world stuff. Let's say your friend wants to know the 117000 prime... (by closed account 18hRX9L8)
A good multi-platform C++ IDE?
 
Hi, Could I get some recommendations for a good multi-platform C++ IDE (Pref one that uses GCC) for Windows/Linux? Many thanks, BS
[5 replies] Last: Some great suggestions, many thanks for replying guys! :) (by bigsofty)
Need Help
 
Hello, I am very confused regarding this assignment. In given class diagram, voter is a base class; while Disable and Overseas is its derived classes sharing...
[3 replies] Last: I assume that the break should happen only when you answer N. Take a l... (by ats15)
by leo255
Trying to find the largest in an Array
 
Hello, I'm trying to figure this thing out...I want to find the largest number in an array, but I also want to do it using a function/method in separate header...
[5 replies] Last: To find the maximum element in an array you can use standard algorith... (by vlad from moscow)
by Dick
Functions help
 
Where does nTarget get its a value? I don't know of or see anything that initializes nTarget. // //Can someone explain where the function factorial gets ...
[2 replies] Last: Thank you that helped I was thinking that had something to do with it,... (by Dick)
July 2013 Pages: 1... 4344454647... 53
  Archived months: [jun2013] [aug2013]

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