General C++ Programming - December 2012 (Page 28)

by nada33
my problem in c++
 
Hi every one! i would like you to help me to write this code #include<iostream> using namesp...
[2 replies] Last: that's why it's called a education *an You want to update the sale... (by pogrady)
'std::out_of_range' what(): vector::_M_range_check
 
Does anyone know what the following is supposed to mean? terminate called after throwing an ins...
[1 reply] : After you overstepped the array, std::vector threw the exception std::... (by pogrady)
Base class
 
Why can't I use this class as a Base class when I have a array Vertex array? class Object {...
[2 replies] Last: class Cube:public Object { }; ^that, Says object is invalid base... (by Conny14156)
Question about functions I suppose
 
Okay so I need this to go from a starting screen to a menu and then ask for a call sign and then ass...
[2 replies] Last: I do have a function to show a menu and it assigns a value to the two ... (by RogerWang)
problems using a txt file and Array
 
Hi, so im trying to use array to access data in a txt file. Each value in the row corresponds to a d...
[2 replies] Last: Hi, sorry i havent copied the whole code, only the section i has havin... (by cantdocplusplus)
Encrypting user input text files in c
 
Hi, I am very new to c and i am having some trouble with an assignment. I have to write a program th...
[no replies]
by beeb
getline() not reading all lines in txt file
 
So I made this function to check username and password. I've put two usernames and two password in e...
[no replies]
Homework question- help?
 
Here is the question: Assuming int numbers ;is initialized somehow, write a function counter() that ...
[1 reply] : try this int count = 0; int counter(int numbers , arraysize, integer... (by elfico)
Struct Array problem
 
So can somebody help me with normalizing this code: SYS_ERROR MapProfile(SYS_DI_ADAPTER const * a0...
[6 replies] Last: This looks like the construction of some sort of linked list. If I ha... (by toum)
Programing a payroll calculator with C++
 
Hi, I'm new here but I really need some help. I was wondering if someone could help me with my C++ ...
[3 replies] Last: Kart is right. If you can put some codes together, we can assist u. th... (by elfico)
2 Structs into a function gives me some problems.
 
Hi! I'm creating a list that worked great! But now i would like to add imaginary numbers to my singe...
[3 replies] Last: It gives me Compile errors ... so what are they? (by Disch)
Reading a large text file
 
Hi there, I'm working on my final year project at the moment and for it I need to parse really la...
[2 replies] Last: Thanks Peter87, I'm just curious in case there is a technical limitati... (by masterofpuppets690)
Maps inside of Maps
 
i have a map which has another map inside of it map<string, map<string, int> > SubjectCode; ...
[2 replies] Last: im a little confused on what auto does ? when i try to compile my cod... (by artiomso)
set allocator as it should be
 
That stuff drunk my blood during last week. Take plese a look and say what else is wrong there: ...
[1 reply] : I think it would be a good idea to look at some of the existing alloca... (by Cubbi)
calculator program
 
I'm trying to write a calculator program that takes in two numbers and an operator and solves it. I ...
[5 replies] Last: That is an excellent point. I actually switched them to if statements ... (by palauan73)
by maroun
can't find the problem
 
Hey all, This is the header checker.h #include "player.h" #ifndef CHECKER_H #define CHE...
[2 replies] Last: enum board_type{NON=-2,EMP=-1,BLACK,WHITE }; It's declared global (... (by maroun)
Homework help please!
 
Create a C++ program that generates two random numbers that are between 1 to 20. The program asks t...
[2 replies] Last: You need show us here for your codes. We will take a look it. (by dovip)
Reading input with whitespace
 
Hey there, I need help getting input from the user with whitespace. Basically I'm prompting the user...
[2 replies] Last: Thank you toum, that helps :) (by MrHatchi87)
by beeb
last element of vector duplicates after removing an element and function to check integer crashes
 
So I used the function to remove an element out of an vector and the last element duplicate. I under...
[5 replies] Last: ok. you are right, the fact that i wasn't using the index screwed ever... (by beeb)
by dovip
Struggle...
 
I am using on Dev C++. However, I couldn't figure out it...because I got many error. In function ...
[5 replies] Last: Ah! it worked. Thank you, Peter87. (by dovip)
December 2012 Pages: 1... 2627282930... 43
  Archived months: [nov2012] [jan2013]

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