Beginners - October 2012 (Page 19)

Arrays
 
Hi, guys I needed some help with this program I was told that in order to do the standard deviation I should put my grades in an array so I was wondering is the...
[2 replies] Last: below is the example for creating an dynamic array using pointers ... (by vichu8888)
Need help with reading in code with no whitespace
 
Hey folks, I'm up late on a project and have run into an issue. I'm trying to get a lookup piece of code to read from a file and determine if there is a code th...
[no replies]
do while number triangle
 
im so dumb cat figure this out, guyz can you help me up.. i want a code like this if you: input: 1 1 input: 2 22 1 input: 3 ...
[7 replies] Last: hey alkarloz sorry for misunderstanding you... (by HiteshVaghani1)
SERIOUS HELP IN C++ PROGRAM
 
GUYS I SERIOUSLY NEED HELP IN THIS PROGRAM OR ELSE I'M GOING TO FAIL THE COURSE AND I REALLY DON'T KNOW HOW TO DO IT..SO PLEASE EVERYONE TRY HARD TO HELP ME GET...
[3 replies] Last: Perhaps you need to read the rules first, people are going to give yo... (by Victor714)
What is a Contiguous Object?
 
Hi, I was asked this question in my school exam recently and didn't really understand it. I've googled 'contiguous object' but I don't find much related inf...
[2 replies] Last: Officialy, only trivially-copyable and standard-layout objects are req... (by Cubbi)
Repeat a program?
 
I need to repeat this program, im thinking some kind of loop but im not sure how. cout << "Enter maximum room capacity: "; cin >> max; cout << "Enter...
[1 reply] : I would use a do loop. this is how your code will look like.FYI use co... (by OLittleO)
decending order
 
I was given the code at the bottom to which is in ascending and need to modify it to decending but cant figure out how? #include <iostream> using namespace ...
[2 replies] Last: no i dont understand it at all (by buddy208)
c++ sentinel loop
 
So I'm making a file that calculates the total score for an individual student. the end of my linefeed will be -1. the first line determines the possible points...
[2 replies] Last: ctotal should be initialized. (by dangerous)
by math8
My antivirus is flagging my C++ project as a virus!
 
So, I am using the antivirus 'Webroot SecureAnywhere '. The problem is, it flags some of my C++ projects as if they were viruses. And when I try to compile t...
[3 replies] Last: Look at the post that is stickied to the top of the beginners page. Th... (by TheIdeasMan)
by Ryusko
A good library for 2d games?
 
I'm looking for a library to help with making some basic 2d games (simple RPGs, etc.). Ideally, though, it would be functional enough to make something real if ...
[1 reply] : Once again I am compelled to recommend SFML. Newbies seem to have dif... (by Disch)
Assistence needed to set a path automatically to the User's desktop
 
What the title says, how do you create a path to the user's desktop automatically? If it would help, I'm using the program Code::Blocks, and I'm testing out a f...
[4 replies] Last: Thanks for the help, and hopefully it will work. (by Maxim Podolski)
Help with Program
 
I'm new to C++ and I am having trouble getting my program to compile. I need HELP!!! Here is the assignment: Write a C++ program that computes how many meters a...
[8 replies] Last: Please use Code Tags - the <> button on the right. So it looks like th... (by TheIdeasMan)
Simple Code Walkthrough
 
Hi, I don't understand how this is true. Could someone please do a code walk through for this, it would be much appreciated! "The following code will caus...
[4 replies] Last: if (x = 0); X=0 assigns the value of 0 to the memory location l... (by dangerous)
Check Failed
 
Why does that happen? It checks in the first try that it is not between the valid integers but when i redo the test it skips the check? #include <iostream> #...
[5 replies] Last: You change the if (b<0|| b>1000) to while(b<0|| b>1000) it will be a ... (by dangerous)
Is this a good program?
 
Idk how to explain it, but it seems so messy. I am brand new to programming. #include <iostream> #include <ctime> // for time() #include <cstdlib> us...
[3 replies] Last: You mention that you're new to programming. Have you just covered basi... (by andywestken)
What is wrong with My Constructor
 
I'm doing a project for class, and I have to work with Dynamic arrays. I am trying to setup a constructor for the image class that sets each pixel to black. *...
[2 replies] Last: I figured it out. On line 33, it should be pixels = new RGB[depth*h... (by enosmac)
Functions
 
Hey all, I'm a student using c++ in jGrasp. My program is suppose to take the average of a group of test scores, where the lowest score in the group is drop...
[2 replies] Last: thank you Need4Sleep. I'm not sure what code tags are... Is this what ... (by Dippnsidways)
Using Strings to find email adresses.
 
I am given a generic file in which I must find all of the email addresses, take the, and place them into a new file. It's my first time really using strings so ...
[1 reply] : example for a ifstream #include <iostream> #include <fstream> #inclu... (by Felicia123)
Arrays end by sentinal
 
I have an array that i want to end when a -1 is put in. how do i get that to happen #include <iostream> using namespace std; int main() { const int...
[1 reply] : #include <iostream> using namespace std; int main() { const in... (by dangerous)
by SZKOM
Corruption around stack with my program upon exiting.
 
Hello, this is my first time posting on this forum and i am a noob with Cpp. I am making a game which was working well. Well i used files, i get an error "sta...
[4 replies] Last: That's the tricky thing about programming errors such as buffer overfl... (by helios)
October 2012 Pages: 1... 1718192021... 84
  Archived months: [sep2012] [nov2012]

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