General C++ Programming - July 2009 (Page 13)

processing other languages using c++
 
Hello everyone.... I wanted to know how can i get a string to contain text other than asci values. ...
[3 replies] Last: To read from a file you need to know the encoding ( it is specified in... (by Bazzy)
Trying to write a base converter
 
I'm trying to write a base converter that allows the user to convert any number from base x to base ...
[3 replies] Last: No, I mean you should just make a function that takes the string and t... (by firedraco)
error LNK2001: unresolved external symbol
 
Hi, I am using Visual C++ 2008 Express Edition. I define a class Selector in one header file. ...
[1 reply] : "unresolved external symbol" means the linker can't find the body for ... (by Disch)
File IO Problem
 
#include <fstream> #include <iostream> #include <cctype> using namespace std; int main() { ...
[4 replies] Last: You are going to get through all this fine. One cultural issue to con... (by cmoth)
by Gregor
thread sync problem
 
Hai :] Beeing new to the subject I wrote the following: ... CONNECTION_ID n2i; C...
[7 replies] Last: If CreateWindow fails, the critical section is never released. (by kbw)
segmentetion fault......again.
 
About five days ago i posted here a piece of code that produced a segfault. After using the advices ...
[3 replies] Last: Ok. I took PanGalactic's advice and for the past two days i've been tr... (by tsilis3)
by Malang
Strange Errors while including boost
 
I'm using boost::threads for spawning multiple threads and in order to use functors for thread i'm u...
[4 replies] Last: Boost version is { BOOST_LIB_VERSION "1_34_1" } and i'm just using b... (by Malang)
by cidron
c++ and mySQL: mySQL++, problem with examples
 
Im sure some of you have experience with mySQL++, and all im doing now is trying to get things to wo...
[no replies]
by jrohde
ifstream problems
 
Below is a code I just tried, which writes to a text file and then attempts to read it back. The ou...
[1 reply] : Put spaces between your outputs. The overload of operator>>() can't te... (by helios)
arrays
 
ok i have started on this new program and i have had to implement pieces of a source code that was g...
[6 replies] Last: any suggestion at how i should fix these problems and what would be th... (by hastefan20011984)
by pccX
128 bit data type
 
How can I use a data type that is bigger than 64 bits?
[8 replies] Last: smilodon is right. I don't think you've thought through the other lim... (by PanGalactic)
protected destructor
 
1) class UPNumber { public: UPNumber() { cout << "UPNumber constructor called" << end...
[4 replies] Last: Good to know. Most of the confusion occurred because the behavior is d... (by n4nature)
creating objects, while making class non-inheritable
 
Hi, Below is the code to make a class non-inheritable (by making constructors private) while allo...
[8 replies] Last: Thanks (by n4nature)
Multidimensional arrays with new...
 
Alright, I am working on a new class that will need an array of unsigned char's that will be 6 chara...
[7 replies] Last: That works fine, and I may use it. I am probably just going to make a... (by Sephiroth)
by cdhdds
Reviving an Old Aztec C program and problems
 
A defs.h has the following: struct allomorph { char *rest_key; char conds ; union { c...
[8 replies] Last: Thanks kbw, This helps me think through the process. pfxlist in th... (by cdhdds)
by yalcin
Using Class Template in Visual C++
 
Hello, I wrote template which return matrix in Window Form Application .My template is below: ...
[1 reply] : there shuld be no difrence for C++ templates in those project template... (by Gregor)
file manipulation
 
hello, can someone share some good website talking about file I/O in c. since it is a little bit con...
[1 reply] : Try http://www.cplusplus.com/reference/clibrary/cstdio/ (by Bazzy)
by yalcin
Class Template in Visual C++
 
Hello, I formed class template that represent two dimensional array : template<class T> cl...
[2 replies] Last: this beeing your post, look @ it fist http://www.cplusplus.com/forum/... (by Gregor)
A good book on pointers,memory and some inner workings of compilers for C++
 
I am searching for a book(s) which explains things like the following - 1. Difference between mem...
[2 replies] Last: 4. is a remnant of the DOS/Borland compiler days. 5. no, at least... (by jsmith)
segmentation fault with fgets
 
Hi all, I'm completely stuck.. I have a program which reads integers (there are 65536 integers) fro...
[1 reply] : My first concern is that buffer is not null terminated. But why don't... (by jsmith)
July 2009 Pages: 1... 11121314
  Archived months: [jun2009] [aug2009]

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