Beginners - September 2013 (Page 47)

reading a string problem
 
When I call out add_record in main the output looks like this Title? Artist? Why is it not waiting f...
[1 reply] : I flushed out cin using cin.ignore(std::numeric_limits<std::streamsize... (by pronesti)
by Ltp
Stack problem
 
#include <iostream> using namespace std; class stack{ private: int *st; int s; int top; ...
[13 replies] Last: Got it. Thanks.. (by Ltp)
grade average calculator issues
 
This program only compiles if the number of grades has already been predetermined, but not if the nu...
[3 replies] Last: Try this #include<iostream> #include<string> #include<iomanip> #inclu... (by ngopza)
help on looping
 
i need a program that will do this if 4 is inputted the sum is 10 but it will display this 1+2+3+4 ...
[4 replies] Last: just tried it again sorry for the confusion dude! thanks for the help ... (by enri357)
help in ifstream getline problem
 
I'm getting problems reading the lines in my file. The program reads the gradebook .IdNum perfectly....
[1 reply] : the problem is line 32.MI is a char, but you file contains a string. (by ngopza)
Show Float Imprecision
 
I am supposed to write code that will show that if you square root a number and get an irrational re...
[6 replies] Last: Try adding this - it worked for me. #include <iomanip> std::cou... (by TheIdeasMan)
BINGO
 
Here It is for Bingo game. Here i am going to get 9 number ie 1-9. if he/she enter 1 then it check w...
[5 replies] Last: i have download code::blocks and in that it is running... Thank u ... (by vtgowtham1993)
by Cal
Dmd changed by keypad
 
I'm only very new at this and was hoping someone on this forum could help me with this, I am aiming...
[2 replies] Last: Hey Giblit Thanks for that I'll redo that A DMD is a Display and yes... (by Cal)
I am in desperate help. Searched Web, professor doesnt speak english...
 
I'm <attempting> to write a program without the use of arrays that allows the user to say how many p...
[6 replies] Last: > with the first letter removed from everything??? Without seeing you... (by JLBorges)
by ngopza
Stand-alone function
 
Hi. I was given a task to overload the == operator using a stand-alone function and it should not be...
[2 replies] Last: what I dont understand is that when I remve the function I get an erro... (by ngopza)
Keep .exe from closing?
 
when I save my files in their directory theres a debug folder and inside that is application.exe (I ...
[1 reply] : Perhaps the sticky http://www.cplusplus.com/forum/beginner/1988/ is re... (by keskiverto)
outputfile undeclared.
 
I get an error saying output_file undeclared, but if I comment out the if(append == 1) and else ofst...
[2 replies] Last: Code tags, please: if (append) ofstream output_file(fname.c_str(), io... (by keskiverto)
Linux Kernel Error boot.h
 
#ifndef BOOT_H_ #define BOOT_H_ #ifdef __cplusplus #ifdef AUTONOMOUS_LINKING namespace { ...
[no replies]
Linux Kernel Error main_c pt1
 
#include <defs.h> #include <types.h> #include <compat_types.h> #include <boot.h> using name...
[1 reply] : //main.c (cont) static Elf_File * OpenImageFile(SIMPLE_READ_FILE file)... (by LockTim)
Linux Kernel Error pt1.
 
Hi! I did C 17 years ago and just started to play with it again. I have these to program: main.c a...
[no replies]
used without being initialized
 
it says stu_id is used without being initialized. What should I do about it? void print_all_...
[1 reply] : ... (by ne555)
Help with getline.
 
I am writing a program that will serves as a gradebook, it's an programming assignment by the way. E...
[4 replies] Last: I fixed the problem, the program is running now without errors. But th... (by mon bergonia)
?? "No main found...simply generating .o files..."
 
I'm working on this for a class, so some of the pointless complexity of this is based on that. I'm n...
[no replies]
An array, within an array?
 
Say I want to quickly store 3 personality traits of 3 different people into an array quickly, then d...
[3 replies] Last: system("cls"); found in cstdlib , will clear the Windows command ... (by Josue Molina)
complier
 
i cant run program which has cstdlib , algorithm and some of the header file with my compiler. i can...
[5 replies] Last: make sure mingw is set as the active compiler, create new c++ file/pro... (by Aceix)
September 2013 Pages: 1... 4546474849... 64
  Archived months: [aug2013] [oct2013]

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