Beginners - February 2013 (Page 58)

Loop keeps returning original input?
 
Hi there - very, very new to C++. Tried to look for a similar problem on the forum (and other websit...
[4 replies] Last: [quote=Daleth]Since you're dealing with prices and percentages, use fl... (by LB)
How to exit an iteration (for loop)
 
Hey guys, I want to know if there is any keyword that can be used to exit an iteration, but not the...
[7 replies] Last: @Lynx876 You're completely missing the point. It doesn't make anything... (by LB)
Need a screenshot of a basic program...
 
I'm taking a class on programming with C++ but I've been having A LOT of trouble installing the nece...
[8 replies] Last: [quote=Rocket Power]What command do you have to type in the command pr... (by MrHutch)
Press up arrow?
 
How to do you make that so when you press the up arrow it couts something? and also, how to you over...
[19 replies] Last: Just use something simple like SFML. It is quite easy to draw text, it... (by closed account 3qX21hU5)
by Ch1156
Where do you put typedef?
 
Do i need to put typedef in main or in my class? or do i make it global? Do i put it in a seperate f...
[2 replies] Last: A typedef has whatever scope you define it to have. If you create a... (by AbstractionAnon)
Fibonacci Program
 
Hi guys, I need to write a program to display the first 30 Fibonacci numbers using 1 loop. I'm not ...
[3 replies] Last: That's true, a loop will suffice. I think because it is often used to ... (by Oria)
Problem with getting an average from a function
 
Hey guys, bit of a problem here. We're just getting into functions in my C++ class, and I'm having t...
[4 replies] Last: Makes sense, won't make that mistake in the future. Thank you for the ... (by SB Onyx)
Combine SDL with console or windows buttons
 
There are a lot of tutorials available on SDL, and there are a lot of tutorials available on console...
[1 reply] : From my experience, SDL does not play nice with widgetry libs because ... (by Disch)
taking 1 interger away and then checking if divisle by certain numbers
 
I am asked to do this "Ask the user to enter an integer greater than 1000. Remove the final digit....
[3 replies] Last: What would be the correct answer for 1100 then? removing the final di... (by simpleasy)
Constructor
 
I have to write a program based of this header file and I can't even get the constructor right. Wil...
[9 replies] Last: As I don't really know what the class is supposed to to, all I can do ... (by maeriden)
by ane
convert integer to string, nothing work
 
I need convert a integer to string, already try the function itoa, stringstream and other, but noth...
[6 replies] Last: thanks, work!!!!!!!!!!! (by ane)
by rcast
Bitwise and Shift for compression
 
Would bitwise operators and shift operators be a good way to create your own compression software? ...
[9 replies] Last: I understand too little on this subject. I'll find it out in my readin... (by rcast)
issues with scope, among other things
 
for every method in my cpp file for a simple stack postfix calculator, the compiler returns the erro...
[14 replies] Last: and, error free! thanks, internet! (by jamesfalter)
read data into an array
 
Hello, so im trying to read an unknown number of numbers into an array, then do some math to those n...
[5 replies] Last: Stewbond, I appreciate your willingness to help, but im required to us... (by Aerion4)
Wont Compile
 
I cant figure out why it wont compile right. If anyone can help me with this please help! #include...
[5 replies] Last: Can someone help with my move function? Before this line ("Enter p (pr... (by closed account z8q4izwU)
by mirec
Comment me
 
#include <iostream> #include <windows.h> #include <fstream> #include <ctime> using namespace st...
[8 replies] Last: hey James I tryed your for loop but it didn t exactly worked because ... (by mirec)
search case printing out unwanted things.
 
Hi guys. Can someone help debug my code? My case is working perfectly fine but there is some weird r...
[1 reply] : Use a debugger and watch the values of the locals (the variables in th... (by snow 56767)
Need help on decrypting/not sure how to start.
 
Assignment: Write a C++ program to decrypt a 12 character message located in a file named “encr...
[3 replies] Last: What if the file to be read is not there? You need to be able to catch... (by Lynx876)
need help to show most repeated character
 
#include "stdafx.h" #include <conio.h> #include <stdio.h> #include <string.h> void main() { f...
[5 replies] Last: i ran my program on visual studio, it worked normally without any err... (by SeanKD)
by Peter7
Create a matrix struct
 
So i am trying to create a structure that contains information about a matrix, and trying to initial...
[2 replies] Last: Play is a pointer, notice the typedef. There is no compile problem. (by Peter7)
February 2013 Pages: 1... 5657585960... 67
  Archived months: [jan2013] [mar2013]

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