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

User Changing Char Values in a 2D Array
 
I really would only like help on my last function in this program, I can handle the rest on my own, ...
[3 replies] Last: Thank you very much, but yes I know that I have yet to use my function... (by juiceyjuicekid)
compartor function in sort
 
Can someone please help me with the sort comparator function? I am getting below error: In file i...
[6 replies] Last: Read: http://www.cplusplus.com/reference/map/map/ (by keskiverto)
I need help for this!
 
how to create for example enter your name: Charlie and when press enter in the program see: C Ch ...
[1 reply] : Why not start doing your code? If you get stuck in some section, feel ... (by closed account iGLbpfjN)
detect if user input is a number or no
 
Hey everyone, I was recently making a project that requires user input some numbers, however if you ...
[13 replies] Last: your example is too complicated, and it is too long. Why do you think ... (by closed account oNA4216C)
by Tarbal
TNT library cannot multiply matrix times vector. Please Help
 
I figured out a workaround
[no replies]
by Faz777
vector
 
Then, I delete the pointer to get the second element in the line where I put it in the pointer. My ...
[2 replies] Last: Thank you for your very good input. Apparently, you have an advanced ... (by Faz777)
HELP with Structs and arrays
 
I am new to structs and I am a bit confused. what I am trying to do is pass values from a txt file i...
[17 replies] Last: The txt looks something like this 02 3 2004 Paul 4 1 22 I'm guessing... (by Chervil)
how to use this C / C++ source?
 
I use a bruteforcer (ncrack + visual c++) and someone told me to use this code to open more threads,...
[no replies]
by Faz777
Separating values
 
Hello all, I input data from a file into an array of strings, where each string represents a compl...
[4 replies] Last: Great!! Thank you so much. (by Faz777)
check for duplicates in array
 
Hi. I'm trying to check for duplicates and prevent them from being added in my array. I wrote a loop...
[6 replies] Last: #include <iostream> #include <cstring> using namespace std; void ch... (by closed account 48T7M4Gy)
Median, mode, range, average calculator
 
I made this program that makes you enter some numbers and then puts the mumbers in order. It also ca...
[3 replies] Last: Either the header #include <cctype> or the header #include <clocale>. (by SakurasouBusters)
Formatting output a certain way
 
My question is, how do I get my output to display like the photo below? If you run my code, you'l...
[15 replies] Last: If you are required to have 8 columns per line then what you see is wh... (by closed account 48T7M4Gy)
Time value manipulation with time_t and date_t
 
I am receiving a date structure in "24-9-2016 13:30" format. Now I want to convert time value to spe...
[no replies]
DataSet / Datatables in C++
 
Hello People, I need to Parse XML file and put the parsed data into datatables but I am new to C++ a...
[no replies]
cropping pgm file with 2d vector
 
I attempted to write a function that crops a pgm file which is stored in a 2d vector that is passed ...
[no replies]
Can't get output to display 8 numbers per line
 
I've literally been trying to figure this out all night, but I can't seem to get my output to displa...
[12 replies] Last: @Duoas Thank you, I really appreciate it. All I was wanting was a br... (by LullaBelle)
template class: how can initializate a typename?
 
see these code: template <typename T> class property { public: T PropertyValue; std::...
[no replies]
Input errors
 
My program is having a hard time reading an input. Whenever I run the program, the output file becom...
[6 replies] Last: Using the getline conversion worked. Thank you (by garretmorion)
Having trouble using/implementing one of my functions properly
 
Figured it out.
[no replies]
by cmisip
Reading serial port when data available, not getting data
 
Is there something conceptually wrong with this piece of code. I seem to be able to parse the start...
[5 replies] Last: Here are the images: https://postimg.org/image/7j9f25as1/ https://po... (by cmisip)
September 2016 Pages: 1... 34567... 19
  Archived months: [aug2016] [oct2016]

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