Beginners - May 2015 (Page 8)

Help with coding
 
The idea of this program is to allow a small company to enter an employee's ID number, hours worked and rate of pay to determine their net pay after having a fe...
[7 replies] Last: The first problem I'm noticing is that the max numbers I can enter is ... (by imdjluis)
Tabular Format
 
Can someone help me to understand what I have done wrong? I am getting input from the user on Last Name, First Name and GPA. When my data outputs, my data ali...
[1 reply] : This is not an easy task, to get it perfect you need to count the long... (by BlatantlyX)
Not declared in scope error messages
 
Thank you in advance for any assistance. I am working on a final project and I'm writing a program which converts fahrenheit to celsius. I am getting 3 "not dec...
[7 replies] Last: Glad I could help :) Happy Memorial Day ! (by newbiee999)
by Bwoods
Printing out Array Of Class[StillNEEDANSwER]
 
Why isn't my array of class cout<<ary .getname()<<endl; printing out correctly in c++? What I would like to do is take information from a student file contain...
[3 replies] Last: You are missing a lot of pre-processor directives. Remember to do #in... (by icemewtwo64)
Using struct to get files quesiton.
 
So I am writing a code to process a .dat file that contains numbers for a bank account number and the money being deposited each time. It looks like when I run ...
[3 replies] Last: It reads all values from the file fine -- I showed you the o/p when I ... (by andywestken)
Include Problems
 
I am having a problem with my file includes, I get this error, and I don't see why because it is in the project: Error 1 error C1083: Cannot open include file:...
[3 replies] Last: Oh yeah thanks man, its fixed (by FighterCoder)
by ptitz
Where to look up library names?
 
Sometimes when using external libraries I have to specify the library name to compiler, like -lpython2.7, -lmgl, etcetera... These names are almost always crypt...
[3 replies] Last: Yeah, only libplot-dev actually requires argument "-lplotter", which i... (by ptitz)
LINK errors when compiling
 
I am getting these errors when trying to compile my prodject, I do not think there is anything wrong with my code. Please help Error 1 error LNK2005: "void __c...
[8 replies] Last: Yes I did, cheers (by FighterCoder)
Help in solving program
 
Hi Who can give me the source code? "Write a program that adds two 3 × 3 matrix using the function do?"
[4 replies] Last: That's a reason to do it yourself (by Gamer2015)
Help in solving program
 
Can you give me the source code? "Write a program that n number of entries received, and then the first pair of consecutive numbers that difference, and the ...
[5 replies] Last: But I'm only 12 years old and I am in training. training is doing st... (by Gamer2015)
How to set up OpenGL
 
Hi, I got the OpenGL superbible, but I can't get the first code they give to run. Here it is: // Include the "sb6.h" header file #include "sb6.h" // Derive...
[4 replies] Last: bump (by Geranimo)
Help in solving program
 
Hi Who can give me the source code? "Write a program that two 10-element array of input and then co-prime numbers printed in two separate arrays?"
[4 replies] Last: Write a program that two 10-element array of input and then co-prime... (by Codermik)
Need help with weird error
 
I keep getting this error with my Bank system code. Help me the error is expected class-name before '{' token main #include <iostream> #include <iomanip> ...
[3 replies] Last: alrededor is correct. Because your declaration for the BankAccount ... (by AbstractionAnon)
Pointer array not outputting values correctly
 
I have a function that creates and array and fills it with random numbers and return a pointer to that array. Now in my main function, i want to access those va...
[5 replies] Last: The warnings that BlantantlyX pointed out are significant. Line ... (by AbstractionAnon)
A Simple Calculation Gone Wrong
 
While I was trying to practice C++, I got an interesting result from a simple calculation. I'm trying to calculate the decrease of how many carrots have been ea...
[6 replies] Last: Oh, right! Thank you. (by omnibox)
Fstream not opening file
 
When I try to open a file, it says it opened when it didn't. Please check the code to see if its my codes problem. #include <iostream> #include <cmath> ...
[7 replies] Last: You usually don't have to do that if the file is in the same directory... (by shadowmouse)
getline problem
 
Hello! The first time the while loop is ran, there are no problems. However, the second time the loop is ran, after having pressed "y", it skips the user's abil...
[10 replies] Last: it's okey, I though you had something else ruining your mood (by Gamer2015)
by koopey
template beginner with vector
 
want to make a function to add all value in a vector regardless of type.just not able to find the mistake in this following code. any help would be appreciated!...
[5 replies] Last: @peter87 it did work. thanks. @shadowmouse it's not very different fro... (by koopey)
Operators and void pointers
 
Hi! I've a question. Is new() an operator or a function or both? I was reading and I came across this line void * operator new(std::size_t); And ...
[2 replies] Last: But "new()" has the '()' postfix? Isn't it a function? Or is it opera... (by Drakonaut)
Graphics on C++
 
Where can I learn systematically how to program graphics on C++ with visual studio? I am not sure I know what I am talking about, but the idea is to create stru...
[3 replies] Last: I use wxwidgets at work myself- industrial programming is more flexibl... (by ultifinitus)
May 2015 Pages: 1... 678910... 40
  Archived months: [apr2015] [jun2015]

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