General C++ Programming - May 2016 (Page 13)

WSAData HELP
 
I am not sure what the WSAData function does and was hoping someonce can explain it or suggest any b...
[2 replies] Last: This is what i meant. I have a small understanding on this code, but i... (by fivestar)
Convert custom String to C-Style string
 
Hi. I have my own GString class, built using a char* called mainString I have these methods to a...
[3 replies] Last: A constructor declared without the function-specifier explicit sp... (by JLBorges)
by Hmo
HELP PLEASE
 
I am supposed to rite a program that convert the time from 24-hour notation to 12-hour notation and ...
[5 replies] Last: After you set the fill, did you set the width (setw) ? (by Moschops)
Sorting code
 
Our teacher wants us to show the "number of passes" or the difference in passes in the Selection, In...
[4 replies] Last: Oh right, forgot about that. Thanks a lot for the help! (by TheGuy21)
by mmyy9
problem with operator<< overloading
 
I am getting errors in my code. Can someone help me because i can't fix it? std::ostream & operat...
[4 replies] Last: Thank you very much, it works well!!! (by mmyy9)
BB
 
what I want to do is add the colour value to the next until the end then average it out at the end ...
[7 replies] Last: No, I can't. Your code is incorrect for several reasons. (by helios)
Hangman Game: Help with finding error
 
Hi. I'm trying to finish my program on hangman but I jsut can't seem to find the last mistake. The o...
[2 replies] Last: Thank you so much. I really appreciat it !!! :) (by jrjamesruan)
by knn
error: no match for call to ‘(Vector) (int&)’
 
Hey, I have a problem with my code and I don't know how I can I fix it, because my skills with refe...
[12 replies] Last: Ah okay... a syntax error. Now I've seen it. I changed intput to input... (by knn)
Ordered removal of a Vector
 
I am trying to remove an element from a vector at a location given from the user. I was successful a...
[5 replies] Last: Thank you so much! I thought I was at least going in the right directi... (by The117Vendetta)
How to know which is greatest number?
 
#include<stdio.h> #include<conio.h> void main() {int i,max=0,imax,b; int a ; clrscr(); for (i=...
[1 reply] : You are already keeping track of the highest value so keeping track of... (by Peter87)
by guru23
Minor sort problem
 
I'm trying to make my program sort this array of numbers from least to greatest but the output is co...
[7 replies] Last: Don't ever try to use a . That's it. That's all there is to it. a - ... (by Moschops)
Data Compression Question
 
I recently learned about Huffman Compression in one of my classes and wrote a program that read a te...
[1 reply] : The data "abc" in binary could actually be a sequence like "01000001 0... (by SIK)
by byOmer
Char array to double ?
 
Where is the "+" and "5" ? it give me only first array. but I want to every array. #include <i...
[1 reply] : This is not how the input works cin takes the character number and p... (by pizzaboy150)
How can I generate openCV debug libraries using cmake-gui?
 
My openCV is missing debug libraries (libraries that end with "d") and so I can not read an image u...
[4 replies] Last: I have set the build target to debug, but it is still not working. (by payman kh)
Reading in words from a file one at a time and ignoring unnecessary characters in it?
 
Hey everyone, I have to read in words from a file one at a time, make them lower-case, then pass th...
[6 replies] Last: Just for fun, a solution that edges into the very useful world of C++ ... (by Moschops)
by pintu8
while loop problem in c++
 
Using while loop write a program that prompts the user for two integers. Print each number in the r...
[6 replies] Last: thaanks a lot Peril (by pintu8)
Large size of Matrix handling(interview question)
 
I just had an interview where I was given a size m x n and asked to create a matrix. Each field in t...
[3 replies] Last: @helios @JLBorges Thanks for the replies guys. I told them at each tim... (by codebusters)
by brsk
How to capture 3 different keys in a OnKeyDown event?
 
Hi, I'm currently working on a proyect at my job, and I'm having trouble trying to capture 3 differe...
[no replies]
Changing class type to a derived class - possible?
 
I was wondering if it was possible to change the class of an object to something derived from it, an...
[3 replies] Last: If you need to cast to a more specific type, you aren't using polymorp... (by Zhuge)
How can I change the build_type in cmake-gui?
 
I am running cmake-gui on windows 8.1 How can I change the build type to debug? there are no option...
[no replies]
May 2016 Pages: 1... 1112131415... 17
  Archived months: [apr2016] [jun2016]

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