Beginners - February 2013 (Page 24)

help get me started
I know I need the header and namespace std, but how many int and double varibles will I need? This is what I got so far? #include <iostream> using namespace s...
Feb 20, 2013 at 8:29am
[5 replies] Last: Okay, thanks for the help, I will run in c++ and check it for bugs! (by renchjjj)
begineers
I write a program in c language that name is rain drop character but one error occurs at time of execution in delay. i use delay(4000) it's matter of heder...
Feb 20, 2013 at 7:22am
[2 replies] Last: #include<conio.h> #include<stdio.h> main() { int p,x,y,z; char on... (by Kishor naiknavare)
I need help generating numbers?
if I use the code random = rand() % 100 + 1; how do I generate a number from 500 to 1500? thanks
Feb 20, 2013 at 7:00am
[3 replies] Last: Please do not modify your original posts to get rid your question. It... (by cire)
by Qazone
arrays in function different values in main
I am creating a very large program and am rather new at programming in general. I am using a function to calculate room modes and store them to an array to be ...
Feb 20, 2013 at 6:19am
[11 replies] Last: Well, I'm maybe not quite understanding the question, but I'll try to ... (by Chervil)
Homework help please??
Hey guys (and gals), I'm running into some trouble on a homework assignment of mine. When I try and build my program (I'm in visual studio 2010), I get two e...
Feb 20, 2013 at 6:11am
[3 replies] Last: Alright I've moved on a bit seeing as I can probably come back to the ... (by blazer52)
Inheritence Problem
I am making a little prototype for an editor and I came a across a build problem with my classes... "Syntax Error, need ; before *" and "Map undefined as base c...
Feb 20, 2013 at 5:31am
[5 replies] Last: Maybe you should try making a 2d array (with constant sizes) of Tiles ... (by TheIdeasMan)
by Meden
while loop not working?
I am trying to do Newton's method. What is wrong with my code? The while loop is not executing correctly. The value of the currNextRatio that terminates the ...
Feb 20, 2013 at 4:54am
[no replies]
Tic Tak Toe help
Hi I'm kind of new to C++ and I have an assignment to create a Tic Tak Toe game. I have most of the program done. All I need is to update the board and to have ...
Feb 20, 2013 at 4:48am
[no replies]
adding multiple char arrays into 1
so i have this program i have to write were i first have to ask for input of a string then determine how many characters its has. then i have to ask again for m...
Feb 20, 2013 at 4:09am
[2 replies] Last: not in same class but ya i get what this guy is trying todo but I dont... (by Josh Henry)
Help with a code that computes average?
Hi guys I'm new to C++ in college and am struggling with some codes. Here is one that has me stumped. It is supposed to prompt the user for 5 numbers and output...
Feb 20, 2013 at 3:47am
[3 replies] Last: Yeah I'm sorry I only have access to the program that runs the code wh... (by isuckatthis27)
How can I generate a random number from 300 to 700?
I've done codes before using this code: secret = rand() % 100 + 1; but how would I set it up so it only generates numbers from 300 to 700? Thanks in adva...
Feb 20, 2013 at 3:46am
[2 replies] Last: You want a range of 401 numbers. secret=rand()%401; Will give you ... (by AbstractionAnon)
Having trouble
This is my code #include <iostream> #include <iomanip> #include <math.h> using namespace std; int main () { //declare variables double x; //number...
Feb 20, 2013 at 3:43am
[2 replies] Last: Idk why i just can't get it to output 0 on mine. I will try to remembe... (by AWhite107)
can anyone help me with this program
// This program will display the list of students in a class, names ranging from 5-30, display the name entered // and arrange the first and last student in a...
Feb 20, 2013 at 3:27am
[1 reply] : What is your question? (by AbstractionAnon)
by myeh2k
How much c++ do I have to learn to make games
I am a 12 year old programmer. I have had experience with java and I want to know how much c++ should I learn if I want to make a 2d game like a rpg. I made a t...
Feb 20, 2013 at 3:19am
[1 reply] : All of it. :) The real question you should be asking is.. once you hav... (by mezmiro)
encryption function help
I can't figure out whats going on with my code. This function is taking text from an input file, encrypting it, and outputting it into a file. In my for loop...
Feb 20, 2013 at 3:01am
[3 replies] Last: Thanks for editing your post to add code tags. What I see is: Li... (by AbstractionAnon)
HELP!!!!!!!!!!!!!
Create a program in C++ that will enter a limit of the loop using for loop statement. FOR LOOP -->> 3 limit for ( ) for ( ) for ( ) cout SAMPL...
Feb 20, 2013 at 2:45am
[no replies]
by Ch1156
is there a reason for putting a void in function parameters
I have seen that in a few places and I was wondering if there was a reason for it like speeding up the compiler or something like that I don't know, or is it ju...
Feb 20, 2013 at 2:33am
[3 replies] Last: AFAIK, the presence of void in the argument list is a hangover from th... (by AbstractionAnon)
Using functions in a switch statement
I How can I fix my switch statement?
Feb 20, 2013 at 1:52am
[5 replies] Last: What problem are you having? When I compile your program, I get the... (by AbstractionAnon)
Your Opinion and Feedback
Hello all. I am in my 6th week of my C++ Programming class. We were given the "Bumpkins of Bumpus" assignment. This is my completed program: //KHWGW //2/1...
Feb 20, 2013 at 1:31am
[4 replies] Last: That's how I would do it. (by firedraco)
C++ mini projects with visual studio 2010
I was finding if there is any link have the same things as http://codeincodeblock.blogspot.com/2012/04/list-of-top-ten-college-mini-projects.html which use...
Feb 20, 2013 at 1:21am
[2 replies] Last: Hi sysopfb, Thank you for your reply.So you mean I can either use my ... (by jaden5165)
February 2013 Pages: 1... 2223242526... 67
  Archived months: [jan2013] [mar2013]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.