General C++ Programming - October 2013 (Page 38)

Help with a simple counter project
 
Hello guys, I must admit that I have no idea how to complete this task at hand. I am stuck taking th...
[1 reply] : here is a hint http://www.cplusplus.com/forum/beginner/112852/ (by Chriscpp)
by LB
Strange error with using type aliases, compiles fine in clang but not MinGW
 
I have code that compiles just fine in clang++ 3.3, but when I use nuwen MinGW 4.8.1 to compile this...
[5 replies] Last: Yeah. Thanks LB. (by JLBorges)
by GCODE
Populating an Array (1,2)
 
I am writing code for a program that will take user input selection of columns and determine an arra...
[21 replies] Last: Download boost from here: http://www.boost.org/users/download/#live D... (by JLBorges)
vector of class
 
Hi, I am making a simple program that is suppose to make a list of champions and their items from th...
[3 replies] Last: Ok, now I don't know how to input from a file into this vector I made.... (by crimsonzero2)
Please help for this problem////
 
Hi The question asks that The one-dimensional array A of integers is given. Increase by 2 each its ...
[3 replies] Last: Please do not double post. It clutters forum and is considered inappro... (by MiiNiPaa)
Trouble calling overloaded virtual method
 
Im trying to create a map container with the key being an ID number and the value being a pointer to...
[3 replies] Last: Don't forget to delete whatever you new ;) (by LB)
A more efficient way to monitor a file?
 
I have a program that is now working. it reads from a log file and acts according to what was read....
[3 replies] Last: A more effecient method would be to ask the OS for file system changes... (by closed account S6k9GNh0)
Help displaying inverted pyramid
 
The user will enter the number of '*'s on the 1st row (ntop) and then the number of rows forming th...
[3 replies] Last: #include<iostream> using namespace std; int main() { int ntop=0,... (by Chriscpp)
VGA Sequencer Memory Mode register bit 2?
 
When I look at the freeVGA info on the register (Sequencer register index 04h), it says: O/E Dis. ...
[no replies]
VGA CPU write address (plane&offset) combined with VGA write plane mask?
 
Anyone knows how to get this done? When CPU writes happen, the function below gets passed a plane n...
[1 reply] : Part 2: Host address to display address/plane code: void VRAM_writecp... (by superfury)
need help with arithmetic sequence code
 
This code is suppose to display arithmetic sequence after it has to add all the numbers together wit...
[3 replies] Last: Most welcome, please do let us know if you have any further questions.... (by closed account o3hC5Di1)
Why Type casting???
 
Hi everybody, I am new to C++ and I have serious doubts over typecasting.... Why do we typecast ...
[3 replies] Last: I think the reason he asked not to show that kind of example was becau... (by LB)
Images don't display
 
My code is: #include <iostream> #include <string> #include <cstdlib> #include <windows.h>...
[5 replies] Last: Thanks for catching that. Updated code: #include <iostream> #incl... (by closed account NUj6URfi)
by kyaaaa
heeeeelp!!!
 
im a beginner in C++ and i need my questions in the program to be randomized and i dont know what im...
[9 replies] Last: soooooooooooooooooory about that .. my bad ^_^ well thanks for the pe... (by kyaaaa)
by tegi00
Quick question about using arrays in data structures
 
Hi guys, I've got a quick question about this block of code in my textbook. If someone could clarif...
[3 replies] Last: i si the index to dimension 1. j si the index to dimension 2. i * j is... (by kbw)
by delio
How to read picture in HDC
 
#include "stdafx.h" #include "iostream" #include "conio.h" #include "windows.h" using namespace ...
[6 replies] Last: Thanks :) (by delio)
Creating a user defined function to count number of vowels
 
The output I'm getting here just counts every letter in the sentence and counts them as vowels. I'm ...
[4 replies] Last: Also, going by line 26, I take it just want to use single chars?? ... (by ajh32)
by kyaaaa
C++ // GUESS A WORD MODIFICATION PROBLEM
 
can anyone please help me modify my game "guess a word game" i need a question # 2 and 3.. can anyo...
[no replies]
by Daleth
Passing Lambdas as a Template Parameter
 
I've been playing around with this piece of code: #include <iostream> #include <string> #include <a...
[4 replies] Last: Oh, I did not realize it was an abuse of templates. I am not an auth... (by Catfish4)
Check the Leap Year Program In C++
 
Check the Leap Year Program In C++: #include <iostream> using namespace std; int main() { in...
[2 replies] Last: thanks agt... (by james005)
October 2013 Pages: 1... 3637383940... 46
  Archived months: [sep2013] [nov2013]

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