Beginners - May 2015 (Page 6)

convert program to implement file handling
 
please help can't post code here There were errors while processing your submission. Please correct them and submit again. error Field "Content" too lo...
[no replies]
Need a mini project on file handling
 
Hi i am working on a project on hospital management and want a simple mini project which is able to add,delete,search,view and modify a certain record,i want to...
[no replies]
Good c++ books for a non-programmer? [on hold]
 
I need a book that teaches c++ programming for someone who has never programmed before(a friend of mine). I'm aware that choosing c++ as a first language is dif...
[9 replies] Last: Stroustrup's code examples are very poor . He names the variables like... (by MRQ1)
Wrong output using int for finding simple interest
 
I made a simple program to find out simple interest. But when I use int(integer) for variable deceleration it shows wrong output. Whereas using double and float...
[5 replies] Last: Alright, thanks helping. :) (by XProtocol)
clear and ignore
 
Hello. I've a problem here. I'm not sure why it doesn't work (I know it's pretty basic). #include <iostream> int main() { int x; std::cout <...
[2 replies] Last: Thanks! Had been facing this problem all the time. Thought the problem... (by Drakonaut)
Linkage, files and header
 
Hi guys. I'm wondering how does the complier link files together? Is it linked once you run all files in 1 single program or do I need to specify somewhere? An...
[5 replies] Last: Originally, I don't get the part why the example could simply include ... (by Drakonaut)
File read, select, average. (1,2)
 
Hi, my name is Jacob and I am in beginning CMPSCI. I have one last program and I just can't figure it out. I've had a little help from tutors but I didn't have ...
[21 replies] Last: Lookin good. I actually almost had all of this before you posted it. T... (by Lightflame42)
Returning grades from the function
 
hello I am having a problem with my program I am practicing on trying to return how many A, B, C, D, and F there were but forgot how to bring back more then one...
[2 replies] Last: ah gotcha thanks :D #include <iostream> using namespace std; void i... (by Raakfal)
Payroll with pointer sort
 
I need help on a homework assignment. I'm trying to sort netpays in this program. I believe I've written the sort properly. It compiles fine except for one e...
[1 reply] : fatal error LNK1120: 1 unresolved externals That is a linker error. ... (by keskiverto)
Increment to arrays
 
I couldn't discover the logic of the program that how it increment array and print out value.Is there any one who can explain it for me? #include <iostream>...
[1 reply] : I couldn't discover the logic of the program that how it increment ar... (by cire)
error
 
I have errors in about the head error: ‘head’ undeclared (first use in this function) error: (Each undeclared identifier is reported only once error: for...
[1 reply] : Line 82, where did you define count ? It has to be before you call it.... (by SamuelAdams)
reading from file sorting and writing to a file
 
The program is to read a students id number class status and credits. sort out only the undergraduates and assign a class status ie. freshman, sophomore, junior...
[3 replies] Last: Do you need that loop there? Do you need to do what is in the loop mul... (by BlatantlyX)
by Jjabes
Need help!! File operations!
 
Im breaking my head here trying to understand what im supposed to do here... Is what i've done correct? Here are the instructions: https://scontent.xx.fbcdn...
[no replies]
am i using the char variable correctly ?
 
hello everyone, im very new to CPP. i have been trying to make a simple I/O code that asks basic questions. this will not run . i get error messages when ru...
[1 reply] : Here is the correct code. #include <iostream> #include <cstdlib> ... (by Atyab)
some LINK problem
 
I don't understand why I get an error message here. Any help appreciated.I use Horstmann's ccc_win.h header. #include "ccc_win.h" using namespace std...
[2 replies] Last: It worked! i was using the other set of files that were from the autho... (by LayMuon)
Within-function static variables
 
May I know what is the use for such variable, as stated in the code below? ... void pencilcase () { static int x = 10; int y = 20; } ... ...
[3 replies] Last: Thanks! (by Bendistocratic)
Zero at the beginning of int
 
I wonder when I saw errors like invalid digit in octal constant 9 and 8.Also it print wrong value for the value of "mobno"(in structure) if zero is the first di...
[3 replies] Last: Thankyou very much @andywestken. (by sohailahmedepe)
by harui
movie ticket with so many requirement
 
so I'm just a beginner and my teacher gave me complicated final project. I really need help as I have to submit it next week. please help. 1. display greeting...
[no replies]
Reverse c-string problem.
 
--Description of the problem-- Write a C++ program that will read up to 10 letters from the user and write the letters out in the reverse order. Use a period (...
[2 replies] Last: So this one get's accepted when I get a word with 10 or fewer char. Bu... (by iceXXXice)
Visual Studio 2013 Build Failing
 
I'm making a simple output into the console and it won't open, and then a window pops up. It says '"C:\Users\Aiden\Documents\Visual Studio 2013\Projects\Console...
[3 replies] Last: IT WORKS!! THANK YOU SO MUCH! (by NachoBro)
May 2015 Pages: 1... 45678... 40
  Archived months: [apr2015] [jun2015]

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