Beginners - August 2011 (Page 32)

Program stopping during runtime...
 
This is my code on a simulation of a Bank that has 10 people that manage the account: http://pastebin.com/SN4TFhcH I decided to add the feature of taking loans...
[4 replies] Last: in case I get my PC infected and need to format it That shouldn't b... (by Nisheeth)
Reading File and printing it on the screen
 
Hey Guys; I just saw a strange thing in my codes in reading file from a text file here is codes then I explain where is the strange thing... #include<iostre...
[no replies]
Creating header files
 
I have multiple classes inherited from each other, and I need to turn these into either one header file, or a bunch of separate ones to include in my main progr...
[2 replies] Last: Thanks. Was using the wrong syntax to include it. (by pastamaker)
find matches issue
 
Hello there...The rest of my code is working fine so I'll try not to bother you with the whole thing. If the lottery or user numbers have multiples of the same ...
[7 replies] Last: Your edit is making progress, but now it also mirrors the OP's origina... (by closed account DSLq5Di1)
Open a *.wav file and write it to a ASCII text file
 
Hello all! Am new to c++ programming. I was given an assignment to convert a *.wav audio file into an ASCII text file that contains all the numbers correspondin...
[7 replies] Last: :-/ You just write the numbers out using ofstream. This snippet wri... (by andywestken)
by Gene
SegFaults
 
Hello, I have this block of functions using namespace std; typedef pair<string,string> Pair_allele; struct Person { int id; int generation; int l...
[3 replies] Last: int size = list.size(); for (int i = list.size() ; i > size/... (by closed account DSLq5Di1)
error: expected unqualified-id before ‘{’ token
 
I am getting this error when trying to implement methods for class MyClass1. task1.C #include <iostream> #include "MyClass1.h" #include "MyClass2.h"...
[1 reply] : Missing some parentheses for your constructor definition. (by closed account DSLq5Di1)
by Spada
constructor
 
Hi can someone explain the following script ? #include<cmath> #include<sstream> #include<stdexcept> using namepsace std; namespace PPBOOK { ...
[5 replies] Last: Thank you very much Thatonedude, that really helped me. (by Spada)
Pointers - declaring new?
 
I was just wondering something....... Whne you declare a new pointer, eg: someClass *p; when do you need to call new? and when is it ok not to? ...
[1 reply] : New is called when you want a new object of the class. SomeMethod(a, b... (by Breadman)
by zander
tut
 
i got to say the tut on this site is not the best to learn from starts out good but in the last part it forgetts about us ENGLISH speaking people still goi...
[9 replies] Last: oh i eventually came to understnd it i did need a break any way i wrot... (by zander)
by elisha
Data Structures
 
After going through an entire course in Java Programming, I needed to take Data Structures (C++). I am new to C++ and that is why I joined this forum/community....
[2 replies] Last: There are several tutorials that you would be interested in on this fo... (by lnk2019)
overloading operators...CONFUSING!!!!!!!
 
// vectors: overloading operators example #include <iostream> using namespace std; class CVector { public: int x,y; CVector () {}; CVecto...
[7 replies] Last: I don't know if this will help or confuse you more, when you call the ... (by zander)
C++ Encryption Problem
 
I'm making a very simply encryption program and to decrypt I need a few things to happen: 1) I need to get input from the user and see what the encrypted mes...
[3 replies] Last: You could ask the user to manually specify how long his input will be ... (by Catfish)
Vector
 
Hi . I created a class and in main program i use a vector like this . how can i Access to class method in main program ????? class AAA { private: ...
[4 replies] Last: thank youuuuuuuuuuuuuuuu (by ehsangha)
Easy C++ Compiler
 
Hi all, I am new to programming in C++ and I am currently using Visual C++ express but I find it difficult and complicated. What compiler would you reco...
[15 replies] Last: I am very new to C++ and i found Visual C++ express to be easy and goo... (by diod)
by ddes
scanf problem
 
Hi, I need to input less than 10 integers each line, put them into int array,and repeat until first -1 is found. ex: 11 23 32 12 1 2 3 4 2 8 9 -1 An...
[2 replies] Last: I found the solution. Thanks for the hint. (by ddes)
by yost87
help filling arrays
 
sorry for the format errors, I am new but will catch on... Below is the code I wrote, and following that is the list of passengers that make up the text file m...
[no replies]
Virtual functions
 
I'm not sure how to progress on this program. I need to store user-entered shapes into an array. New shapes should be created like this: Shape * rect = new ...
[7 replies] Last: Updated program: // -----------------------------------------------... (by pastamaker)
Code::Blocks giving me an error on a simple program
 
Hey all, I've been using Dev-C++ but am trying to find something a bit simpler. What really confuses me is the difference between source files and header fil...
[10 replies] Last: I see! Thanks. You're right, I had installed the non-MinGW version. As... (by check2011)
C++ game store question
 
void store () { string answer2; cout << endl; cout << location <<endl; cout << "Now that you have acquired your party. You should bring su...
[6 replies] Last: ahh ok thanks Nisheeth (by metulburr)
August 2011 Pages: 1... 3031323334... 39
  Archived months: [jul2011] [sep2011]

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