General C++ Programming - June 2010 (Page 4)

DirectX SDK not seem to work...
 
I downloaded the DirectX SDK and now I don't know where the right #include files are. What folders s...
[no replies]
by helios
Minimizing compiler output
 
I'm writing a very small DLL that's supposed to be just a wrapper that will let a different DLL use ...
[no replies]
by fvital
some strange wtf
 
Good day. I have this, near equal code: #include <stdio.h> #include <string.h> char *rs1 ...
[5 replies] Last: Windows not localized? I mean "pure" english version? (by fvital)
Please Explain Me This Output
 
I have this code in Visual Studio 2008 class base { protected: int i; public: base() ...
[3 replies] Last: The way it's written is kindof confusing, what that is is an intialize... (by closed account 1yR4jE8b)
Refresh output on terminal / console
 
Hi! I would like to make some output in the terminal which should appear while the program continue...
[2 replies] Last: Thank you! The "flush" version is the desired one in my case... (by schreiner)
The C++ String Class
 
Ok I am building a class definition and I am trying to define some private members using the standar...
[8 replies] Last: You could temporarily use using namespace std; and then take advanta... (by moorecm)
by loolyn
Reading image into char array
 
Hi All. I need to read an image to char array with C++. I have written the following code for it,...
[5 replies] Last: i am a total c c++ nubi..i am practising in eclipse cde using mingw co... (by priyesh16)
C++ examples wiki
 
Hi all, I have created a wiki for people to collaborate to make examples of basic c++ concepts. F...
[3 replies] Last: Good idea (by EliteHussar2)
A friend template class of another template class with the same types
 
Hello folks! First I'd like to explain myself saying that I know there are already a lot of threa...
[11 replies] Last: To jsmith , 1) Wow, so it means I was wrong all the time. I was ju... (by baran25)
Issue with gcc
 
Hi, I have a legacy code like this (representative code) top.h #include ref.h #include po...
[2 replies] Last: Thanks Helios Now Ic ould compile the code in both gcc versions (by chethan)
File write displays as Hex
 
Hi, I'm not getting proper line feeds or something, because when I view the file that I have writ...
[2 replies] Last: Maybe I'm in the wrong forum? It is an MFC file I/O library class. (by coolecho)
How to use DirectX and/or OpenGL etc.
 
I am kinda just starting out in this programming thing, and I need a book that is BETWEEN beginner a...
[1 reply] : I used nehe to get into OpenGL. http://nehe.gamedev.net If you... (by Disch)
Can anyone figure out why initializations are causing BUS errors?
 
Hi all, 

 I was recently working on a C++ application in Xcode (free Mac developer tool) and...
[2 replies] Last: Here: sImage *original; /* Original BMP image data */ You ... (by Galik)
Saving a class.
 
Is there a quick and/or easy way to save a class to a file/disk? For example: class Playe...
[1 reply] : Have a look at Boost.Serialization: http://www.boost.org/doc/libs/1_4... (by Athar)
fopen --> How to reads what a file contains?
 
Hello all, I wanna check if a file contains the word "Permitted". Unfortunately I don;t know very w...
[7 replies] Last: Hi There are two versions of getline(). The one he is using take... (by athachil)
Omit 'return'
 
I am trying to read from a HEX file and copy the data with some modifications into another file.My p...
[5 replies] Last: With ofile.write(memblock, size); , deletes the first few characters ... (by ayush20m)
How is memory managed? (1,2)
 
When we say ClassName *objName = new ClassName(); delete objName; its obvious that m...
[20 replies] Last: That doesn't allocate anything in a register. The keyword is a hint to... (by helios)
Communicating with proxy dll
 
I was wondering what was the preferred method of communication with a proxy dll inside another progr...
[no replies]
how to make a programe
 
i want to make a programme thst solves proportion e.g. 1=9 9=? and the programe solve it
[6 replies] Last: i am still 11 years but i can make programes well like: a convertor b... (by mohammedhmandour)
seekp & seekg is not working....
 
I am trying to change some data indside a txt file, based on the input given by the user.The input f...
[no replies]
June 2010 Pages: 123456... 18
  Archived months: [may2010] [jul2010]

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