
please wait
by KuPosu
Stack Container
|
I keep getting this error code when trying to compile. In file included from prog6.cpp:10: Stack.h:21: error: `ItemType' has not been declared Stack.h:2... |
Dec 7, 2011 at 12:32pm
[7 replies] Last: Even if you're not finished, you HAVE to return a value for those func... (by LB)
|
by hards
c++ to c conversion
|
dear members would some one help me to convert the following code from c++ to c ; =============================================== #include <iostream> usi... |
Dec 7, 2011 at 12:29pm
[4 replies] Last: i really really appreciated . thanks alot fellow (by hards)
|
by pule85
function template has already been defined
|
hello everybody i am a student who is still moving pretty much his firt steps into c++ programming. I have been assigned a code for my thesis; the code is cor... |
Dec 7, 2011 at 10:59am
[1 reply] : Use include guards in your headers (by Peter87)
|
by hentaiw
Use of Bool Containers
|
I know when we store data into containers like vector or deque. But how about bool vector and such bool containers ? Please cite some of its usage,thanks ... |
Dec 7, 2011 at 9:43am
[2 replies] Last: I sometimes use them to represent numbers in binary. I'm not sure whet... (by Gaminic)
|
by zcarfaz
Recursion function
|
I have the function bool find(string s, string t) that test whether the string t is contained in the string s For instance, if I call the function like... |
Dec 7, 2011 at 8:57am
[2 replies] Last: thank you! (by zcarfaz)
|
by Terminus Est
Need help with line sorting on Payroll program
|
I am trying to get a Payroll program done for school but I cant seem to get the payroll info to align properly. Here is the output. This payroll program cal... |
Dec 7, 2011 at 8:51am
[3 replies] Last: I still dont understand how my entire output could be formatted to kee... (by Terminus Est)
|
reference vs pointers 1اهلا |
what is the difference between reference and pointers and what is the best plz. اهلا و سهلا |
Dec 7, 2011 at 8:05am
[1 reply] : try http://cplusplus.com/articles/z6vU7k9E/ (by hamsterman)
|
by IronCowgirl
Battleship: weird values showing up in array
|
Hey I'm working on code for randomly placing ships in a game of battleship. I've set up a 10x10 matrix with all values initially set to zero, to be changed to 1... |
Dec 7, 2011 at 7:01am
[2 replies] Last: Thank you so much! Yeah, I'm not sure why it wasn't working right earl... (by IronCowgirl)
|
by Lazysquirell
Easy question Maybe?
|
I dont understand this int d=16.e=17 then the value of d == --e is 1 ( I understand this part) so why then is int z=3,x=3,c=3 (z == x == c) the value ... |
Dec 7, 2011 at 6:38am
[2 replies] Last: OK i can makes sense out of that its weird but this utilizes the xor ... (by Lazysquirell)
|
by teocl5
Socket Programming(Help me!!!)
|
Hi, I am working on my battleship program. However i am required to use socket programming to implement the messaging between the player and server. The ... |
Dec 7, 2011 at 5:47am
[6 replies] Last: I using #include <sys/ type.h> #include <sys/ socket.h> #include <s... (by teocl5)
|
by emitremmit
problem with classes
|
I am having trouble with calling a function from my class in main. Any help would be greatly appreciated. Here's my header file: #ifndef BINNUM_H #defi... |
Dec 7, 2011 at 5:32am
[1 reply] : To call the function you write num.numbers(); . The return type is vo... (by Peter87)
|
by Lazysquirell
problems with .h
|
this is a school assignment, I can get my program to run ok but we are suppose to place the (parent) class into a .h file when I do this it say the variable are... |
Dec 7, 2011 at 5:05am
[7 replies] Last: finally found it the .h file must contain using namespace std; or it w... (by Lazysquirell)
|
by Brianzor
Setting a pointer to data
|
I'm writing a ftp in C and am having trouble when copying the file over to the server. When I copy it over, it cuts off the first 512 or so bytes. I need to se... |
Dec 7, 2011 at 4:02am
[no replies]
|
by maharris
reading the inputs from files
|
i read the tutorial, but im having a little trouble grasping it. if i have cout<<"If Booked 2 weeks in advanced, 3% off lodging only"<<endl; addB... |
Dec 7, 2011 at 3:48am
[no replies]
|
by M987
Stack ADT
|
I am working on a project that require us to use stack abstract data type. The program is not complete, this is what I have got so far, but I am not sure what I... |
Dec 7, 2011 at 3:26am
[4 replies] Last: The error is because you have not declared a Stack constructor that ta... (by Peter87)
|
prime program |
hey can anyone help me with this program, I've been trying to figure it but i haven't been able to understand it: An integer is said to be prime if it is... |
Dec 7, 2011 at 2:40am
[3 replies] Last: In pseudocode: isprime = true; while i = 0, i < sqrt(number), ++i i... (by ascii)
|
by Schwagmister
User defined text file
|
Hello All, I need help to: Ask a user for a filename Create a text document with the user defined filename Basically cout<<"filename"<<endl; cin... |
Dec 7, 2011 at 1:59am
[5 replies] Last: webJose : I will work on a cpp and post it for you Ben Duncan : Your ... (by Schwagmister)
|
by sarnia101
Loops
|
I am having problems understanding how to program different loops and nested loops. I have basic skills in programming(very ammature) so you must go though it s... |
Dec 7, 2011 at 1:59am
[6 replies] Last: for(counting vairable; condition; incrementor){ //statements to exec... (by LovestoCpp)
|
by maharris
writing file << illegal for class
|
when trying to enter the username, password, bookname dates, and length of stay every error is the title: << illegal for class. here's the code. sorry for a... |
Dec 7, 2011 at 1:55am
[2 replies] Last: i don't exactly know. i need it to write to the file, but then read f... (by maharris)
|
by joatmon
Pointer Problem
|
I have a memory location stored on my heap. I need to extract that memory location and store that as a pointer. Here is what I have done: char *bp = firs... |
Dec 7, 2011 at 1:37am
[4 replies] Last: No I mean his char* holds the address of a pointer =P (by Disch)
|