Beginners - June 2008 (Page 8)

a program for the Game of LIFE!
 
hello guys! a newbie hir! can i ask for your help. A program for the “Game of Life”. Create a 20 x 20 array. Randomly assign a 0 or 1 to the array. A 0 ...
[2 replies] Last: what function can i use to have a random start?.. thanks! (by king003)
const questions
 
When given the declaration: bool equalTime(const clockType$ otherClock) const; I understand the const keyword in the formal parameter list is ensuring that ...
[1 reply] : Here's the same question already answered: http://www.cplusplus.com/f... (by ropez)
This doesn't work?
 
When I build the following code: #include <iostream> #include <fstream> #include <string> #include <iomanip> using namespace std; int main() { ...
[1 reply] : It is because the 'width' flag only applies to the next object you out... (by Duthomhas)
How this function work? O.o
 
hi, I have this function, when I refer to it. cout << search() it works just fine. I kinda copied it off of someone code, modify it till it work and put in my c...
[1 reply] : ifstream myfile("DataLog.txt") opens the file and 'attaches' it to ... (by bnbertha)
by KyleH
Buying a Compiler
 
Hello, I've had a one year class in C++ programming, and I was wondering, what's the best way to buy a compiler? I'd really prefer a cheap one with possibly som...
[6 replies] Last: If you're using Windows and you're still a student, Microsoft's DreamS... (by bornloser006)
system("pause") (dev-c++) inefficient?
 
Ok, first off, I am using Dev-C++ 4.9.9.2, not a "standard" C++ program, and am using a MinGW compiler. I have read all over the Internet that system("pause"...
[1 reply] : Have a read of this: http://www.cplusplus.com/forum/beginner/1988/ (by closed account z05DSL3A)
by fonzie
C++ poetry
 
I've always found C++ as a creative median for storytelling. This particular one was made by me for an english project. It's not programing (and no, it doesn't ...
[2 replies] Last: Mmmmm, You need to get out more..... (by bnbertha)
Problem with argv...
 
I tried to compile this file but I've got something unexpected... Filename: test.c #include <stdlib.h> #include <stdio.h> #include <string.h> int ...
[5 replies] Last: Good spot. Right at the bottom of the page you will see a small lin... (by bnbertha)
Copy constructor with objects
 
Hello, I want to create a copy constructor that copy two queues that have objects in its cells, to make this I need a copy constructor to clone the objects from...
[1 reply] : Without more info on your Queue and Iterator classes the basic idea of... (by bnbertha)
Compilers and Assemblers
 
If you any one can please list some relationships between Compilers and Assemblers I got one that is, both compiler and Assembler converts the program into...
[1 reply] : As far I know when I playing arround compilers and assemblers... Mo... (by audinue)
Novice having problem with payroll program
 
The following program is part of an assignment using a base class and derived classes to calculate payroll. When I compile I get the message: [Linker erro...
[8 replies] Last: This is for week 4 right. I am surprised how many lines. I am bearly u... (by tdigdug)
C++
 
How to create program, which realize linked list with table. there are saved words which have not more than 20 simbols in the table. Table size is 100 words. Ta...
[1 reply] : http://www.cplusplus.com/forum/articles/1295/ (by Zaita)
Time of execution
 
My program multiplies two numbers given by the user. I would like to see how the time required to do so increases as the numbers increase, so i may plot the wor...
[11 replies] Last: There is a function gettimeofday() in standart library (time.h), that ... (by stas)
compiler
 
what a compiler downloaded from the web good for??? the c++ doesn't have a integrated compliler? if more usefull the one one the web pls tell me a fre compiler ...
[3 replies] Last: thanks (by ioanmih)
Bubble sorts, wtf?
 
So I have this program: /* ******************************************************************************* *Title: ...
[6 replies] Last: No,no. temp is just a temporary variable made just to change the orde... (by Mitsakos)
addition w/ class inside the cpp file
 
i need help for this. i made this simple program for addition. this would suppose to get two integer (x and y) from main function and pass it to the class and g...
[3 replies] Last: Thats Ok, but I haven't fixed your original problem because I couldn't... (by bnbertha)
File Processing
 
ok, this may be too much to ask but I might as well. I was asked to design a program that could read a file and store it, then manipulate the data in that file ...
[3 replies] Last: Could you post the code you tried for the loop - it's easier to help i... (by Faldrax)
Least square support vector machine
 
Hi Can anyone tell me C/C++ code of LS SVM Its very important Thanks
[1 reply] : Please don't post this multiple times in each forum. Once is more than... (by Zaita)
Can't get Visual Studio 6.0 to work on Vista
 
Hello i'm going to school for programming and the school gave me the discs for Microsoft Visual Studio 6.0 Professional Edition to install on my laptop. Vista k...
[2 replies] Last: I'm using VS 6.0 on Vista. I had all the same compatibility warnings... (by sacred)
My Program compiles but when I go to run it, it close.
 
Im working on a payroll program as well using dev c++ 5.0. I beleive I have it scripted right. It compiles just fine with no errors, but the windo wont stay ope...
[7 replies] Last: More than likely we are in the same class. We seem to be working on th... (by archer86)
June 2008 Pages: 1... 678910... 13
  Archived months: [may2008] [jul2008]

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