Beginners - April 2012 (Page 35)

Array Trouble
 
EDIT: How about this...... if I have an array that has a garbage value on the odd increments, and I ...
[8 replies] Last: If you use pseudocode, make it clear. You WILL get people frustrated t... (by hanst99)
Array of Chars vs. C-string
 
Am I allowed to use an array of characters the same way I would use an array of integers? ie. Do I h...
[1 reply] : Yes that is perfectly fine. (by Peter87)
hey guys im new to programming c++ some helperz please?
 
so see i am at lost with apis and programming. what is an "api" exactly? from what i gather its a...
[3 replies] Last: 1) You don't have to call them entities. Call them objects, instances ... (by MrHutch)
Display 3 array values per line
 
I want to display 3 array values per line but sadly what I'm trying won't work for (count3 = ...
[3 replies] Last: You are incrementing your loop variable twice and resetting the index ... (by andywestken)
Question about constructors
 
I'm learning C++ and I don't really get the point of a constructor. I get the point of a destructor ...
[9 replies] Last: Just wanted to thank you all for the replies. I've learned lots and I ... (by Hungry Man)
by arooj
Zip Code and City program that writes to text file
 
I am confused on how to have a user enter a zip code, and then have to proper city to display, based...
[5 replies] Last: bool values are good to check if something occurs or exists. (by ui uiho)
Problems With Void Functions
 
I'm having an issue with my latest homework problem. Here's the problem as described in the book: ...
[1 reply] : Modify list of parameters to void calcSumAndDiff(int n1, int n2, int&... (by tfityo)
Question about if-else
 
Hi everyone , I wanted to write a program that calcule the surface area of cube,Rectangular Prism...
[4 replies] Last: system ("pause"); replace that with std::cin.ignore(); (by ui uiho)
by yo1408
Pyramid
 
Please help me find a solution for this question below. Write a C++ function display prototyped b...
[2 replies] Last: // // main.cpp // PROJECTTRIANGLES // // Created by Aaron on 2/29/... (by ui uiho)
Loop issue (1,2)
 
Having trouble getting these menu options to loop properly. #include <iostream> using namespa...
[22 replies] Last: put your main function(where execution of the program starts) before t... (by ui uiho)
Reading and writing files program
 
Write a program system that reads several lines of information from a data file and prints each wor...
[4 replies] Last: In fact, I suspect you're not supposed to do it this way because the i... (by cire)
General array and function question
 
There's this example in my book that has two things that I don't understand about it. #include <io...
[5 replies] Last: The default method of passing arguments is by value. In order to pass... (by cire)
by ralph5
Cellphone
 
Write a C++ program using class for the following: A cellphone is a device that can be used to make...
[4 replies] Last: Ahaha. Yes I forgot to enter a return type for a couple methods. So s... (by IceThatJaw)
Declaring Values in Multidimensional Array
 
I have an array with a very large size (let's say 50x50 for the sake of argument). I need to inpu...
[12 replies] Last: Thanks so much LB/Stew...Huge help! (by invictator)
Days of the week array?
 
Declare an array of floating point elements called week that can be referenced by using any day of t...
[4 replies] Last: Array indices are strictly unsigned integers. Thus, they cannot "be re... (by LB)
by veie
Undefined References
 
I am just starting to use SFML to develop a simple game. The first part of it involves a little bit ...
[8 replies] Last: I have found a solution to the issue, when I go to my project properti... (by veie)
User Defined Function - unresolved external
 
Why does this program not get built? I'm just learning how to do user defined functions, and menu() ...
[3 replies] Last: thank you both very much, the information allowed me to conquer a lot ... (by marcsix)
How to make an alarm clock!?
 
Okay so I figured out how to get time in c++ but after that I dont know how to countdown to the desi...
[4 replies] Last: There are sleep functions available everywhere. Find one, and make you... (by TheDestroyer)
why i cant debug my coding???any problems???
 
#include <iostream> using namespace std; int binarySearch(const int , int , int ); const int s...
[2 replies] Last: so how to solve this problem. Got another way of writing this coding? (by B031110034)
G++ Compiler Error: undefined reference to (a function)
 
Hey all, I've searched the archives, the web, and other Linux/Programming websites' forums and I ...
[2 replies] Last: Wow, well I feel like a moron. I guess I didn't understand that it wo... (by jazztrmpter)
April 2012 Pages: 1... 3334353637... 66
  Archived months: [mar2012] [may2012]

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