Beginners - October 2011 (Page 57)

by radixx
dilbert's rule
 
hi guys i have an assignment in which i am supposed to create a c++ program which obeys the rule and is used in the financial world.the rule states that when sh...
[4 replies] Last: thank you very much i hope we can communicate so u can help me out as ... (by radixx)
plss can anybody help me about this one.
 
i dont know how end it and go back from the start using Y/N switch case im beginners. i dnt have any idea how to start . I DID THIS EXAMPLE BUT ITS ALL INCORRE...
[1 reply] : You use a loop to repeat something. http://www.cplusplus.com/doc/tutor... (by Athar)
by buggys
Library files placement.
 
OK, quick question as I've been getting quite a few errors to do with lib files. Basically I've been attempting to get SQL and SDL to work with my VC++ 2010 ...
[no replies]
#include functions in other programs
 
if i write a couple of useful functions that i want to use in other projects too, how can i #include <myfunctions> ? and is it the same for own classes? ...
[5 replies] Last: Never mind, i found the solution myself: its settings -> compiler debu... (by Nelphin)
Getting A Linker Error Please Help!
 
I am trying to write a program that will dynamically allocate an array based on how many students are taking a survey. Our instructor is only allowing us to us...
[no replies]
How can I open my DVD-RW in C++?
 
Does anybody know how can I open the DVD-RW door in C++? What libraries I have do find? Or what headers I have to use? I found something on the net and it says ...
[8 replies] Last: Thanks guys! You have really helped me. (by CosminNTG)
by Marein
Creating a container class - Access violation
 
Hello there, This being my first time on this forum, I hope my post is somewhat fitting to the rules and etiquette. I've only started learning C++ around two w...
[2 replies] Last: Aah, so the solution is adding the following to main.cpp: Objects = ... (by Marein)
cin.getline()
 
I'm having trouble with this: for(int i = 0; i < n; i++) { cout << "Enter the name of student " << (i + 1) << std::endl; cin.getline(pa,n); } To be mo...
[10 replies] Last: Here: Hope it this helps ;) #include <iostream> using namespace std... (by happykiller)
NEED HELP>LOOP IN DYNAMIC ALLOCATION
 
Hi! I'm a newbie in C++ ('just started a couple of days ago). I'm trying to add different set of numbers and print their sum. Then I put an option whether to pe...
[2 replies] Last: That solved my problem! Thanks mate! ^^ (by fortitude)
Math Game Help :)
 
This is the code I have so far. I am suppose to create a math game that will allow users to practice there times tables. The only problem is the instructor want...
[6 replies] Last: You're welcome for the help. About your new questions... I need it to... (by closed account D80DSL3A)
by BHill
use vcl or clx?
 
When I try to make a console program, I go to file, new, other, console wizard, and it gives me the option to 'use vcl' and 'use clx'. I have used the default ...
[1 reply] : when you get unresolved symbols it means the libraries aren't linked t... (by Azagaros)
Tax Computation-Need help with table!!
 
#include <iostream> #include <cstdlib> #include <math.h> #include <iomanip> using namespace std; const string FILLER = " "; int main() { int...
[1 reply] : Firstly, PLEASE, PLEASE use code tags, it really does make it easier t... (by jalfor)
need help
 
im noob using c++ can someone help me using arrays. Input 20 numbers using arrays and output the highest number.
[2 replies] Last: Do a search on this site, and you'll find that a lot of beginning prog... (by whitenite1)
Link list segmentation fault
 
I'm writing a simple link list program, but got stuck. The first insert is working fine, the second one is giving a segmentation fault. Help me figure out the e...
[no replies]
by homsta
Writing a bank program: need help with customer class
 
What I'm trying to do is create a customer class with a type customer that will contain customer information like name, account, etc. I tried setting up somethi...
[3 replies] Last: Oh awesome thank you! (by homsta)
Looping from user to computer
 
Hi everyone, I had a question concerning looping between the user and the computer. My assignment for a class project is to have input from the user, swit...
[6 replies] Last: stop is a boolian variable initialized to false. You would need a stat... (by Tytrin)
Push The Button Game (Dont' Push The Button)
 
I got bored so I decided to make this: http://codepad.org/sc5X96T6 Modeled after the Don't Push the Button game... Enjoy! :) EDIT: Did not make ASCII Art
[no replies]
C++ Return Problem
 
Hey guys and galls. I am trying to create a compare function, but it doesn't work properly. Somehow the program is "forgetting" the value I told it previously. ...
[3 replies] Last: Hmm... thought I mentioned that at the end of my post... *re-reads* Ye... (by Tytrin)
by Tytrin
Changing Filestream object based upon user Input
 
Hello all, So I am working on a bit of a personal project, and at a stage where I need to display large bodies of text. Naturally hard coding each of this wo...
[3 replies] Last: cat: concatenate files and print on the standard output Also if the ... (by ne555)
Use of "/"
 
Hi everyone. I am practicing for my first c++ exam and I am having a small problem. void question2 () int x = 6, y = 1; cout << "2...
[7 replies] Last: Thank you andywestken, and sorry to the OP for getting it wrong. ... (by BHill)
October 2011 Pages: 1... 5556575859
  Archived months: [sep2011] [nov2011]

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