Beginners - July 2013 (Page 41)

by CB33zy
Help with indexes and sorting arrays
 
I need help with writing a function called swap that sorts the elements of an array in order from highest to lowest values where they descend and ascend. A part...
[1 reply] : So...Can somebody please show me how to print out the indexes of the ... (by cire)
class works, just wont display data
 
This is my class and it runs and prompts to enter the company and report, but it does not display the data. Also, if the user does not enter a company or report...
[1 reply] : move the command on line 22 to 20 (by closed account Dy7SLyTq)
by xspec
object "monster" says it wasn't declared
 
object "monster" says it wasn't declared here is the code #include <iostream> using namespace std; class enemy{ protected: int attackpower; ...
[5 replies] Last: ok got thank you so much (by xspec)
by xspec
compiler keeps saying class doesnt exist please help
 
its keeps saying thisclass.h is no such file or directory please help this is my main.cpp #include <iostream> #include "thisclass.h" using namespace st...
[6 replies] Last: oh hey the ide could not have added the files to the project (by closed account Dy7SLyTq)
Variable ranges
 
Why are the ranges for variable types different on other systems? Are there any types that are guaranteed to never change regardless of platform maybe like a ch...
[6 replies] Last: @Rechard3 this is for 32bit platform. this means that the compiler t... (by sw143)
Updating Master Files
 
Hello. I am in a C++ class and am working on a problem that is in our book where we need to make pseudocode and then translate it into C++, this chapter is on u...
[9 replies] Last: I fixed the bracket problem and was getting garbage values when the pr... (by hagfish88)
by Nikury
ASM help.
 
I'm trying to compile x64 ASM on code blocks, while using a 32bit machine. Is it possible to achieve this, because I'm constantly getting errors, _asm ...
[5 replies] Last: no problem. i thought that too at first (by closed account Dy7SLyTq)
Project Euler problem 7 -> what is wrong with my code?
 
Hi there, I recently attempted to complete Project Euler problem number 7 : http://projecteuler.net/problem=7 For some reason, my code in C++ is unable to prov...
[6 replies] Last: @ResidentBiscuit if OP wants an array to store his primes then by g... (by Rechard3)
by sumsar
What is my mistake?
 
What am I doing wrong ? thanks in advance. #include<iostream> using namespace std; class enemy{ public: enemy(int x = 10):damage(x) {} void...
[4 replies] Last: okay its working now thanks (by sumsar)
Fibonacci Series Logic.. (1,2)
 
I want some one to explain Fibonacci series logic in c++.. For a Beginner its a difficult to get it completely.. Here is a one method of explain to find Fibon...
[24 replies] Last: Ain't nobody got time fo' dat. They were arguing over the reading and... (by closed account N36fSL3A)
Raw Pointers?
 
Dear Fellows, I have been searching for what exactly the Raw Pointers are in C++ but not getting exact answer of it. if any one can help me to tell what ex...
[2 replies] Last: Thank you ResidentBiscuit :) (by verticallimit)
by xpg94
Code blocks error: expected constructor,destructor...
 
I got only this error when i try to compile code in CodeBlocks. line 17 Error:expected constructor,destructor or type conversion before '(' token. //dungeo...
[4 replies] Last: except bringing in namespace scopes. that can be done globally (by closed account Dy7SLyTq)
Need help with converting string to char for SendMessage()
 
I'm somewhat new to C++ and need some help. I am trying to fill a combobox with character names that are stored in a string vector inside of a Class "Acc". I ne...
[16 replies] Last: My guess would be that you have your project set up to use Unicode. I... (by cire)
funny challange (1,2)
 
my school teacher asked me to write a program to enter two number swap their values and display on the screen. Can someone help me in the program but the condit...
[23 replies] Last: u can this this mechanism here void main() { int a,b; a=5; b=3; ... (by nomijigr)
tic tac toe
 
what's wrong with my code ? #include <iostream.h> using namespace std; char square = {'o','1','2','3','4','5','6','7','8','9'}; int checkwin()...
[2 replies] Last: thanks . how can i be that stupid (by jayssj11)
by xspec
looking to start a beginner programming team
 
i wanna have a team of beginner programmers so that we can learn together give each other tips and work on projects together
[5 replies] Last: Ok i added you captainblast (by xspec)
Functions
 
Why do I get a blank screen? #include <iostream> using namespace std; void message(int age); int main(){ void message(int); ...
[8 replies] Last: Your calculations correspond to the following expression ( 20 + 30 - ... (by vlad from moscow)
somebody help!!!!
 
I need some projects like telephone directory for my 12th . Can somebody suggest me some projects?????
[2 replies] Last: How about some sort of directory that maps a nominal identifier with s... (by ResidentBiscuit)
const behaviour in class
 
Question why compiler doesn't complain for d in below code? Even d will need constant address, that should be know before Ctor ? class Test{ private: ...
[7 replies] Last: @Peter87 and vlad from moscow Thanks i got it . (by ankushnandan)
by xspec
Getting stuck learning c++?
 
Hi im am learning c++ and im getting to composition, this, and operator overloading and its starting to get really hard and complicated and im just wandering if...
[12 replies] Last: no i recommended my method, which was rereading (by closed account Dy7SLyTq)
July 2013 Pages: 1... 3940414243... 53
  Archived months: [jun2013] [aug2013]

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