Beginners - October 2010 (Page 32)

Triangle out of asterisk
 
i know everyone has probably gone over this one a hundred times, but i'm trying to draw a triangle using asterisk, but i also have to be able to declare the amo...
[no replies]
by kath09
Find the factorial value exercise
 
Can anyone tell me how to create this program.... Write a program to find the factorial value e.g. Fact (4) = 4.3.2.1 -Setting the initial Product to 1 -...
[1 reply] : you will want to have the user input the number, then run a loop from ... (by honkeytango)
Is there a memory leak here?
 
I'm not very comfortable with using new and delete, so I'm not quite sure if I'm doing this properly. iter is vector iterator of pointers to laser objects, and ...
[9 replies] Last: new is used elsewhere in the code. (by pabloist)
trouble with outputting program to a text file
 
I am done with my program and I am having trouble with the output text file. For my program, I already created an input file which my program will read into and...
[2 replies] Last: It's not that people are reluctant to help at all. People don't h... (by closed account 3TkL1hU5)
Regression Function
 
Hey, since I got such useful feedback the last time I posted a part of this program, I'm doing it again. I'm worried about time constraints, as I'm doing a lot ...
[2 replies] Last: Here's the new version that also calculates standard deviation. I went... (by Aeon221)
by wtf
Codeblocks and mingw32 from command prompt giving different results
 
When I try to compile with the mingw32 compilers from the bin directory of the default install of codeblocks 8.02 and 10.05 using g++.exe and c++.exe from the c...
[no replies]
by speco
namespace problem
 
hi, i've tried to run a program on countdown numbers but it keeps telling me this "no name00,cpp(1,2) namespace name expected". please what do i do? i'm just wr...
[1 reply] : Can you post the code? (by Null)
java
 
I know this is a c++ forum. but if i post a question regarding java will someone be able to answer me. or does anyone know of a java forum. thanks.
[2 replies] Last: Yes, many of us know java. But you still should find a java forum for... (by hamsterman)
how can i ramdomize the names into once only.
 
heres my code..can u help me how to ramdom the names with not duplicating it.? tnx.. #include <iostream> #include <stdlib.h> #inlucde <string.h> using n...
[4 replies] Last: sir thank you so much.. i solve my problem.. tnx a lot.. :))) (by jonjondavid)
Output Stream Issue
 
I have run into an issue while experimenting with input and output files. When writing output to a file using a loop, the file seems to be empty (file size is ...
[2 replies] Last: Thanks for the explanation. Little by little my understanding of C++ ... (by nathan10)
Multi binary project
 
How to develop a project which has multiple binaries for Linux like aircrack-ng package?
[no replies]
Reading Data file
 
I always have problems with manipulating strings. To make things short, I want to process the data being fed. I managed to output the data but I don't understan...
[3 replies] Last: I think this posting on eof() function should be 'sticky' as I can see... (by sohguanh)
error C2143 syntax
 
The error message says I'm missing a semicolon before a parentheses. Line 31 is a for loop, the statement before that is a cout, and before that a variable decl...
[16 replies] Last: I thought I'd better check that last point I made, just to verify what... (by AlphaBravo)
Reading in file with floats and words
 
Hello guys. I am having a problem reading in a file with both floats and characters or strings. I want to only extract the floating point values from the file...
[3 replies] Last: Thanks for the help man. I figured it out. I used inFile.peak() to ... (by dreamslayerx)
INT Class
 
So I need to construct a class that functions like an integer. I have tried several things but I am looking for a place to start because I don't know where to ...
[5 replies] Last: One other observation. Your class defintion does not have any storage ... (by AbstractionAnon)
Formatting my table...
 
Here is my code: // Programmer: G**** E****** // Program: Program Assignment 1 // Class: 152, Fall, 2010 // Compiler: Bloodshed DevC++ // ...
[3 replies] Last: Haha, is my face red. This is how fried my brain is, I have the pri... (by GME1985)
tokens!!
 
How would I break this up into tokens? #include <iostream> #include <cstdlib> #include <fstream> using namespace std; int main () { if...
[no replies]
constructors (classes)
 
hello, I read the tutorial about classes and I did not quiet understand the purpose of using constructors (default or with parameters), I dont know why do we...
[4 replies] Last: An object (instance of a class) is like a record (or struct) or a coll... (by kfmfe04)
by bl90
classes
 
okay, this is the header file i've been given that i can't change class Card { public: friend class Hand; void set(int newSuit, int newFace...
[2 replies] Last: its for an assignment and it goes through an automarker so the numbers... (by bl90)
Chaing the color of bar.
 
Hello. When I mark a line to highlight a bug or a code that I wrongly wrote, it turns into black and I can't see anything and that doesn't make any sense. ...
[2 replies] Last: re-install, or switch IDE's (by gcampton)
October 2010 Pages: 1... 3031323334... 42
  Archived months: [sep2010] [nov2010]

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