General C++ Programming - May 2010 (Page 3)

by fetch
sum will not compute
 
I need these parameters: prompt for number input, with 0 being the exit character. input to pr...
[6 replies] Last: Thanks for the tip, Jackforey. In this case I was required to use only... (by fetch)
SFML C++
 
I am trying to learn SFML from the sites tutorial I am using visual c++ 2008 I downloaded SFML h...
[10 replies] Last: Thank you everybody I will try to learn in and create some simple game... (by thapchi)
by meesa
[C++] size_t vs. size_type vs. unsiged int
 
What's the difference? Why use one over the other? Such as why would I do: for(vector<int>::s...
[4 replies] Last: Thanks to both of you. (by meesa)
by Ensei
Segmentation fault(core dumped)
 
This is a school project about a net of consumers. I'm getting segmentation fault but I can't unde...
[4 replies] Last: See the other post and please do not post duplicates. It doesn't do y... (by kempofighter)
how to DLL to ocx
 
i have a DLL made by C#.net 2010 and i want to use this dll in c++ to make an OCX ActiveX file in VC...
[no replies]
writing for cross platform
 
Hi everyone i know this has probably been said many times before. but what im trying to do is rewri...
[4 replies] Last: WxWidgets is also a cross-platform toolkit. They claim to use a native... (by magnificence7)
by fortis
Problem with resizing arrays
 
I want to make a database with C++ well not a real one but a fake one What I'm planing is there is ...
[5 replies] Last: http://cplusplus.com/forum/beginner/23163/#msg121662 (by blackcoder41)
by dvm1
operator overriding
 
Hello, I need to create a class CASQLRow which overrides operator . The problem is the return val...
[6 replies] Last: Other alternatives include: 1) return a boost::variant<>; 2) retur... (by jsmith)
Open GL
 
I am trying to learn OpenGL from a Book called Addison.Wesley.OpenGL.Programming.Guide.7th.Ed B...
[5 replies] Last: I wanted to ask that can I make small games like snake and all in SFM... (by thapchi)
Inherited vector copy
 
Hello, I want to convert a vector from one type to another one. Like the following : vector<...
[12 replies] Last: This is what I have done, but the problem is the vector copy. I get... (by lafeuille)
by qabil
about file
 
hy... I want to make program..my program want the user can open the file (use fstream) my prob...
[1 reply] : http://stackoverflow.com/questions/839644/get-stdfstream-failure-error... (by RedX)
Incorrect de-allocation of object
 
Hi All, I am facing a problem in following code: class CVector {public: int x; in...
[8 replies] Last: This is a compile-time check that verifies that you are not modifying ... (by RedX)
TinyXML problem
 
Hi, I am using tinyXML to process a bunch of XML files. I want to read an XML file then proces...
[1 reply] : I cant't spot anything wrong with the code. This seems to be more a li... (by RedX)
Read binary file and transfer to human readable text file
 
Hi, I had a problem to transfer a binary file to normal text file. I stored 24000 float number in th...
[8 replies] Last: @Duoas Thanks a lot. Really help me a lot. (by RobBinS)
Problem with eof().
 
When I tried to read and extract each line from a .txt file,then copy these data to a buffer array,t...
[7 replies] Last: @tranlong1612 To start reading the file again you can use: st... (by Galik)
by everid
header file question
 
//tclock.h #ifndef CLOCK_CLASS #define CLOCK_CLASS class clock{ public: clock(); void setti...
[1 reply] : i knew it. i need to rename class clock as something else. (by everid)
by indigo
Way to input in console
 
hello, suppose you have this in console window: +------------------------------------+ | ...
[8 replies] Last: Well, i actually did everything with _getch() and WriteConsoleCharacte... (by indigo)
by indigo
ReadConcoleOutput is unclear
 
Hello, I am trying to make something like console interface. All i want to do here is to copy a rect...
[2 replies] Last: Now i even understand why i got that result... Thanks. And double than... (by indigo)
Static issue
 
Hi, when I make my program it shows this error: error LNK2005: "public: static int CRocket::moja"...
[4 replies] Last: I've just found solution. I put line: int Rocket::moja=0; into .cp... (by mtweeman)
by syusuf
stl map class, compiler error
 
I am using the STL map class and I cannot get it to work. I get a compiler error. If Person is...
[2 replies] Last: Thank you.... Saleem (by syusuf)
May 2010 Pages: 12345... 22
  Archived months: [apr2010] [jun2010]

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