Beginners - April 2008 (Page 13)

text-based RPG
 
hello again everybody. I've been working on a RPG that saves what the user inputs to a file that the user gives the name for, but when it gets to the end of the...
[4 replies] Last: above is my reworked code, and as you can see, it is getting pretty he... (by mxjabber)
by bettie
switches????
 
how do i create a program so that when i put characters like A,B,C. And they have to calculate a value, like average. Ofcourse A,B,C are constants. And I want t...
[8 replies] Last: #include<iostream.h> main() { int i; float total=0.00,p,g ={4.00,3... (by bayabear)
how can i control the cursor???
 
hi , i've aquestion , how can i place the cursor of input where i want to input in a specific destination on the screen; thanks
[1 reply] : Here is a small program I put together that moves the cursor to positi... (by psault)
Arrays
 
i want to create a program that generates a multiplication table and the user can set his own peramiters my problem is this int i; ...
[2 replies] Last: i got it now i am having trouble with my code here is my code #incl... (by gregv21)
by mam646
help! my program keeps accumulating!
 
I am a novice c++ user - I had to write the functions for this program but the professor wrote the class, the main content and the last print function (all of w...
[2 replies] Last: Grey Wolf ..YOU FREAKIN' ROCK!! That worked!!! Thank you soooo much!!!... (by mam646)
by fubar
convert a char array of integers to an int
 
hello all, I've got the following problem: I am reading a list of integers as arguments from console, so they end up in an array of character strings *arg...
[7 replies] Last: Cheers mate! atoi was exactly what I was looking for! I didn't know o... (by fubar)
by Ali
Need hints to design a program
 
You are given a file. Convert the file into MPLF form and write the ourput into another file. The rules for converting a word into MPLF form are as follows: ...
[no replies]
by yogurt
just need some thoughts
 
ok. i have to make a until converter by using only switch cases. i have to let the user choose EXACLTY from what unit to which. I think its stupid but thats the...
[4 replies] Last: hmm that is a thoguht. Why do i really need someone to chose a system.... (by yogurt)
by hazda
Help in gaming??Brute force??
 
Brute Force???? Say for instance i have an array surface of and the base station for my car is situated at the centre . The car is able to move North,E...
[no replies]
Help with assignment please!!!
 
Hi, I am taking a programming class and I am a terrible programmer! the assignment is this: http://condor.depaul.edu/~ntomuro/courses/262/assign/hw1.html ...
[2 replies] Last: thanks! (by burnout)
by cppwtf
Biggest Term
 
How do you find the biggest term of a series/sequence. Is it possible to find the biggst number of the output of a loop? Can this be done with a FOR loop? or an...
[2 replies] Last: Another way #include <iostream> #include <algorithm> using nam... (by jsmith)
New to C++ Trying to load file into vectors
 
Hi I am having trouble with a program that I am currently working on. The program is going to read in the names and numbers from a text file and store the numbe...
[1 reply] : I was able to figure this step out so I am now working on the next ste... (by kordos3)
please help with while loops
 
hi would you kindly help me with the following program:- The program must input an amount in pounds and shillings, and convert it to rands and cents and di...
[2 replies] Last: it works, thank you. (by velaphi)
by eric7
Help! template function
 
I am trying to write a template function. #include <algorithm> #include <iostream> #include <vector> #include <iterator> using namespace std; doubl...
[1 reply] : Depends what you are trying to do. The problem at the moment is tha... (by hypercruize)
Need helps on pointer
 
Hello, I have some assignment questions on pointer and array, can anyone give me some suggest? Please see the below codes: int x = {{4,5,2},{7,6,9}}; int ...
[1 reply] : int (*p) declares p as a pointer to an array of 3 int's. p is then... (by hypercruize)
by natt
toupper
 
I've written a program to produce random sentences. I'm having trouble getting the first letter of the first word into uppercase. Can anyone help? #includ...
[2 replies] Last: toupper() takes a char and returns a char, you are passing it a char* ... (by hypercruize)
number guessing game
 
ok, ive been learning C++ on my own, and i now have a number guessing game compiled and everything. The only thing that im not sure of is the quality of the pro...
[2 replies] Last: in the book that i got the number generator from it had that as part o... (by mxjabber)
Resister Perellel
 
can anyone help to fined a way to create a program that calculate parallel resistors
[no replies]
by auzy07
need some help for class project
 
hello everybody. this site is the only reason I know as much as I do about c++. my teacher/grad assistant that teaches my class is very competent and knows his ...
[no replies]
How do I populate a vector with a random number function?
 
Can someone please tell me if I can populate a vector with 5 random numbers using a function? Thank you very much for your help!
[3 replies] Last: Thank you both for the help. I was trying to use my vector in the mai... (by katielynnsdad)
April 2008 Pages: 1... 1112131415... 18
  Archived months: [mar2008] [may2008]

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