Beginners (Page 58)

by akai09
iteration logic help
 
hey guys i need help with iteration logic. i need help with 1-prints out the integers between 2 a...
[7 replies] Last: @akai09 Just as everybody else is saying p[lease show us the code you... (by kemort)
Problem with Total() function Depending on Amount of Numbers in File
 
The following code has been giving me much trouble. It is supposed to be a program which computes ...
[1 reply] : How big is the variable length array numberstorage that gets created a... (by pheininger)
need help
 
How can the output be 2.2 when child() points to a invalid memory address by the time child() re...
[6 replies] Last: If the particular compiler is using a stack for storing its automatic ... (by pheininger)
by goldyn
Only running if statement, what to do
 
Hey guys, I'm almost done with my assignment but it seems as though it's only running the If stateme...
[4 replies] Last: Since you started a new thread and thus we do not have the original pr... (by pheininger)
Mouse click problems
 
I'm using GetAsyncKeyState() to check if the mouse is clicked. However ,it doen't detect clicks whe...
[1 reply] : try this if(GetAsyncKeyState(VK_LBUTTON)) { //left mouse button... (by IceStorm)
Counter Controlled While Loop Error
 
Im having difficulties doing a counter controlled while loop and i get these errors and i just cant ...
[2 replies] Last: Never mind it works now. Thanks (by Malik611)
by goldyn
I am so lost....
 
So I have an assignment for my c++ computer class. I've tried for quite a while on it and I am compl...
[2 replies] Last: Thank you so much (by goldyn)
how to make a priority queue/min heap
 
im working on a program and what i have to do is pass in process time of jobs into a priority queue ...
[9 replies] Last: @danghotties Ok now it's starting to make more sense ima go try it se... (by andrewthecoder)
help with storing values and returning two different statements based on how much info was stored.
 
i have a two part question for my computer programming class, the first part i already completed, i ...
[1 reply] : line 19: cin is looking for user input. doens't seem to be desired her... (by soranz)
Simplifying switch cases
 
The code below is a section of the switch statement that I want to simplify. Between comment (1), yo...
[2 replies] Last: Solution using custom character table: #include <iostream> #include <s... (by MiiNiPaa)
by usr101
How to properly return an array of objects in c++ and use it main?
 
Hi, first time here and I have a question after searching a lot of places including here. In my code...
[2 replies] Last: First, I have limited experience with object oriented design and progr... (by pheininger)
Problem in adding even-valued fibonacci numbers
 
I've written the following program..but it prints a garbage value. Why? #include <iostream> #...
[2 replies] Last: The calculated sum is out of range for int and unsigned int in just ab... (by Cody0023)
C points forming a rectangle
 
I have this piece of code for finding out whether 4 x,y coordinates make a rectangle which works per...
[1 reply] : It sounds like you're defining "correct" order as counter-clockwise st... (by dhayden)
Program to evaluate sin(x) using Taylor series expansion
 
I run the below given program for finding sin(x) using taylor's sries expansion. but for large value...
[3 replies] Last: The problem is that floating point numbers aren't exact. Using more di... (by dhayden)
Struggling with Day of the Year Program
 
My assignment is to "write a class named DayOfYear that takes an integer representing a day of th...
[12 replies] Last: You da man mobotus! Thanks to all for the help, couldn't have done it... (by blairtch)
Problem with reading integers from .txt-file to array
 
I'm working on two programs. The first generates a maze and saves the maze in a .txt-file. The maze ...
[2 replies] Last: @ Aceix: Thanks for your tip. But how can I implement the seekg() func... (by BeKinect)
Machine Code?
 
I read that compilers convert the high level language source code into machine code written in 1s an...
[5 replies] Last: The following program: #include <iostream> int main(void) { std::co... (by pheininger)
by Akula
expected Unqualified id error
 
not 100% sure what's going wrong or why it's stating the "expected unqaulfied id before 'int' the er...
[9 replies] Last: The issues i was having with this segment of the program have been wor... (by Akula)
Confusion while using pointer & string
 
How the following statements actually working? #include <iostream> using namespace std; ...
[4 replies] Last: char *p = "i am a string"; "i am a string" is an array of 14 char ... (by Peter87)
Pages: 1... 5657585960... 131
  Archived months: [sep2014]

Cannot post in this page. To post a new message, go to the first page.