Beginners - December 2010 (Page 15)

Yes or no
 
Is this a recursive bool function? #include <string> #include <iostream> using namespace std;...
[12 replies] Last: http://www.cplusplus.com/doc/tutorial/functions2/ bool Function(cons... (by ne555)
by lssam
0xa0 error
 
l ran this code , and l get this error 19 times . what that error is for ? error : --------...
[4 replies] Last: Hi Try compiling again and give us the full error message and we mi... (by shredded)
Adding fraction class and gcd functions
 
I'm completely clueless on what needs to be done here can you help?? Heres my instructions: "My so...
[no replies]
by Maerle
looking for a easier way to use strings
 
Is there a simpler way of changing the vowels by another character of a name using string functions ...
[1 reply] : 2) std::reverse or operate it backwards (the user do not need to know)... (by ne555)
by Maerle
Using the up, down, left and right keys
 
How can I directly use the up, down, left and right keys to make a moviment instead of use a swicth ...
[4 replies] Last: What some ramdom dude said got fine. But it hapens some problems in my... (by Maerle)
Static casting to <int> in a for loop?
 
I'm doing a sieve of eratosthenes problem and I'd like to loop to sqrt(number). Is it possible to do...
[3 replies] Last: Ah, that makes sense! Thanks. I figured there may have been a better w... (by Darkenor)
by nm486
Default parameter question
 
Hi, I was wondering for default parameter values, if we could set a default value to be the return v...
[2 replies] Last: Thank you very much for your reply. That solved my problem completely... (by nm486)
overloading a const member function
 
Hi, all: I defined a class A as follows. struct A { void f() {cout << "A::void f()" << end...
[3 replies] Last: Hi, PanGalactic and Disch: What you said is especially helpful. I t... (by mathwang2)
GUI
 
Something I do not understand in C++ is how to make graphical user interfaces if C++ does not have g...
[4 replies] Last: Your talking GUIs now, back in the DOS era, I made my own with VESA vi... (by closed account 3pj6b7Xj)
by rcorty
reading input from text file in XCode IDE
 
hi all, I've read through the documentation on how to use filestreams and I feel very certain tha...
[1 reply] : problem was the commas in the input file....replaced them with spaces ... (by rcorty)
by wtf
really weird problem.
 
OK this is really weird. I have encountered a runtime error and isolated it to a line that has ...
[16 replies] Last: intricacies (by filipe)
by firix
singly linked list and doubly linked list
 
Hi everyone, I have configured singly linked list and doubly linked list but I could not understand...
[4 replies] Last: template<class T> class List{ public: struct node{ T val; ... (by firix)
How to transform it?
 
Can anyone give me the direction to how to transform the code below into recursive bool? #include...
[no replies]
by lssam
error runing simple code
 
Hi l am trying to run this simple code , l get a error which l don't understand why so that l can...
[3 replies] Last: I think you complicated things a bit too much. Why aren't you using a... (by chronokitsune)
A function within a function.
 
Hello fellas, I'm having 1 final problem with my final project. We are asked to froup all the projec...
[6 replies] Last: You are confusing yourself on what you need to achieve. You need to ma... (by Zaita)
problems with dequeue function for my linked queue class program
 
I am working on this linked queue class program and it runs without any compiler errors but there is...
[1 reply] : This is a very general question that probably requires a thorough unde... (by rcorty)
ifstream garbage output.
 
Hello peepz, trying (for practice) to write a program that reads a list of names and throw them o...
[5 replies] Last: string line, cont; ifstream file; file.open("test.txt"); i... (by closed account DNwq5Di1)
I am stumped by wrong cout
 
This is a small portion of a program I am making. When the correct answer is entered, it still says...
[3 replies] Last: Thanks, I will put that into effect. (by noofootheodd)
Operator definition doesn't return *this?
 
I was making a vector class for fun and when I made the = operator function, the compiler doesn't re...
[2 replies] Last: I don't know why but some compilers won't complain if you don't return... (by Disch)
Does friendship indeed not inherit?
 
Hi, all I am learning C++ with the book C++ Primer, 4th edition. In section 15.2.6, it talks abou...
[14 replies] Last: Weird. Maybe I'm wrong on that one? *shrugs* It errored for me ... (by Disch)
December 2010 Pages: 1... 1314151617... 35
  Archived months: [nov2010] [jan2011]

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