Beginners (Page 3)

Class Questions (1,2,3)
I've just started trying to learn classes in C++. In the code below, I've created a constructor f...
[51 replies] Last: Yes, just be wary about cost of creating and destroying them. Often it... (by MiiNiPaa)
I am writing my first class program. And for whatever reason, the error is coming up and saying Abor...
[1 reply] : Lines 79-81. Your loops iterate over board_size elements, but your ... (by keskiverto)
I just downloaded atom, can someone teach me how to run C++ projects using atom?
[no replies]
Undeclared Identifier
Why am I getting this? Error C2065: 'height' : undeclared identifier // Assignment 7.cpp : Define...
[3 replies] Last: Since the parameter 'height' is to be inputted from the keyboard and ... (by Aminu Bishir)
by MM7
Declare pointer to array
I have a function that writes the bytes of a file to ram. To get a value from a specific ram adr...
[2 replies] Last: Thank you. That was exacly that I was searching for. (by MM7)
getting error
Hi friends I am using Dev-C++ 5.9.2 version and when I use this statement I always get error pleas...
[1 reply] : What does the error say, exactly? Look at the ifstream constructors:... (by keskiverto)
by Ch1156
Not replacing all letters. (1,2)
I am making a program that replaces all letters with a character, I have been working on this for a ...
[22 replies] Last: @TheIdeasMan I am voting that we have given this enough air time alre... (by kemort)
by charls
needs help on this program (online app)
please how can i get rid of this because i have tried my best yet nothing work out, the question is ...
[1 reply] : You need a database. google asp registration form with database ... (by SamuelAdams)
While loop breaks unexpectedly
I still couldn't figure out the solution to my problem in my Dungeon Crawler program, so I decided t...
[3 replies] Last: I think this is what you want. while (x != 0) // zero to exit the lo... (by SamuelAdams)
by Feral
Class question
I'm studying classes, constructor and deconstructor this week. I thought I was understanding it pro...
[2 replies] Last: I tested that as well and 7 finally shows. I guess it's a typo in the ... (by Feral)
by tcanna
Barometric Pressure Problem
You are working on a project that requires climate data for a location. The maximum daily change i...
[15 replies] Last: My cousin, who is really good at code, suggested I start with a step-... (by jlb)
how i change it: left operand must be l-value
a small code , problem with " l-value" #include<iostream> #include<sstream> #include<fstream> #in...
[1 reply] : Lines 11-13 are missing type specifiers. Line 63: What exactly do... (by AbstractionAnon)
Read a DWORD from a BYTE array
I have used ReadFile to fill a BYTE buffer. How can I access the first 4 bytes of it as a DWORD? ...
[7 replies] Last: Crap, I figured out that I should have used: *(DWORD *)(writeBuffer+... (by BrainHijacker)
[Solved]Inheritance problem
Hi, I have derived a class but can't use the base class method from a child object. Here is the ...
[5 replies] Last: I don't think the derived class should be providing a container. do()... (by Papipone)
by Emiyou
Dynamic Array
Hi everyone. I've been trying to write a code that do the following The user write a number of w...
[1 reply] : The line 15 calls the Add() with same address (ch2) every time. Every... (by keskiverto)
Use of equal_to function object
I am trying to use the function object equal_to to find an element in ivec with the same value. Is ...
[3 replies] Last: JLBorges, Thanks for introducing me to placeholders, bind, and that c... (by phztfte1)
junior level C++ programming job
Hi guys, dont know if this is the right place to ask this but here it is! Could I be "advanced" eno...
[3 replies] Last: Thanks guys for answers. So averaging these 2 replies I would kind of ... (by etrusks)
How to call function from class to main ?
How to call this 2 functions in main ? If i have complex number (1+1i), moduo would be sqrt(2) and ~...
[1 reply] : You might need to show a bit more code. Assuming those are member func... (by Ganado)
by OO7
Multiple if statements
Im trying to create a simple age calculator that has cout of custom messages, Im trying to use multi...
[5 replies] Last: i added 400 incase someone wanted to be silly. I guessed that. But w... (by andywestken)
heloo (1,2)
Heloo I have a problem i have two input files file1.txt and file2.txt and I need In an outputfil...
[34 replies] Last: anybody help me (by mariuss)
Pages: 12345... 39
  Archived months: [may2015]

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