General C++ Programming (Page 36)

Vector out of range exception
 
I'm trying to do some operator overloading, the function is supposed to add the values at index of...
[5 replies] Last: I fixed it, I just wasn't taking everything in to account! As mentione... (by DomBavetta)
Please help me with my C++
 
Hello everyone, My name is Alana and I am taking C++ for summer. This is my first year of program...
[5 replies] Last: Well, if this was due at 11:59pm then you probably shouldn't have wait... (by jheard901)
Using DirectShow to Control Flow of a Program
 
I am having trouble understanding what I need to do to halt the flow of a program until a video file...
[1 reply] : Solved this through adding a boolean var to check if the video has fin... (by jheard901)
by Dione
Path Problem
 
hi guys, i am a beginner in c++, so I faced my first problem relatively fast. I want to access a .w...
[8 replies] Last: I applied your suggestion to my code and ..... it perfectly works now ... (by Dione)
Please Please Please Please Help!
 
I have to create a program that will take a data file named current.txt as an input and the produced...
[11 replies] Last: Might just be an honest misunderstanding from a newbie too. There's r... (by cnoeval)
Console app crashing after calling function
 
Im new to debugging but it says the problem is on line 97 which is the verb menu function being ca...
[3 replies] Last: Thank you both of you ,but that was the problem the for ( int i = 0; i... (by natepup21)
Solving a question from codechef..runtime error :/
 
All bandits are afraid of Sheriff. Sheriff constantly fights crime, but when bandits lay low, he get...
[5 replies] Last: http://www.cplusplus.com/forum/general/112111/ cin>>s; b.makecopy(s+... (by ne555)
by manojg
what is wrong with this template?
 
Hi, I have defined a test class "Pair" with a template but I am getting compilation error. Witho...
[4 replies] Last: I found somewhere http://www.parashift.com/c++-faq-lite/templates.htm... (by MikeyBoy)
Outputting a string depending on the color detected in a frame a video feed
 
Hi, so what I'm trying to do is output a certain string depending on the color I see in the video fe...
[1 reply] : This error seems pretty explicit on why it isn't working. "cannot con... (by Yay295)
Allegro CPP ~ "Pong".
 
Hi, would like to know where I went wrong in this code... Basically the program "minimizes" but dos...
[2 replies] Last: Can you describe your error in more depth? And narrow your code down t... (by ResidentBiscuit)
multiple transaction/stub functions.
 
I am so entirely confused. I have a really messy/basic outline but I'm not sure where to go from her...
[1 reply] : Please do not cross-post the same problem: http://www.cplusplus.com/f... (by AbstractionAnon)
by TveryO
Basic Inheritance Class 1 ERROR Code Frustrating !
 
Whats up guys , I have to design a a motorbike class today using inheritance from a vehicle class t...
[10 replies] Last: You created an askWheels function prototype. This code goes in your i... (by AbstractionAnon)
by BasV
unexpected static_cast behavior
 
Hi everyone, When a dynamic_cast<A*>(b) returns NULL, doesn't that mean a static_cast<A*>(b) shou...
[1 reply] : static_cast never throw exceptions. The only safety static_cast has is... (by Peter87)
Add custom MENUITEM to a POPUP?
 
Hi I have a POPUP MAIN_MENU MENU { POPUP "&Manager" { MENUITEM "New R...
[8 replies] Last: I wrote example for you: resource.h #define IDR_MAINMENU 100 #define... (by tath)
Call back for calendar? WINAPI
 
I have made a calendar using a resource file and using the winapi CALENDAR_DLG DIALOG 0, 0, 186,...
[5 replies] Last: Take a look at this: http://msdn.microsoft.com/en-us/library/aa922124... (by coder777)
by ak 47
Saving packets of data to a vector ?
 
I am receiving packets of data from an ethernet cable. This is the line of code that is streaming in...
[1 reply] : std::vector<std::vector<samp_type> > vector_vector; vector_vector.pu... (by helios)
How to make this into an array 1-50
 
#include <iostream> #include <vector> #include <iterator> using namespace std; class Heap { ...
[6 replies] Last: This program seems to be alright, but why I think you don't understand... (by lsk)
by Yay295
Create Object of Unsigned Template
 
template<class T> void function ( T item ) { unsigned T willThisWork; // <-- } Visual Stu...
[3 replies] Last: Yes, that is what I wanted. Thank you. (by Yay295)
Converting Input to Uppercase?
 
I'm trying to create a sort of text-adventure game, but rather than having to check for the input be...
[4 replies] Last: toupper will return the uppercase equivalent of its argument. tolower ... (by filthyparselmouth)
hi there everyone~~ please check my error :)
 
hi there everyone. i'm learning how to use functions and i'm not sure what my mistake is #inclu...
[5 replies] Last: if I understood what this function does then the function protoype is ... (by JewelCpp)
Pages: 1... 3435363738... 50
  Archived months: [jun2014]

Cannot post in this page. To post a new message, go to the first page.