Beginners - October 2012 (Page 18)

Sond input to keystrokes
 
Hello people. I have never worked in C++, but have an A from just the "C" language. I have a goal ...
[7 replies] Last: Please someone help me! I have a dead line, and it ends at 11.11.2012.... (by Kaj Vas Briga)
problem with fstream
 
Hey guys. So I am trying to make a simple password diary program. The program will open password.tx...
[3 replies] Last: Ok, That was the simple theory. Now things get more interesting. Ther... (by Chervil)
loops
 
Hi there i need help writing a program which converts numbers 1-10 to roman numerals but if any othe...
[1 reply] : You need a do { }while(condition) Loop (by pogrady)
Problem with strings!
 
I have this code and whenever I enter a name that is a single word, everything works correctly. Howe...
[2 replies] Last: Ah thanks! (by xudhinao)
Reading a file and storing into its respective variables
 
Hi all, I have input file which contains a transaction details. Each line have 5 data, date,code,a...
[4 replies] Last: thanks jlb. thats look better choice (by vichu8888)
Explicit value constructor problem
 
I am having an issue with my explicit value constructor. It won't let me input items from a file to ...
[2 replies] Last: The problem is exactly what it says. You're trying to use the operator... (by Moschops)
by ab123
Do I need a copy constructor or = operator overloading?
 
I have a constructor something like this: Foo::Foo(Bar* bar, int a) //Foo takes a reference of ty...
[1 reply] : You're asking two things here. By default, both copy-constructor and ... (by closed account zb0S216C)
by rd3
Visual C++ Express 2010
 
Hi I am interested in programming. On the code side of things I am perfectly happy: I have a very sm...
[12 replies] Last: You type g++, but want to use Microsoft compiler ??????????????????? (by modoran)
by tflipz
Nested Looping Program
 
any help given is MUCH APPRECIATED! (code below) Write a program that tests an ISBN to see if ...
[2 replies] Last: Thanks vichu88 it worked! (by tflipz)
Use this Array in this program
 
How would I switch this program around so it would take this array instead of asking for the teams t...
[2 replies] Last: Like so: #include <fstream> #include <iostream> #include <string> #inc... (by coder777)
by dcftci
generating more than one random numbers
 
hi I'm trying to generate two different random numbers in the same function but it only generates o...
[3 replies] Last: int array ; for (int x=0; x<100; x++) { array = rand(); } ... (by Moschops)
stringstream doing funny things in for loop (using SFML)
 
Hi everyone, I'm getting funny results using stringstream within a for loop. I have 2 for loop...
[6 replies] Last: Glad to help! One last thing: If you could mark this as solved, that ... (by kooth)
For loop with multiplication table. not iterating properly
 
i want to write a multiplication table that out put in the following format 1 x 1 = 1 1 x 2 = 2 .....
[3 replies] Last: thanks very much Peter87 .& TheIdeasMan. that was so stupid of me not ... (by BridgesBenghazi)
Could somebody help me?
 
Problem: Write a c++ program to calcualte the surface area, volume, or "girth + depth" of a box: ...
[no replies]
Separate files in program
 
Hi Guys I have am creating a C++ program for uni, and we have been asked to design a cinema syste...
[3 replies] Last: On the command line, it would look like: g++ FilmTimes.cpp bookings.... (by Moschops)
Help With Reversing from a Text File
 
I am supposed to input a file, store it into a vector, count how many numbers were stored, and then ...
[2 replies] Last: This makes perfect sense! Thank you so much! (by closed account LNAM4iN6)
Why isn't this working?!
 
I'm doing an assignment for a game program I'm writing. I have three files: Weapon.h Weapon.cpp a...
[10 replies] Last: In function 'Weapon w1 (std::string, int, int)': ¿? Show your updat... (by ne555)
functions
 
#include <iostream> #include <cmath> using namespace std; bool function(int n); int main () {...
[no replies]
Value inside pointer changes
 
Hi, I'm using vs2010 and debugging this piece of code:. void InsertAndShift(Node* p...
[8 replies] Last: Hi cire, That's exactly what was happening. Thanks a lot! (by xaviergxf)
Little Help
 
Hi, I would really appreciate if someone could help me understand some code here: Any kind of s...
[1 reply] : The first set is a nice way of writing numbers in which only a single ... (by Moschops)
October 2012 Pages: 1... 1617181920... 84
  Archived months: [sep2012] [nov2012]

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