Beginners - April 2012 (Page 46)

Restarting Program
 
Hi, I have created a calculator, i would like to make it so that it restarts back to beginning or to make is so it doesn't quit at the end, letting you input mo...
[4 replies] Last: #include <iostream> using namespace std; int main(){ int a, b, ... (by ui uiho)
by Serg
C++ salary calculation
 
I am a beginner in C++, would someone mind helping me with this?. Thank You Write a C++ application to compute the week's paycheck for an hourly employe...
[3 replies] Last: Well, if you didn't understand the topics covered, you should look the... (by Athar)
Updating Variables?
 
Hi all, I'm trying to write a program (Win32) that gives or takes "money" based upon the throw of the die. My only problem is that I can't get the variable I...
[4 replies] Last: I completely understand now; thank you very much for your help, Disch! (by xerinex)
by Kelsen
Specific output know, how to do it unkown
 
Ok, so I am trying to get my program to do something simple. It has to display either a "1", for any number entered that is illegal for an unassigned short int ...
[no replies]
Code::Blocks Ubuntu problem
 
Hello! I wrote some code and compiled it into an executable. XTerm (which opens up after the executable has been produced) printed: sh: 1: /media/disgo/Code...
[4 replies] Last: I have deleted all of the object files and it is now working as intend... (by Exispistis)
by atjm88
Tutorial For Win32???
 
Hi, can I know where to get the most easy to understand Tutorial for Win32 Programming Language? Your help is really appreciated...Thanks....
[3 replies] Last: I used this one which really taught me lots: http://www.winprog.org/tu... (by Stewbond)
by skarla
begginer
 
thank you,very much guys!!! you hepled me very much!!! so i would ask something else!!! 1)now i am learning c++ about 2 weeks and i am learning the language ...
[1 reply] : I took a 13-week course in c++ for my engineering degree. That was en... (by Stewbond)
Sentinel Value added into math of loop - WHY?
 
So I built a program to take an indefinite number of stores and then input an indefinite number of payrolls for each store and add them up to get a total payrol...
[10 replies] Last: Though getch() is non-standard. Usually this should work: std::cin.s... (by long double main)
Quick fstream question
 
Ok, so in the following code, the first line of the program "progfile.txt" literally reads "1". Its an int data type because I used another program to write an...
[4 replies] Last: It was a location problem like you said, I moved the file to the right... (by AlexAndAHalf)
[HELP!] Artificial intelligence tic-tac-toe
 
#include<iostream> // my first EVER game 27/03/12 // update in 08/04/12.Attempting to make an artificial intellgence in it. #include<ctime> using names...
[2 replies] Last: Minimax huh...I guess I went to far ahead beyond my abilities.I'll pro... (by MinwooJu)
Need help with an assignment!
 
Hello everyone, I know the rules say do not ask for homework help but I'm struggling to figure this one out. I've missed a few lectures from sickness and tho...
[2 replies] Last: Hmm yes my bad. I kept getting frustrated and restarting so I'm back t... (by m20jesse)
Error C2447
 
Hi guys. I know you probably get this error a lot here but i cannot figure this out for the life of me. Here is the code i have written: #include <iostream> ...
[4 replies] Last: And age wasnt declared anywhere as well... (by S G H)
Dynamic Allocation of 2D Array
 
I wrote this entire code before I found out that 'new' doesn't work with multidimensional arrays, and now I'm trying to salvage the code without having to red...
[4 replies] Last: The errors are consequence of that the name max conflicts with the nam... (by vlad from moscow)
interesting error message for my if's
 
hi all, I'm getting the following error for the following if statement "Error 4 error C2106: '=' : left operand must be l-value" if (serv = "p" ||...
[12 replies] Last: Semi Colons* :d (by S G H)
by skarla
begginner (1,2)
 
i am sorry if i should write this topic but i am new in this forum and in this language(c++) too. YESTERDAY i decided to learn this language!!! i am 15 year...
[23 replies] Last: thank you,very much guys!!! you hepled me very much!!! so i would ask ... (by skarla)
Vending Machine program with loops.
 
Hi, I am having issues with simulating a vending machine that asks for nickels, dimes, quarters and dollars bills. First of all, the program is not calculating ...
[3 replies] Last: Try moving the variable definitions and initializations of the nickel,... (by jczitnik)
by revin
120+ digit interger
 
I would like to find a 100! I wrote the program below. However using decimal would give me it in decimal form and I would like it in integer for as this site g...
[3 replies] Last: Thnks for the suggestions. Greatly appreciate it (by revin)
cant get the output pls help
 
i am getting a blank out put on this program i dont know why t got these massage when i go debbuging. 'computerprogrammin13.exe': Loaded 'C:\Users\neha\Do...
[11 replies] Last: I see you still haven't taken ui uiho advice. Let me help you. Copy th... (by revin)
Arrays of 6???
 
Generate a text-based histogram for a quiz given to a class of students. The quiz is graded on a scale from 0 to 5. Write a program that allows the user to en...
[3 replies] Last: first change string grades to ints int grades = {0} //sets all to ... (by oonej)
Extern const int, multiple file help, c++
 
Hello, I'm currently working on a project that needs useage of extern const variables, however i get the error; "error C2370: 'x' : redefinition; different st...
[6 replies] Last: you use x in class Test, class is an object which can not have externa... (by Shinigami)
April 2012 Pages: 1... 4445464748... 66
  Archived months: [mar2012] [may2012]

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