General C++ Programming - May 2012 (Page 19)

Asking for advice about interesting diagnostic rules for C/C++ code to implement in our tool
 
Asking for advice about interesting diagnostic rules for C/C++ code to implement in our tool. I am...
[2 replies] Last: Probably. I decided to ask this question in different places. It is im... (by Andrew2011)
<Bad PTR> when reading CString from .bin file
 
Hi all, We are programming a project to manage a library using MFC. We use linked list to manage th...
[4 replies] Last: Thanks a lot, especially to Duoas, you guys rock. :D (by franknguyen)
read from file and put in array of one dimenstional and two dimentional matrix
 
int read_file(ifstream& in_file, int &row, int &col, double *array, double **matrix) { //Reads...
[no replies]
in a i/o program are two arguments in the comd line the same as argv ?
 
in a i/o program are two arguments in the command line the same as argv? if not what do you use ? ...
[1 reply] : where the main function is: int main(int argc, char **argv) argc is t... (by Texan40)
Breaking the String into Tokens
 
Hi Guys ! I'm get input from the user and then storing it in "s " and then trying make tokens, bu...
[6 replies] Last: Hi Guys ! Thanks to Peter and coder helping, your help was very fruit... (by menewbie)
by negus
comparison of permutations
 
Hi, the task I am given is to compare words that the user types in with the censored words. Each w...
[4 replies] Last: Right, sorting the words out will make it much simpler, thanks a bunch... (by negus)
How do I test my C++ code for an .exe Better explanation before
 
I wrote a code that takes an input from ATmega32 using an ousb.exe, How do i actually test my code i...
[1 reply] : what exactly is PORTB? (by coder777)
really struggling
 
hi i have been racking my brain for hours and at the best of times i struggle with c++ but have not ...
[6 replies] Last: Hey Joey, you'll get a lot more help and understanding if you post som... (by Duthomhas)
error C2552: 'MyConfigVariables' : non-aggregates cannot be initialized with initializer list
 
Hi all, i am trying to run one code on Visual studio .NET 2003. And it's givin following error. ...
[9 replies] Last: L B, thanks for the reply. Yes you are right _WIN32 is compiler defi... (by mini20071985)
Proceedural program
 
int ID,hours,pay1,staff,OT,OTH,GP,NP,i,total; char enter,grade,depname ,b,B,a,term; void op...
[9 replies] Last: Thanks very much ! It has cleared up that issue and now I've just got ... (by edwardnigma)
A simple question
 
Hello. I am curently learning about private classes and public ones.My question is , when i declare ...
[2 replies] Last: Thank you , i will give a try now. (by LifeFiber)
Super Noob question about c++ initializer
 
i am stuck on how to fix this code, it was my first real attempt at trying to make a program without...
[9 replies] Last: > why can't the compiler just say take away the >>endl; It would hane... (by JLBorges)
String matching algorithms
 
Hey can anyone give me a proper explanation of the KMP algo for string matching? (explanation with ...
[2 replies] Last: thank you, i did it in first place, but was not satisfied/couldnt unde... (by SirSmilesaLot)
Error reading in string from file
 
For class I have a project where I am given a file and the first line is a number that indicates how...
[6 replies] Last: Moorecm, You sir are a lifesaver. That was perfect, thanks! (by kfriede)
by Rhys64
Unhandled Exception
 
Hey I'm trying to create a Database program and every time I run the Program it will take in inform...
[1 reply] : There is a significant difference between char and char*: char: (%c)T... (by SirSmilesaLot)
C++ Event Handling
 
What is it and what would be an example of how it works?
[no replies]
alternative to nested #define statements
 
Hi - Though this doesn't work, it's what I'd like to do. The LOAD32 macro accepts two 16-bit valu...
[6 replies] Last: Agreed. I think I'll just tough it out and manually populate the array... (by mzimmers)
Allocate at specific address
 
I know windows has VirtualAlloc() and was wondering what the unix equivalent is for use with android...
[2 replies] Last: I'd say mmap() with MAP_ANONYMOUS is a bit closer to VirtualAlloc() th... (by Cubbi)
how to display an image?
 
ok im making a game and idk how to display a .png image on the screen. http://dl.dropbox.com/u/27086...
[13 replies] Last: Some advice: Stick to the course requirements and forget the fancy gra... (by Duthomhas)
Multithreading with Cilk
 
Hello Has anyone worked with Cilk before?I have a project that includes multithreading and i have...
[1 reply] : The manual seems to provide some pretty good examples: http://supertec... (by Duthomhas)
May 2012 Pages: 1... 1718192021... 41
  Archived months: [apr2012] [jun2012]

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