Beginners - February 2012 (Page 7)

MAKING A triangle LINE
 
i dont how to make a diagonal line using FOR LOOP.. were just using <stdio.h>, <conio.h>, <dos.h>.. ...
[2 replies] Last: @whitenite1 thank you for help.. it helped me alot.. but i was a lit... (by swellrock)
Gravity. How??
 
Ok so I was reminiscing on my times of my high school programming class. This classed darkBASIC to c...
[13 replies] Last: Oh yeah, it's taking me a while to make a program the calculates volum... (by roberts)
help new to c++
 
First my problem is that its not coming out right its coming out .169 but its suppose to be like 5.9...
[1 reply] : Doing dimensional analysis on your equation for TotalMiles... You have... (by Zhuge)
can you guys help me out. must be a logic error
 
My algorithm is working and it compiles correctly but for some reason i get NaN for the value of Xst...
[2 replies] Last: i figured it was the formula, but that is the one our professor issued... (by byronflds)
by xKeb
Possible Rounding Issues
 
I should be getting these results from my program. I'm not. I'm thinking I'm having rounding issues....
[3 replies] Last: Thanks! (by xKeb)
by Lio
Function pointer
 
Hi could you show me how to compare x with the return from the int (*poly)( int a) Thanks ...
[6 replies] Last: poly expects 1 argument. You are passing 'a', that is never defined. M... (by ne555)
by alasqa
Need help with text_based_rpg
 
Hi I'm fairly new to C++ and I am trying to write a text based RPG. I am having a few difficulties t...
[no replies]
biggest number handled by c++ ? (1,2)
 
Problem number 8 on Project Euler: Find the greatest product of five consecutive digits in the 1000...
[23 replies] Last: It is worse than just obfuscation; code that makes such assumptions is... (by JLBorges)
problem with prime numbers
 
Hi, I'm working on a program to output the number of prime numbers in the first 50,000 numbers, i...
[2 replies] Last: Oh! Yeah, now it works. Thanks so much! (by gregarian)
calculate pi
 
Hey guys, my professor wants me to write a program that calculates pi to about 15 digits, and i am ...
[6 replies] Last: thanks guys, this is kind of helpful. I'm still a little confused, you... (by btfrenchy)
Will this code work?
 
It is my first time testing out files, and I have already had one BSOD due to really bad coding, cou...
[2 replies] Last: It does compile without any warnings and i have -Wall, but so did the ... (by Asif Hirai)
by Jhuyt
Code::Blocks Undefined reference error
 
Hi everybody I've been getting a very strange error when I use codeblocks, the "undefined referen...
[11 replies] Last: On the workspace pane, on the left-hand side, locate your project. Rig... (by closed account zb0S216C)
string.h included, string still undefined
 
Working on a project for school, need to use a couple string variables in the project but cannot get...
[4 replies] Last: That did the trick, thank you. (by platatomi)
help desperate
 
#include <iostream> #include <iomanip> #include <string> #include <stdio.h> #include <string....
[1 reply] : It compiles fine with me. Rebuild/clean your project. Edit: Your lin... (by closed account zb0S216C)
How to make sa simple Game using only 1 C++ File ? T^T
 
i've been wanting to create a game using c++ and is unable to, can anyone help me how to make one by...
[2 replies] Last: That's going to be one hell of a big cpp file. (by Athar)
by moot1
calculator
 
what can i add to this program to make it better #include <iostream> #include <cstdlib> using na...
[9 replies] Last: Lol well now you have a void function, with a return -_- http://www.c... (by ResidentBiscuit)
Need help finishing this assignment
 
Assignment title: Question 1: Game of Life assignment details: Conway's Game of Life ...
[no replies]
by rfrapp
The Game of Life Help
 
I need help with the game of life. It seems that I am not calculating then number of neighbors corre...
[1 reply] : nCount should probably be an array, so you can store neighbours count ... (by Berzeger)
Calculating Inverse of a Function
 
Hello, I am trying to calculate the inverse of a matrix using C++. I used to have the functions in ...
[no replies]
Multiply function not working
 
I am trying to take 2 numbers that have been input into 2 arrays, and place their product into a thi...
[no replies]
February 2012 Pages: 1... 56789... 64
  Archived months: [jan2012] [mar2012]

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