General C++ Programming - September 2016 (Page 4)

Please Help
 
I need to get the x and y center Point for this project, however, I cannot seem to understand how to...
[1 reply] : Since Point does already contain x/y you don't need it twice: ... (by coder777)
I don't understand
 
Hello all. So I'm working on an assignment and I'm having trouble as to why my code doesn't seem to...
[1 reply] : Holy crap! Sorry, I figured it out.... if ((studentAnswers != 'A')... (by DannyD303)
by nile12
Help with incorrect output when Adding and Subtracting Time
 
The program currently adds and subtracts time correctly by not allowing the time to go into a negati...
[2 replies] Last: People are significantly more likely to help when you put your code in... (by Duthomhas)
by agulbs
Random spaces and "-" being inserted in wrong spots
 
My assignment for class is to create a program that reads a user's file and formats it to 60characte...
[2 replies] Last: Thank you!! so i changed the for loop to this: for(int i =0; z ; i+... (by agulbs)
Which library should i use for my program?
 
Hello, My program will basically get prices from around 20-30 webpages on the internet of a pr...
[1 reply] : from around 20-30 webpages,,, I want it to be done in as few lines as... (by mbozzi)
method-address longer then long long long
 
Hello there, I tried to print out addresses of class methods. But i have noted that they are greater...
[3 replies] Last: The problem is that pointer-to-member functions on some implementation... (by mbozzi)
How do I get rid of the spaces in my code output?
 
The code is written correctly and works but its putting spaces where spaces shouldn't go. Error r...
[1 reply] : Hi, You have given a space before the first letter of your output p... (by shadder)
by denxr
Want to get file.txt from server
 
Hello :) I'm gonna write a ATM simulator, but i want to store usernames, card numbers, adresses on s...
[1 reply] : https://www.tutorialspoint.com/cplusplus/cpp_files_streams.htm (I) htt... (by closed account iGLbpfjN)
Im not sure where to even start with this assignemnt could someone help me?
 
Write a program quiz generator program to help students study for quizzes and exams. The program mus...
[no replies]
Can someone please tell me what i am doing wrong. It will run but when it does they all say incorrect and 0%.
 
I have to write a program helps your instructor grade quizzes. The program will read a file containi...
[1 reply] : Reading a whole line (needed for student names) from an ifstream and ... (by nuderobmonkey)
Breaking up a struct
 
I need to somehow get the individual x and individual y value from a struct named Point. There are t...
[4 replies] Last: Thank you! (by Univcplus)
Please help with this code
 
input: - First line:number of row and number of column. - Line 2 to n: 2 dimensional array. output: ...
[5 replies] Last: Lets ignore the 1-D array. How do you describe the ordering within the... (by keskiverto)
Is hacking that easy?
 
I've been dealing with computer science fields (including operating systems, programming, software, ...
[4 replies] Last: http://www.cplusplus.com/forum/lounge/198358/ (by helios)
Running an underground UNIX program from c++ code and then terminating it.
 
Hi all, im designing a QT program in C++ that needs to interact with an underlying server software i...
[2 replies] Last: Man, you've been a great help. That is exactly what i was looking for! (by undefinedsymbol)
List<> in C++
 
Hi guys, Consider we have a list as follows: list<char> lch = { 'H', 'e', 'l', 'l', 'o' }; Ho...
[3 replies] Last: Thank you both very much. (by closed account G1vDizwU)
NEED HELP ASAP PLS
 
Hey guys, im a newbie and im having problems with my first assignment in school . my professor wants...
[1 reply] : Well, reading your teacher's instructions we can see that he wants you... (by rabster)
by md1364
HELP with Input/Output file
 
Hello all! I have recently begun practicing programming using c++ for my classes in computer program...
[7 replies] Last: SamuelAdams and Chervil. Thank you for your help. I determined the iss... (by md1364)
by mvgnum
Simpliying function
 
I'm trying to write a function that accepts 2 integers, simplify them and return it as a fraction. ...
[3 replies] Last: @Arslan7041 if (positive ^ negative) I think the OP meant this : ... (by SakurasouBusters)
Compiling with obvious errors
 
So I am coding and obviously I build occasionally to make sure my program runs. I got suspicious sin...
[2 replies] Last: Without an example of what you are doing it is impossible to comment i... (by Duthomhas)
Help with class array output
 
Here's what i got main file #include<iostream> #include "elements.h" using namespace std; ...
[3 replies] Last: How did you used the setprecision() ? (by shadder)
September 2016 Pages: 123456... 19
  Archived months: [aug2016] [oct2016]

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