Beginners - March 2011 (Page 40)

by uTil
undefined reference to constructor
 
Hi I'm afraid that the following code is giving me a "undefined reference to 'strSet::strSet(std::ba...
[13 replies] Last: An IDE should do that for you. (create new project, add file to proje... (by Disch)
Cin and Array Problem
 
Hey - I'm writing a complicated program, and decided to try a few small test programs to make sure w...
[6 replies] Last: Pretty much. (by hanst99)
by jonsto
I need to revise this code to copy files using binary I/O (1,2)
 
This program is named CopyFile.cpp, which copies files using text I/O. I need to revise the followi...
[21 replies] Last: [quote=sohguanh]Why need vector<string> or other data structure to inc... (by ultifinitus)
Array with unknown size
 
Suppose I declare an array. The C++ language demands I declare a size along with the name. I must st...
[10 replies] Last: Yes, they are still there. '\0' into a char is simply the number zero;... (by Moschops)
writing an integer backwards
 
I've been given the challenge of writing an integer backwards. The barrier I've hit hard is trying t...
[1 reply] : Hint: You are thinking about the decimal system here. In the decimal s... (by hanst99)
return type specification for constructor invalid
 
When I try to run this program, I'm told "return type specification for constructor invalid". I've ...
[4 replies] Last: That did the trick :) Thanks! (by mybluesock)
Logical error in -ve number
 
in the following program I only want the concept from U that what should i do so plz don't correct t...
[1 reply] : now only line 11 belongs to the if. use {} to have several statements ... (by hamsterman)
by caneta
Vector of a template class into another class
 
Hi everybody. I have a template class which works fine: template<class T> class Flag { string ...
[7 replies] Last: I'm getting creazy, trying to create a minimal example with boost. He... (by caneta)
VTD-XML 2.10
 
VTD-XML 2.10 is now released in Java, C#, C and C++. It can be downloaded at https://sourceforge.ne...
[no replies]
by sdbd
c++: set and class with set
 
Hi people, I have an orrible error,someone can help me? I post the code file main.cpp #includ...
[2 replies] Last: Yes, i'm italian. I'm sorry for the comment in italian! Today i solv... (by sdbd)
by mpgz
Structuring code with a string function in Visual C++
 
Hello, I am writing my 1st app in Visual C++ Express and I have some questions. I have a text bo...
[no replies]
by much29
How many words are in the C++ language (1,2)
 
I'm engineer, but not a programmer. My question is simple but it's hard to find the answer by using ...
[25 replies] Last: I believe Computer Science is a fairly young discipline in comparison ... (by sohguanh)
How to write this formula
 
Im trying to make a program using the compound intrest formula. The formula is A = P(1+(r/n)^nt ...
[2 replies] Last: Thanks(sorry about the vocabulary mix up), but your answer worked perf... (by SOCIALISTICmeow)
Clean UP--
 
I'm new to c++ ,ish. I made a simple calculator and want to know if theres a way to either clean or...
[3 replies] Last: thnx hamsterman: i had actually though of using add, subtract, afte... (by Widget360)
Simple File Input/Output
 
For this assignment, I'm snagged on what to do next. I'm supposed to be moving contents of one file...
[1 reply] : I think I finally found a section in the book to help me. It appears ... (by khouser)
Segmentation fault (1,2)
 
I am pretty sure that I am getting a segmentation fault because of the '(' in my function. The funct...
[32 replies] Last: ok so now the debugger is saying that t=t->next; is where the fault is... (by sorthon123)
Nested For Loops, im LOST
 
There are 1,000 students and 1,000 lockers, numbered from 1 to 1,000, on one side of a long hallway....
[16 replies] Last: Okay, how would you go about getting the number of factors then? (by Browni3141)
by gabyam
Problems with type char arrays
 
I have to write a simple program for school in which a teacher has to enter the following informatio...
[2 replies] Last: Thank you very much! The program works just fine now. (by gabyam)
Bit Flags
 
I understand bit-flags but I don't know how to create them. So far this is the only way I know how t...
[3 replies] Last: Thanks, Hanst. I was going to ask how I can test to see what flags wer... (by closed account zb0S216C)
szAppName (1,2,3)
 
Hi, could you give me some information on the following code: int WINAPI WinMain (HINSTANCE hInst...
[50 replies] Last: Thanks, i understand now. (by TpOreilly)
March 2011 Pages: 1... 3839404142... 52
  Archived months: [feb2011] [apr2011]

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