Beginners - November 2011 (Page 10)

by Yezman
No operator matches these operands
 
Hey guys, I am using Visual Studios FYI... http://pastebin.com/saX27zND Line 145 the = sign and Line 194 the || My compiler is telling me that "Error no oper...
[no replies]
new with templates but this may be a non-template issue
 
I have the following code: header file: #ifndef ARRAY_H #define ARRAY_H #include <iostream> using namespace std; namespace list { template<cla...
[6 replies] Last: Thank you everyone. That was a bit embarrassing. (by bool maybe)
by moot1
my calculator (1,2,3)
 
hi guys.i want to show you my best calculator i made so far. any tips for improvement.and also can u tell me how to let the user quit at the beginning by pressi...
[40 replies] Last: nice tread very interesting .. kep it up guys (by viser)
what is the output for the following version of reverse()
 
Anyone helps me? what is the output for the following version of reverse() void reverve() { int ch; cin.get(ch); if(ch != '\n') reverve(); cout...
[6 replies] Last: Wow, it ran when I changed int to char. :x. Thanks for ur help. I expe... (by tgiangkc)
by CodeAB
Easy Code, but having trouble wrapping it up
 
I've created a temp converter, but I can't quite get it to work. I'm having difficulty with my if else if statements. I want the program to determine what unit ...
[2 replies] Last: thanks! (by CodeAB)
Error in compilation: no matching function for call to...
 
Hi guys, is the following: I'm trying to make a library, but OO is not my talent. Here is my problem: I created the .h and .cpp files, but happens an erro...
[4 replies] Last: Sorry guy, but I'm new to C + + programming. I made some changes here ... (by Kelisson Terra)
by natli
WxWidgets - Changing texbox from a file other than the main one
 
When I click the "Go" button I want the button event in "wxQuestionMain.cpp" to call "somefunction()" which is inside "otherFile.cpp". That works just fine. But...
[8 replies] Last: Each P2P transfer (each torrent) is assigned it's own thread this way.... (by natli)
by ihato
Console clear screen
 
How to clear the screen of the console? I tryed system("CLS") but console "sparkles". And I tryed cout<<"\n\n\n\n\n\n\n\n\n\n\n\n" but then the text is dr...
[3 replies] Last: http://www.cplusplus.com/articles/4z18T05o/ Scroll down to "OS Specifi... (by Duthomhas)
2d Array as a function help
 
hey team, i need a little direction on my program. Im trying to use my 2d array in a function, and im having a hard time getting the syntax correct. when i run ...
[no replies]
How to Do for loop
 
#include <iostream> #include <string> using namespace std; int Calculator(int x,int y){ int answera = x + y; int answerb = x - y; ...
[4 replies] Last: 1. main() is declared within another function. Not allowed. Function... (by closed account zb0S216C)
What different between these two input function?
 
//example: const int SIZE=8; char customer ; cin.getline(customer,SIZE) //what is the function of this input function? getline(cin) //what is the ...
[no replies]
by raiden
Having trouble with my code...
 
I'm literally on my fourth or so day of trying to learn the C++ language. I tried to use aspects from the Calculator code on reconectwork's youtube Channel. Fro...
[no replies]
Help Parameters.
 
#include <iostream> #include <string> using namespace std; int Calculator(int x,int y){ int answera = x + y; int answerb = x - y; ...
[5 replies] Last: perfect. thx (by Chris Renauro)
by Thetr
strings
 
I have been given an assignment to write a program that will allow the user to input infinite amount of last names, but when the user presses "1" the program wi...
[6 replies] Last: More info please, I will look into what you said Peter and Slurpee ED... (by Thetr)
Can't seem to get the ISAAC template class to work
 
When ever i try using the isaac template class (here: http://burtleburtle.net/bob/cplus/isaac.hpp) I always seem to get this compile-time error: [natman3400@...
[3 replies] Last: this is the beginner forumn. Try a different section. (by slurpee123abc)
Why am I getting a segmentation fault?
 
I assume it's something simple that I'm doing wrong, but I'd appreciate the help. Here's the Set class that I used. My main function did nothing but test the cl...
[5 replies] Last: Understood. Thanks for the help, everyone. (by Marquis)
by fam697
need coding within 12 hours...:( (1,2)
 
***** **** *** ** * ***** 1**** 11*** 111** 1111* I want coding in c++ which shows above output... please delete 1
[24 replies] Last: [quote=Gaminic]@ascii: Of course I'm kidding. I was trying to convince... (by Intrexa)
im stuck with my homework
 
Hey :( I've been thinking for a while on one program for my homework and i just can't come up with a solution, maybe im just dumb xD Can anyone atleast point m...
[10 replies] Last: I think you guys have made a horrible and HUGE mistake. The expression... (by Caprico)
comparsion bwt sign and unsign
 
if( -1 < ( unsignd int ) 2 ) { cout<< "yes" << endl; } how compilar compare sign with unsign ?
[3 replies] Last: I'm with Peter87 on this one. if( -1 < ( unsigned int ) 2 ) Is the... (by andywestken)
how to call a function from main func?
 
hey. i have a function in a struct and i want to call it from main function Here is the a part of my code: struct X{ int search(char *); }; and i...
[2 replies] Last: thanks... (by whocares21)
November 2011 Pages: 1... 89101112... 65
  Archived months: [oct2011] [dec2011]

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