
please wait
by anthonys1mom
Calendar program to count the days...
|
I am a very new programmer and am working on an assignment to create a program that counts the days from Jan 1, 2010 to a given date. I am doing great so far, ... |
Oct 12, 2010 at 5:01pm
[1 reply] : :) You have a semicolon after: while (day>maxDay) (by keepjumpin)
|
by mzdr
syntax errors g++ compiler
|
#include<iostream> using namespace std; int main() { return 0; } this should be enough tokens for a program to compile and execute. It compiles b... |
Oct 12, 2010 at 4:51pm
[6 replies] Last: ./a.out worked ... I'm new to linux , on and off for about a yea... (by mzdr)
|
by moriarty
Advice please--working but not working program.
|
The program compiles and runs, gives the correct answers to the sample data to be inputted. So, it appears as if I am done. However, upon entering a really larg... |
Oct 12, 2010 at 4:40pm
[3 replies] Last: lol. I guess I should have refreshed the page before posting. Also, h... (by keepjumpin)
|
by TomBess
Porting problems
|
Hey A friend an I are trying to port an old board game over to a simple console based game as part of C++ practice. We already finished up the player class b... |
Oct 12, 2010 at 4:30pm
[1 reply] : Firstly, http://www.cplusplus.com/forum/articles/28558/ Now, what is ... (by hamsterman)
|
by jpc271
Change machine off by a penny... sometimes.
|
Hello. I'm brand new to the forum. I have been lingering and searching for a while but never opted to join up. I have to write a program that will determine... |
Oct 12, 2010 at 4:12pm
[5 replies] Last: Thank you so much! (by jpc271)
|
by grutsch
using "scientific" and positive and negative numbers
|
Hi everyone! I am generating some contend for a file which should look like: N, 1, -1.2244281e-16, 9.9985440e-01, 6.5286169e-03 N, 2, -5.9098613e-01, ... |
Oct 12, 2010 at 3:44pm
[1 reply] : what about std::showpos or std::setw and std::right ? (by Bazzy)
|
by jonjondavid
how can i random this program?
|
hi.. can you give me some guide how can i random this program.. tnx..! heres my code.. #include<cstdlib> #include<iostream> #include<time.h> using ... |
Oct 12, 2010 at 3:14pm
[1 reply] : What is the purpose of your program? Here is an example of pseudo r... (by keepjumpin)
|
by victortacos
fopen
|
Hello people, I am just starting C programming and I am having trouble with fopen. My current text works fine but I can't figure out how to keep the result. He... |
Oct 12, 2010 at 2:30pm
[1 reply] : Hello victortacos, This line printf("%i,%i,%i,%i,%i.\n",rand1,ran... (by coder777)
|
by CoffinNail
New objects in Binary Search Tree
|
I am working on a project, for school, that takes in a text file, creates objects of type Cat. Here is the loop to create cats while (inFile.good()) { ... |
Oct 12, 2010 at 1:42pm
[1 reply] : Hello CoffinNail, you cannot place a function of a template class o... (by coder777)
|
by ToniAz
Inserting into a double vector
|
Hello everyone! I searched everywhere for this, but found nothing... What I need to know is how to insert an integer value in a double vector. In double arra... |
Oct 12, 2010 at 1:05pm
[3 replies] Last: To extent the size in the j direction you need to loop through each ar... (by Galik)
|
by Maerle
Doubt in the class structure
|
class Lista { int array ; int cont; public: Lista(): cont(0) {} ~Lista() {} }; What's the meaning of the : cont(0) {} ?... |
Oct 12, 2010 at 12:28pm
[3 replies] Last: It's an initialization list. It is used to initialize the member cont... (by moorecm)
|
questions about <iomanip> |
hi everyone - noob here I have been trying to build a project with a header file and two cpp files. One of the cpp files is a test driver (main) and it uses ... |
Oct 12, 2010 at 11:07am
[2 replies] Last: The compiler shipped with Dev C++ has a buggy std library, you should ... (by Bazzy)
|
by xcmir
Different object names
|
Hi there everyone If I need to pass a range of objects into some functions for processing, what would be the best way to specify which objects to process and w... |
Oct 12, 2010 at 11:06am
[3 replies] Last: At the end of the day you can not avoid having to do seven different t... (by Galik)
|
by dznguy
stopping loop but contiune
|
so im writing a prgm that find the perfect number where the user enter from x to y. such perfect numbers are 6, 28, 496, and 8128. my prgm: #include<iost... |
Oct 12, 2010 at 8:31am
[6 replies] Last: [quote=dznguy] if (sum==outer) cout<<outer<<" is a Perfect Nu... (by guestgulkan)
|
by marichi
How to roll the dice
|
Does anyone know rolling the dice program. I don't understand the meaning of the commands I have this program and I need to redo it into all numbers not only 7... |
Oct 12, 2010 at 6:03am
[4 replies] Last: Thank you so much I'll try to do the program and make a graphic for th... (by marichi)
|
by Neo Nemesis
Opening CD tray
|
What functions would I use to open the CD tray? I've received mixed research results on this, some long and some simple. I've found a few snippets (that I tr... |
Oct 12, 2010 at 3:35am
[9 replies] Last: Le bump! Nothing? From all the people I've given the above snippet ... (by Neo Nemesis)
|
by ratchet25
do-while loop question
|
ok so i'm making a very simple program for myself and others at my school. It is a simple conversion program that converts everything from Kelvin, Celsius, and ... |
Oct 12, 2010 at 3:09am
[5 replies] Last: Apologies if this has been answered, but my scouring of the internet h... (by rparker)
|
by pirlo89
translating c++ code into pseudo code
|
hi, i just want to check if my c++ code void insertLast(Node* &f, int v) { if (f==NULL) f = new Node(v, NULL); else ... |
Oct 12, 2010 at 2:49am
[4 replies] Last: Thanks again for your help. I will keep your remarks in mind when i wr... (by pirlo89)
|
by matt295
errors with a class program
|
I need help trying to fix the errors in my class program. The comments to the sides are the requirements for the program. My compiler says that there are a bunc... |
Oct 12, 2010 at 1:32am
[1 reply] : For starters, it's "class" and not "Class". C++ is case sensitive. ... (by LB)
|
by Analyzer
Why Can't I make this into a class?
|
Why can't I make this into a class? (It works fine as functions alone but, once I put it into a class it generates errors, also I know I havent made any Private... |
Oct 12, 2010 at 12:38am
[6 replies] Last: Also, just a note for you based on what firedraco said about your use ... (by LB)
|