Beginners - May 2013 (Page 28)

by giblit
Problem trying to use 2 header files
 
I am trying to test out cuchar and codecvt headers from the c-library and other library at http://www.cplusplus.com/reference/cuchar/ but then it says that they...
[6 replies] Last: Oh alright cool thanks and I didn't even know code blocks had a forum ... (by giblit)
by ane
cannot convert 'std::vector<int>' to 'int' in initialization
 
I am try assign: int temp= vsVol ; being: std::vector <std::vector <int> > vsVol (NUMHOST, std::vector<int>(NUMHOST)); and ocurrs the follow...
[3 replies] Last: Try to get int (by giblit)
I finally made it! What do you think?
 
Finally created my Connect 4 game! What do you guys think? Do I use too many if statements in my winCondition? #include <iostream> #include <cstdlib> #inc...
[7 replies] Last: I thought you use int main( int argc , char **argv ) instead of *arg... (by giblit)
Function problem
 
Hi there, having a bit of trouble with my assignment. I am stuck at the point in the instructions where it says 'We need to verify that our insertAtFront() func...
[1 reply] : [quote=flyingEagle]I tried all three getter functions from my LinkedLi... (by LB)
Window
 
I am a rank beginner (although I used to be proficient in BASIC). After spending a few hours with a compiler, I have one essential question. I understand that w...
[1 reply] : All "native" programs run in the console by default, the language they... (by LB)
Tuner Card dll
 
I am very new to C++. I have experience in vb but very little C++. I have an application developed by another that connects to a tuner card and allows the capt...
[no replies]
stack around the variable was corrupted
 
What I'm trying to do is the validation needed by prompting a message if the user entered a name which is more than the required array size. I did it but I dun ...
[16 replies] Last: Another header might be including for you, but this is not guaranteed ... (by LB)
by krutuk
Problem with stl list
 
I made a little program to parse string, but my compiler gives me a mistake. And I don't know what have I done wrong. Please help! #include <iostream> #inc...
[4 replies] Last: When an object of your class is being created then constructors of its... (by vlad from moscow)
The Frustration is in the Compiling
 
Hi all. So I'm fairly new to C++, and programming in general. As far as languages go, I'm familiar with TBASIC and programming calculators, but that's about it....
[10 replies] Last: I DID IT! YES! Thank you so much for your help. I installed the MinGW ... (by Eddie Risto)
im new in swapping
 
can someone help me? how can i swap array's element how can i swap array =( 2,3,1,4). how can i swap it to make this array (1,2,3,4)
[3 replies] Last: It looks like that you are required to write a sort function in which ... (by vlad from moscow)
Image won't show up
 
Hi guys! I'm trying to make a game on c++ and I'm starting on setting an image but that image just won't show and the screen just flashes for a second and goes ...
[3 replies] Last: Strange if SDL_Delay( 2000 ); does not make the window show for at l... (by Peter87)
by kabuki
Numbers to Text Help
 
I'm trying to write a code that will translate numbers to texts. I've got the idea of how to do it, but I'm not sure why my code isn't working. char *One...
[2 replies] Last: char *netHunString ; It's just a simple array and thanks. I fixed th... (by kabuki)
Help My hangman array issue!
 
why are my guesses after the first not input into my letterarray ? the problem seems to be in the printwordspaces and numberparts functions but I am unsure. I...
[1 reply] : You ask for a letter in three different functions. In one of them you... (by keskiverto)
send output through a refernce parameter
 
i wrote this program that finds the smallest of three int numbers but im confused on what the second part of the question is asking, basically i have to mo...
[3 replies] Last: well i think it was just to test if we knew how to, i was just confuse... (by ninthred)
Is this the right way to use getline()?
 
I posted this before but I've done a lot of changes so I hope this is right even though it isn't done. My code compiles, but when I run it, it won't let me ente...
[2 replies] Last: So would I use cin.ignore();? And would I use it on the line before ge... (by idealcat)
by symbit
help with additional cpp/header files
 
I'd like to implement a function from SolsticeClass.ccp into main.cpp by first prototyping it in SolsticeClass.h inside the class, and then creating an object. ...
[3 replies] Last: Awesome, thanks guys :) Didn't know the return type needed to be befor... (by symbit)
Trying to use MacOSX C++ compiler in Eclipse
 
We have just installed Eclipse on a Macintosh running MacOS X Lion and we then installed both the GNU g++ and gcc compilers for compiling C++ and C, respectivel...
[1 reply] : Looks like either: a) Standard headers had been not installed b) Incor... (by MiiNiPaa)
Airplane Program
 
Hello All, I am new to the programming languages and have a program I cannot get to compile. I am creating a airplane seat reservation program. My plan was as ...
[3 replies] Last: Also he is declaring a function in the main a few times anwhen you cal... (by giblit)
LNK2019 Unresolved External Symbol Error
 
I am writing a simple program that contains a rectangle class with get/set methods and a main program that allows the user to change the dimensions of the recta...
[1 reply] : You forgot to put the full name of your method definitions, e.g. int ... (by Daleth)
Fstream not creating file
 
Hi, I am writing code to read a specific line in a file. Here is my code: #include <iostream> #include<fstream> using namespace std; int main() {...
[6 replies] Last: Thank you Chervil! Helped me again :D! (by SourceCoded)
May 2013 Pages: 1... 2627282930... 66
  Archived months: [apr2013] [jun2013]

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