Beginners - December 2017 (Page 14)

by C O C
Sorting
 
Hello, I am having troubles using sort inside a void function. I am required to use void sortByAutho...
[2 replies] Last: I have not used std::sort before. I am looking at the Sorting User Mad... (by C O C)
by rmeade
Can't get my user input to print.
 
For some reason it runs just fine until I get to the print function where it prints the everything b...
[2 replies] Last: Thank you my man I can't believe I made such a simple error and couldn... (by rmeade)
Issues with templates
 
I have an assignment which is pretty basic in theory; I just have to receive some information for a ...
[2 replies] Last: That fixed most of the errors, thanks! I was able to fix the rest and... (by mairodia)
Garbage output
 
for some reason, count1 and count2 give me random numbers rather than the correct numbers. What am I...
[1 reply] : you have a loop inside a loop and it's not counting correctly. So it's... (by SamuelAdams)
Dividing Numbers Question
 
Why does int hours divide into 2050 but int output divides into 1825? They're essentially the same ...
[2 replies] Last: Oh oops... Thanks! (by Djmax444)
Best way to code Round Robin algorithm?
 
I have to make a code for round robin scheduling algorithm but I'm not sure really on how to start. ...
[no replies]
No errors - No results either
 
EDIT: SOLVED!! Disregard this post guys. I made a simple mistake. I will leave the post and add my s...
[1 reply] : By putting void in front of the call inside of main, I was telling it... (by cire)
C++ Structure Array Flight terminal program (1,2)
 
Hello All, I am a student new to C++ and I am being asked to write a lab displaying airline f...
[20 replies] Last: Hello Collegestudent01, If I understand the instructions correctly I ... (by Handy Andy)
loading a dll
 
hi guys I'm trying to load a dll into my C program I got on the web, but it I seem to be getting ...
[6 replies] Last: thanks JL I think I will do that =) (by adam2016)
What does cin.get(ch), cin.ignore(20, ' '), and getline(cin,name) mean in this program?
 
Write your question here. #include <iostream> using namespace std; int main() {char ch...
[1 reply] : Hello iamyiyaj, This may not be a perfect explanation, but here goes.... (by Handy Andy)
What is meant by namespaces in a C library?
 
Hi! I searched for an answer about the difference between C and h http://www.cplusplus.com/refere...
[1 reply] : Hello stonedviper, This may help. http://www.cplusplus.com/doc/tutor... (by Handy Andy)
lower key being pressed?
 
Hi guys I noticed when I type a on the console it keeps on printing an upper case 'A',this will be p...
[2 replies] Last: Ok found a way to check if caps lock is on #include <iostream> #in... (by adam2016)
by BJK
Bool array control
 
Hi guys, I need write a function to check element via bool. I have a random number array function...
[9 replies] Last: Yes you are right @nick2361 . I need random and sorted array in output... (by BJK)
C++ homework - wrong result
 
We've got a string of n numbers. Each number should be replaced with its closest integer and the str...
[6 replies] Last: @nick2361, I see your point now. The "i" I was thinking of was int he... (by Handy Andy)
trouble with a project
 
Write your question here. I want for any user to put in only 9 digits and if its less than nine dig...
[6 replies] Last: @chervil, if we want to use the applied number in main(), yes we will ... (by nick2361)
Noise Reduction and Edge Definition?
 
Hello, all! I've dealt with these types of imaging terms before, yet I have no clue with how to i...
[2 replies] Last: Well, here's a possible outline for one of those functions. You can ta... (by lastchance)
VS-15 does not compile C ++ projects, what should I do?
 
documents \ visual studio 2015 \ Projects \ sssssssss \ Debug \ sssssssss.exe "is not recognized as ...
[9 replies] Last: 64 bit OS ,X64 Thanks for the tips, I tried everything and there is n... (by hamidie)
by bk1303
Having trouble designing a box
 
I am supposed to create a box based on user input. For example: Enter the number of rows (max 99): ...
[4 replies] Last: I am also having a hard time with this same problem and cannot figure ... (by Lakeside)
l
 
lll
[5 replies] Last: but the assignment I have Asking about assignments is explicitely fo... (by Enoizat)
by chuvak
Helper functions and data member access
 
Hi forum, I want to override the << operator (Edit: override the '*' operator), and if I add, fri...
[3 replies] Last: const SuperHero& operator*(const SuperHero& first, const SuperHero& ... (by Enoizat)
December 2017 Pages: 1... 1213141516... 23
  Archived months: [nov2017] [jan2018]

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