Beginners - January 2012 (Page 16)

by Kuzco
Help with static data members
 
Hi there! In my struggle to reduce the amount of global variables in my programs, I've come across a...
[2 replies] Last: That worked like a charm. Thank you :) (by Kuzco)
by Atari
Need help
 
Hello everyone, i need some help with a task. It says: Type in integers A and B. Find in wich number...
[3 replies] Last: Might be easier to check the digits directly, rather than taking the s... (by Gaminic)
Help please!!!
 
here is my source code: #include<iostream> #include<string> using namespace std; int main ()...
[1 reply] : lowerVersionOfChar = tolower(exisitingChar); (by Moschops)
by fweth
'Outsourcing' of functions
 
Hi! Is there the possibility to compile a single c++ function, say f, such that a compiled c++-progr...
[2 replies] Last: OK cool, I will start researching this term :) (by fweth)
Mergesort algorithm implementation
 
Below is the code which I have written to implement the mergesort algorithm in C++. It is giving seg...
[no replies]
Use of template classes in other template classes
 
I'm having some issues doing that. I'm trying to make a template class which holds a template lis...
[4 replies] Last: I understood the problem. Thanks. (by yshicht)
by duiu
list does not name a type
 
#ifndef QUEUE_H_ #define QUEUE_H_ // Get a definition for null #include <iostream> // Use S...
[2 replies] Last: Good suggestion. The error left a bit ago, I'm not sure what I did, bu... (by duiu)
by hbjgd
string does not name a type
 
when I compile this code, it says that the string on line 25 does not name a type. Anyone see a p...
[2 replies] Last: #ifndef GAME_H #define GAME_H #include <fstream> #include <string> //... (by Stewbond)
Make a char into an operation?
 
Is there any way to make an operation into a variable, in order to get it as an input value? Here is...
[3 replies] Last: else if (operation == '*' or 'x') This will always be true. Anyth... (by shacktar)
Structs, consts, and references
 
Hello forum, I'm new to posting here, but this site has been very helpful in teaching me C++. I've ...
[8 replies] Last: If only you were my professor <.< (by BlueLeaderOne)
by jeri
Can you help me?
 
can you analyze this? Problem no.1 #include<iostream.h> #include<conio.h> int main () { clrs...
[2 replies] Last: The only thing I see is the space issue, when you say analyze do you m... (by Edward A)
making a interger a character
 
I have two variables a and b. need to make the values holded by them char*. How can i do that? I ...
[11 replies] Last: oh. In that case, don't do const_cast, but change the function to tak... (by Disch)
Program using class, Errors!
 
Please help me, I do not know how to fix this. Here are the errors: 1>------ Build started: Project...
[19 replies] Last: OP: You should really really read up on classes. There is a nice tutor... (by Mathhead200)
any good source code websites?
 
I was wondering if there is any good webistes that provide the full source code for projects. I lear...
[7 replies] Last: Haha yes, cause an IDE is just a walk in the park to make A few peopl... (by ResidentBiscuit)
Input of initial data through main ()
 
Hello guys, I am a beginner in C++ and would like to know the right way to receive data on the ma...
[4 replies] Last: Peter87 Thanks a lot! (by fabiolanza)
Too many iterators?
 
I've made a habit out of using iterators as much as possible, and use them wherever I am looping ove...
[1 reply] : IMO, that is a bit excessive. As for from an efficiency point of vi... (by Disch)
Looking for a neat way to pass many variables to a function
 
I have a function that initially looked like this: double myfun(int var1, int var2, int var3, in...
[1 reply] : If these variables are all commonly grouped (which I assume they are, ... (by Disch)
Or operator (||) with three possibilities?
 
Hey all. I'm very new to C++ and I've been following a series of tutorials and I decided to try and ...
[3 replies] Last: np. This is actually a surprisingly common problem. Along with thing... (by Disch)
Hello, I am new here.
 
Hello. My name is Fabian Willis and I am new to this community and to the C++ programming language. ...
[1 reply] : Read the tutorial and then start coding. If you don't know what to cod... (by Moschops)
Infix-to-Postfix Expression Conversion
 
So here is the assignment I have to complete within the next hour that I've procrastinated way too l...
[1 reply] : Please don't double post. Make sure you understand the algorithm by g... (by ne555)
January 2012 Pages: 1... 1415161718... 48
  Archived months: [dec2011] [feb2012]

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