Beginners - November 2012 (Page 60)

help with arrays
 
Hey I am trying to write a function that does the following: ------------------------------------------------------------------------- int positionOfMax(cons...
[3 replies] Last: Damn thanks alot your method is much more straightforward, though I of... (by closed account Dy0fSL3A)
by ice9
compile error
 
I'm trying to compile a blowfish encryption algorithm but I'm getting an error I don't understand. Is it not supposed to create blowfish. evan@evan-VirtualBo...
[no replies]
10 Quick Test Prep Questions
 
Hey you, So I'm studying for this test and I made a few review questions based on the study guide. Obviously i have my own answers for these but I wanted to ...
[2 replies] Last: icic, so heres the actual study guide: if any of you can help really q... (by ilovelearning)
Working program need help with layout
 
I finally got everything working after the whole day but how can i make it so everything shows up in one line kind of like this layout student 1 --...
[no replies]
what is the advantage of using a static int in class
 
i was in the process of experimenting with it when my compiler stopped working, if i could get the answer i can be satisfied i have learnt enough for todai
[6 replies] Last: thanks guys i really didnt know how to go about understanding the tuto... (by devonrevenge)
by skarla
SDL
 
I need a mate that can make games with me...
[4 replies] Last: i pretty good at the old graphic design, oh well what they are saying ... (by devonrevenge)
I need to use a for loop controlled by the number of line
 
Help with this C++ program? I am supposed to create a program that outputs a table of numbers and a set of calculations performed on them. The user will enter ...
[3 replies] Last: ups, thought you need to read n and point and then print: point point^... (by Darkmaster)
Learning C++ Where do I start?
 
I have been programming in Java for the past 2 years now. (not professionally I'm only 15) I would eventually like to be a game developer. (I realize that this ...
[1 reply] : http://www.cplusplus.com/forum/beginner/80385/ (by Pebble)
static data members pointer to the same class
 
Hi guys I'm having a bit of trouble with the following code. What I'm trying to do is initialize static pointer of a class in the same class. class SLL {...
[3 replies] Last: You declare FIRST twice, but never define LAST ... (by ModShop)
Need help with sorting?
 
I have no clue how to even start. Can you tell me what I need to do? Like give me a list of things to do in order.... Note, I'm not asking you do write the c...
[7 replies] Last: Well, asking user how many words they wish to enter is all I know. ... (by Moschops)
Problem with de-allocating memory
 
Hi guys, I'm totally new to C++ and trying to program something using the Marmalade API (www.madewithmarmalade.com. The problem I'm facing is de-allocating the...
[13 replies] Last: I noticed this comment on one of the pages: " Try to move the vector o... (by Chervil)
Getting error when compiling code
 
I'm getting the following error when I compile my code. Not sure what i need to do, but I think it ties in with an improperly coded control loop. Any thoughts...
[8 replies] Last: Line 65 has a square bracket ']' instead of a curly brace '}'. If you... (by Chervil)
Linking compiling header file
 
I have two cpp files, one with the main code in and one with the definition of a class and its member functions. The class is declared in header file. When I...
[1 reply] : You need to compile cpp files... Cpp files include header files... (by Jikax)
expected unqualified id before {
 
Trying out a project in codeblocks with a class, I have a header file with the declaration in, a cpp file with the definition in and another cpp with the main c...
[8 replies] Last: Ahhh!!! Now in the definition I'm writing them like this: Sales_ite... (by Amnesiac)
creating object by passing a character to function???
 
i am asked to write a function that accepts a character as argument and creates the object on the name of recieved character //class name : CString CString(ch...
[2 replies] Last: In C/C++ all names are declared statically during compilation of the p... (by vlad from moscow)
Need help finding the average of grades.
 
I have 3 students in a row and 5 grades for every student in a column.I needed the class average which i already found but i still need to find the average for ...
[3 replies] Last: what does not work? I do not have a pc nearby.. I am using a tablet.. (by Jikax)
by skarla
SDL help
 
http://pastebin.com/MracqFmL Here is my source. I want to make the player to jump and after to fell down. But until now i have put this: if(up==true ...
[no replies]
by Ch1156
How to do networking stuff with c++
 
I think i posted something like this before but i cant find it in my topics thing, i think i delted it. but anyways I wanted to make a chat program that two peo...
[4 replies] Last: boost.asio comes with chat client/server app in the examples section: ... (by Cubbi)
by dorA26
iofstream
 
I wrote this: char operator (int pos) { int counter = 0; char temp; inFile.get(temp); while (!inFile.eof()) { if (counter > pos) ...
[2 replies] Last: It didn't work for me, for some reason. I got it to work anyway though... (by dorA26)
I need some help with visiblity (OOP)
 
Hello, I already have a good experience with Java and recently I decided to learn C++. I wanna start with OOP in C++ so I'm doing the same thing I did with Java...
[2 replies] Last: I had declared it (the getAccountNumber method in my .H file) but I re... (by Debugger251)
November 2012 Pages: 1... 5859606162... 75
  Archived months: [oct2012] [dec2012]

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