
please wait
by dessoul
'while' looping
|
My SENTINEL value of "-99" operates just fine, however when I enter in numbers, using a space in between, and finally press the "ENTER" key, nothing happens. Wh... |
Jun 24, 2013 at 3:31am
[1 reply] : The problem lies in the scope of your while loop (by Smac89)
|
by Newbiee
Reading text to arrays
|
I'm very new to C++ so I don't know much. I have a text file that list students' first names, last names, and three grades. I want to read the values from the f... |
Jun 24, 2013 at 2:14am
[4 replies] Last: I forgot to say earlier that this was exactly what I needed! I'm alway... (by Newbiee)
|
by robgeek
Linked list in c doesn't work properly.
|
Hello, guys. I have to make a task scheduler in c in which on of his processes is a process called task_scheduler should be run in the terminal command using t... |
Jun 24, 2013 at 1:11am
[2 replies] Last: You are setting list to NULL each time a program is called, don't you... (by robgeek)
|
by whatisjeff
Please critique my code?
|
Hello! This is my solution to a problem in a book I'm reading. The question is as follows: "2. Write a program that picks a number between 1 and 100, and the... |
Jun 24, 2013 at 12:05am
[7 replies] Last: I don't understand what the point of adding/subtracting 1 from guess ... (by AbstractionAnon)
|
by ace55
Please help with my error??
|
Jun 23, 2013 at 11:38pm
[1 reply] : I do not see any problem with your code. Insert an additional statemen... (by vlad from moscow)
|
game design question (1,2) |
Hi, I'm a relatively new programmer and I'd really like to learn game development. I've done a lot of research and have learned the basics of C++. I'm having a ... |
Jun 23, 2013 at 10:18pm
[29 replies] Last: @yemeni cpluspluser The code now works I had just assumed it was sort ... (by closed account 30X1hbRD)
|
by ldv
C Memory & Pointers Short question.
|
Hi, i have C exam tomorrow, im studing right now previous year's tests and i have problem with one question: int i, *p1, x, y, z; i = 7; p1 = &i; *p1 =... |
Jun 23, 2013 at 9:24pm
[1 reply] : Did the question specify that i is stored at that address? In that cas... (by Peter87)
|
by HarryNewgas
Don't understand "&" after string
|
In creating this function, what does the &guessword part mean? Thanks int letterFill (char guess, string secretword, string &guessword) |
Jun 23, 2013 at 9:20pm
[2 replies] Last: Thanks, I'll try to understand it :D (by HarryNewgas)
|
by nsahawks7
Classes and Objects not working? BMI Calculator Program
|
Something must be out of order, I think it is the if's or the classes but whenever I run this, the order messes up. If you click English ( choice 2) then the en... |
Jun 23, 2013 at 7:06pm
[6 replies] Last: Thank you, works fine! (by nsahawks7)
|
by amanda850
writing to a file and not standard output
|
I am supposed to create a program that accepts a 4 digit year and prints out a calendar for that year. It must be modified to write the calendar to a .datfile a... |
Jun 23, 2013 at 6:38pm
[no replies]
|
by kpma
Array Search Question
|
Just got an assignment recently and need help with two questions from it. Write a function, arraysearch, that searches through a sorted array of C strings ... |
Jun 23, 2013 at 6:22pm
[5 replies] Last: @Cubbi I did not take into account that the array is sorted. Then s... (by vlad from moscow)
|
just a quick (noob) question |
Hi, I've been taking C++ for a long while now and I was wondering what exactly could I use pointers for that I couldn't use a simple variable for? I'm still a b... |
Jun 23, 2013 at 5:48pm
[8 replies] Last: @the prince "CaptainBlastXD, I mean like if you had a really big proje... (by closed account EwCjE3v7)
|
What book should I read to learn c++ |
Hi there, I would like people's suggestions on what book is best for a 12 year old to learn c++.I love programming.And would love to learn c++. What ... |
Jun 23, 2013 at 5:02pm
[7 replies] Last: Thanks the prince I will download the e-books.Thanks Edit: Chilli and... (by closed account EwCjE3v7)
|
by Adnanqadri
Problem's solution required
|
Can anybody help me to compile this code? I am new to C++ language and in learning process.I am trying to compile it in Dev.C++ on win 7 x64 but giving errors. ... |
Jun 23, 2013 at 4:53pm
[4 replies] Last: using notepad I think I've managed to get it working properly. (Just s... (by closed account 30X1hbRD)
|
by HarryNewgas
Confused about int letterFill (char, string, string&)
|
I'm pretty new to C++, but i understand most of the basics. However, i'm having real trouble understanding what any of the 'letterfill' parts are. It was declar... |
Jun 23, 2013 at 4:48pm
[1 reply] : It's not a variable, it's a function. http://www.cplusplus.com/doc/tu... (by Disch)
|
by Angry Food
if else statement problem
|
Hi. I'm having a problem. So I'm making a BMI calculator and everytime I type whatever value, it display 'normal'. Why is this hapenning? Beginner here. i'll sh... |
Jun 23, 2013 at 3:13pm
[2 replies] Last: Do not duplicate conditions. Code duplication is bad. The 'else' a... (by Disch)
|
by otisphat80
Array must not exceed
|
Hello everyone I keep getting this array must not exceed error but all I trying to create is a 20 x 20 array of objects. It does the same with objects and templ... |
Jun 23, 2013 at 3:09pm
[4 replies] Last: I see. Thank you . (by otisphat80)
|
Report Heading |
Design a class called Heading that has data members to hold the company and the report name. A tow-parameter constructor should allow these to be specified at t... |
Jun 23, 2013 at 2:58pm
[2 replies] Last: Great! Thank you. I'll keep that in mind the next time I post. (by cPPbeginner17)
|
by cshu
classes
|
#include <iostream> #include <iomanip> using namespace std; int main () { const int numOfEmployees = 7; int empId = {5658845,4520125,7895122,877... |
Jun 23, 2013 at 2:35pm
[4 replies] Last: Maybe this will help you get started: class Employee { int empi... (by AbstractionAnon)
|
by Lim Boon Jye
Looping function , implement own logic
|
when i choose for the first array which is the entire row and column cannot be choose and compare. something like this 11 12 18 40 14 15 13 22 11 17... |
Jun 23, 2013 at 2:29pm
[4 replies] Last: any idea? (by Lim Boon Jye)
|