Beginners - April 2008 (Page 2)

velocity
 
hey i have to write a code using s = v0t – 1/2gt2 , but am usure how to start the code any ideas
[1 reply] : float v0; float t; float half=1/2; float g2 = - (9.8*9.8... (by InLight)
functions and arrays
 
Hey i have my code finished but i can't figure out how to put it into a single array and function form. HELP PLZ *Resistivity*/ //Preprocessor directi...
[3 replies] Last: Hey thanks for the help. (by acfan12)
by antoin
Sorting, Arrays, linkedlists
 
I have a small problem with my code, I need to make the 'Climbed' output be random. I have already tried to put some code in my function to do this but it does...
[3 replies] Last: Thanks antoin for posting this helpful code. It helped me better under... (by sparky)
Help related to System("cls")
 
Hi. I'm back again, I want to make my program less dependant on windows, thus changing every windows based command line. Which means, I need something t...
[7 replies] Last: The closest, and most reliable, way of doing it is to simply print a b... (by rpgfan3233)
Help Please , Quite simple string conversion , but can't find a way around it.
 
It really should be a simple conversion but there's no way I can think of to get this to work I got a string with a number in it like " the number is 22" And ...
[2 replies] Last: Thanks alot mate , worked perfectly (by mosdapwn)
class of array call
 
I have this code and I want to reuse the information from my array but I don't know how to call it //**********************************************************...
[no replies]
problem in pass by reference in array
 
Hi, i need someone to check for me what wrong with my coding!!! If anyone know what is my mistake pls teach me the proper one Thk here first for people that ...
[2 replies] Last: How bout mine?? It says "passing float for converting 1 of 'char calc... (by littlemin)
Help plz
 
I am stuck with array and function at the same time :S i am supposed to design a program that prompt the user for a word "that is easy". i should count ...
[7 replies] Last: Rofl I just came on the thread yesterday, and thought this forum was d... (by yor1001)
adding random numbers
 
I was wondering if you can add random numbers //-STD----------------------------------------------------------------------- #include <vcl.h> #include <...
[1 reply] : Dont really know what you are asking but looking at the source I think... (by yor1001)
Questions about getting started...
 
For years, I have wanted to learn C++, but never took the time. I found this site a while ago, and after reading a little bit of the beginners tutorial, I am ve...
[4 replies] Last: I fully recommend this website http://newdata.box.sk/bx/c/index.htm... (by yor1001)
design a class called point
 
i dont understant exactly what is required of me to do and i don know how to go about in doing it. it would be great help if someone helped me. its a java prog...
[no replies]
single colin ":" operator name?
 
Hopefully an easy question. boxType::boxType(double l, double w, double h) : rectangleType(l, w) { if (h >= 0) height = h; els...
[4 replies] Last: As far as I can tell, it was not given a name. It is simply used to de... (by rpgfan3233)
by zafar
color for text
 
hi i need a simple example that how can i change the default text in console to another. i wantto change text color please help me.
[3 replies] Last: A simple way to change text color to blue is to include this statement... (by sparky)
by Dodosb
calender
 
i dont know how to make a calender code
[2 replies] Last: How To Ask Questions The Smart Way http://www.cplusplus.com/forum/art... (by closed account z05DSL3A)
CAN ANYONE TELL ME Y MY BUBBLE SORT WONT WORK
 
# include <iostream> # include <ctime> # include <cmath> # include <iomanip> # include <fstream> # include <cstdlib> using namespace std; void readmatrix...
[3 replies] Last: How To Ask Questions The Smart Way http://www.cplusplus.com/forum/art... (by closed account z05DSL3A)
CAN ANYONE TELL MY WHY IM GETTING A ERROR
 
# include <iostream> # include <ctime> # include <cmath> # include <iomanip> # include <fstream> # include <cstdlib> using namespace std; void readmatrix...
[1 reply] : What is the error you are getting! How To Ask Questions The Smart W... (by closed account z05DSL3A)
by gem925
Creating a sentinel loop
 
I am trying to build a program using a sentinel loop and I know I am missing a piece of the puzzle however I am clear on how to make it work. I want the smalles...
[2 replies] Last: Thank you so much this really helped me out. gem925 (by gem925)
hi how to do this?
 
Hi dear all... i am confusing for c++ now... void displayExit ( const string function , int b ) { cin >> yes ||no; // close menu cout << "Are You...
[2 replies] Last: you got the c++ syntax wrong, like what yang said is right, but your p... (by yor1001)
CAN ANYBODY TELL ME Y MY LAST TABLE IS MESSED UP
 
# include <iostream> # include <ctime> # include <cmath> # include <iomanip> # include <fstream> # include <cstdlib> using namespace std; int main() { ...
[2 replies] Last: BAR.DAT 4 5000.0 10 2000.0 14 1200.0 18 900.0 (by vaflyboy03)
while - if - and switch
 
I am trying to write a very basic program that mirrors what an ATM does. It is a final project for my first programming class. First I tried all if statements...
[2 replies] Last: It would make your code quite a bit more readable if you wrapped it in... (by Zhuge)
April 2008 Pages: 1234... 18
  Archived months: [mar2008] [may2008]

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