General C++ Programming - August 2012 (Page 7)

Forward reference to class in external namespace
When declaring a forward reference to a class in external namespaces I've found that the following s...
[2 replies] Last: A translation unit has to know how the names A and B were declared. Th... (by vlad from moscow)
C++ what is it for?
1. What specific projects can c++ will be useful than other programming languages.
[16 replies] Last: @ResidentBiscuit and iseeplusplus: General Purpose, defined by Google ... (by Script Coder)
by rossig
adding new line to string literal
Hello, sorry if it was asked before, but I tryed everything and it didn't work. No new line inserte...
[6 replies] Last: Hello, the code all of you suggested works :), but not with SDL the re... (by rossig)
Logic: Input 5 countries by name by population by area Output: Name of countr...
[1 reply] : 1. Try writing a function for getting country information which return... (by Raman009)
by kabone
Combining 2 single line text files with a multiline text file
Hi, I am new to C++ and trying to find a way to merge three text files together to create an output ...
[4 replies] Last: i dont understand what you mean? sorry like i said im new to c++ (by kabone)
Return Pointer To Function
I am looking to have one function(called F) return a pointer to one of two other functions(F1 and F2...
[8 replies] Last: The void is the return type of the function you return. (by Peter87)
SetClipboardData() not working
i have a problem i tried using setclipboarddata() here is the code: #include <string> #inc...
[9 replies] Last: It's C++/CLI, which is C++ for the .Net environment. It's tweaked in ... (by kbw)
read row and write it in a colum
Dear all, i have a file(“test.txt”) with 2 row including integer and char variables i need ...
[1 reply] : Are integer and character values mixed in the rows in the source file?... (by vlad from moscow)
by dem7w2
qt programming with signals/slots
I have several arrays of QWidgets as such: QLineEdit *entries; //retrieve size from file... en...
[1 reply] : Here's more info on QLineEdits if that helps: (by dem7w2)
counting elements in a queue
Never mind :P
[3 replies] Last: Thanks so much for the help! It was that statement. Once I took out th... (by TechNoob)
GUI Framework recommendation
Hello, I want to develop some GUI, can anybody recommend a good, easy-to-use GUI Framework. I want t...
[3 replies] Last: This is much simpler and lighter than those monsters http://www.fltk.... (by mik2718)
reading a binary image
Hello People I am trying to read a binary image. It stores the pixel values in two byte signed inte...
[3 replies] Last: i solved the problem :). There was a confusion with little and big en... (by kenter13)
Help with error!
i am learning how to do this
[6 replies] Last: Try to follow the video again, if the program still isn't working, go ... (by Superhappy)
share data between apps using a dll : #pragma data problem
Hello from Argentina !!!, I'm trying to communicate to programs using a DLL (this would be an IPC) ....
[no replies]
need fast algorithm that checks the amount of divisors.
at this moment i have an algorithm but it is very slow. i need it for project euler #12 http://proje...
[1 reply] : found the problem. the loop was going from x to 1 instead of 1 to sqr... (by gelatine)
by homi
argv[0] in Win32 Application (VC++ 6)?
In a console application, argv is the current filepath of the exe.. is there anything similar to t...
[4 replies] Last: All win32 apps have CommandLineToArgvW and GetCommandLine APIs, use th... (by modoran)
impossible inheritance ?
I try to create two classes which include inheritance, but I think this construct is not possible to...
[3 replies] Last: Thank you for your help. Only one f***ing #include was missing and the... (by SixTimesNine)
Adjacent repetitions in any number
Say I have a number i.e 9112322544. In this number there are some adjacent repetitions. If repetitio...
[7 replies] Last: The other way to solve the task is to use standard function to_string... (by vlad from moscow)
Include all the libraries in the exe
Hi, i have written a program in C++ which uses many libraries and include many cpp and hpp files...
[10 replies] Last: I think i know the difference... When i tried what you told me i was ... (by chtsolak)
Overriding new and delete for plugin libraries
Hi everyone, I'm looking at developing a plug-in application and I've read in a few places that mem...
[no replies]
August 2012 Pages: 1... 56789... 31
  Archived months: [jul2012] [sep2012]

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