Beginners - January 2013

Simple c++ program (new to c++ need help with cin/cout multiple variables in DOS program
 
Will show current code at bottom of thread, first of all huge thanks to anyone who helps out and eve...
[4 replies] Last: #include <cstdlib> #include <iostream> #include <string> // to use ... (by Oria)
by rcast
myfile.open (variable)
 
I'm getting an error while trying to use a user defined variable, as the filename for myfile.open (v...
[7 replies] Last: I, myself, would use the latest. Which I do. Learn now, what you don'... (by Lynx876)
Function to change content in 2 dimensional array
 
Hi, I'm learning C++ on my own by reading different tutorials on the web. I'm trying to create a sim...
[2 replies] Last: oh, I had been struggling with this for hours but totally missed that ... (by northmoose)
Please help with c++ homework
 
I was just introduced to while loops but the instructions on this so-called "tutorial" I was assigne...
[3 replies] Last: The first part of the things in the parentheses () of the for loop sho... (by dragonblader44)
Setting a number to the hundredths place
 
Making a tip calculator does this make the final answer to the hundredths place like money #inclu...
[4 replies] Last: percent is a char but you are doing a comparison with an int. Plus, y... (by randisking)
problem with cmath/static cast
 
I'm supposed to use cmath functions & static_cast to calculate the midpoint and distance between two...
[5 replies] Last: Thanks, it's working now. (by thephantom)
by Lukas
Editing class object values
 
Hello everyone, I am trying to do a text based rpg game. and now I am stuck.... I want to create a ...
[3 replies] Last: Your idea of classes as tables is ...odd. I'm not sure where you got t... (by LB)
boolean return problem
 
#include <iostream> #include <string> using namespace std; class Vehicle { public: int ...
[1 reply] : if (running = false) { cout << "car is not running" << endl; } el... (by Hippogriff)
C++
 
Can someone help me out. If I run a test on it, it says error. //Display Welcome to the console #i...
[1 reply] : You need to return zero, looks like you are returning O. (by Hippogriff)
c++ program for credit card transaction.
 
Can anybody give me a sample program for credit card transaction? I don't have any idea on using cr...
[5 replies] Last: well; i'm sorry. (by jesha16)
by herold
Stuck in this need help
 
Hi, I am stuck in the following code.I'm beginner in C++. I am facing problem in the following code...
[4 replies] Last: Thank you to "vlad" . This program is in my text book.I was worried... (by herold)
Lost on where to begin
 
Hey all, It's been a long time since I studied C++ (going on 16 years or so) and so I've been loo...
[2 replies] Last: The graphics, believe it or not, would be the simple part. You just h... (by randisking)
Storage advice.
 
Ok, so I'm making Tetris in the console. ( Yes, in the console, before anyone wants to have a rant a...
[8 replies] Last: Just for future use, if someone stumbles across this post. Here's the ... (by Lynx876)
Making sure I read 4 bytes
 
I have a binary file that I'm trying to read. The first "chunk" is the version of the file, which i...
[2 replies] Last: I does, thanks. Also: http://www.cplusplus.com/reference/cuchar/ Thi... (by Lowest0ne)
CIN and Floating point numbers
 
So I'm writing a program that is supposed to output the binary representations of numbers using a bi...
[12 replies] Last: > void printBinary(float num1) { int *floatMem = (int*) &num1 ; Us... (by JLBorges)
Printing an array
 
Hello, I am trying to get this very simple program to work and I can't figure it out. The program is...
[3 replies] Last: [quote=Marius]I subtract one from a and b because if someone puts in t... (by LB)
Letting users input a file name and saving the file to a directory?
 
I know how to make a text file and let the user input it's name and save it to the application direc...
[4 replies] Last: Thanks! Seems like deleting line 12 fixed it (by fiji885)
by nasser
OpenGL for vc++ 2010 express
 
i want a link to download OpenGl library for vc++ 2010 express
[3 replies] Last: http://lmgtfy.com/?q=openGL+download (by closed account 3qX21hU5)
problem with the number
 
#include <cstdlib> #include <iostream> using namespace std; int main(int argc, char *argv ) ...
[3 replies] Last: Apart from the previous comment I think that you was going to enter di... (by vlad from moscow)
Assignment Question!!!!!!
 
Q1. Write the c++ implementation for the following pseudocode *Get number *check=number%2 *if c...
[12 replies] Last: Well your answer for question one is wrong to. main need to be int ma... (by closed account 3qX21hU5)
January 2013 Pages: 123... 52
  Archived months: [dec2012] [feb2013]

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