General C++ Programming - August 2011 (Page 5)

by madjas
strings help
 
im trying to write a code using stack container(templated) where my program would have to read strin...
[16 replies] Last: tanks guys i did appreciate and learned from you. (by madjas)
error C2440: 'return' : cannot convert from 'class RawTestData (__cdecl *)(void)' to 'class RawTestData &'
 
skywarddoc.h(328) : error C2440: 'return' : cannot convert from 'class RawTestData (__cdecl *)(void...
[1 reply] : static RawTestData m_RawTestData(); You're declaring it as a fu... (by Disch)
Using a pointer in other program
 
Ok, let's assume that i've written this code: #include <iostream> #include <sstream> #includ...
[2 replies] Last: Thank's that sure helped a lot ;) (by sin0emp)
Regular Expressions
 
hello, I need the support of regular expressions to parse certain outputs..by googling i found out ...
[4 replies] Last: Just so you know, it takes a while for boost to compile. After it do... (by Duthomhas)
by jpotts
Pointer error
 
Hi, Im currently in the process of learning about pointers and dont know all that much about them ...
[13 replies] Last: in the line: int* array = new int what does the pointer do after i... (by jpotts)
Free pointer???
 
this my code: int fn_Test(){ char *a = (char *)malloc(10); free(a+2); //error printf("%c",a ); ...
[19 replies] Last: I suppose that the behaviour is similar http://www.parashift.com/c++-f... (by ne555)
passing iostream through functions
 
I am trying to create a logging function that accepts loggin info (strings, variables, etc) and an o...
[1 reply] : If you want to pass std::cout (or whatever) to a function, it's best... (by closed account zb0S216C)
Reading huge binary files
 
Hello guys :), I have a binary file whose size is 80 GB. I need to read it in chunks, but as I kn...
[6 replies] Last: OK Thank you. I'll try using fstreams and get back to you :) (by TheDestroyer)
"C++ isn't cross platform"
 
As my C++ book tells me C++ programs can only be used on the specific CPU and OS you compiled it on ...
[5 replies] Last: Most likely (if you compiled for x86 (aka 32-bit)). Although I heard W... (by Athar)
Reading data from memory that's being used by another program.
 
Is it possible to read data that's being stored in memory from another program? If I'm correct is...
[1 reply] : Yes, it depends on the OS. It can be done with ReadProcessMemory on Wi... (by Athar)
Reading .ASE file
 
Hello, sorry if my q is little lame, but how I can read .ASE file and put the vertices in a variabl...
[no replies]
Random Number Generator (ipv4)
 
I'm trying to get this code to work and cannot figure it out where what exactly is wrong with this. ...
[6 replies] Last: Yeah I got those weird errors after I opened the file with gedit, I gu... (by takeWarning)
compiler priorities in conversion
 
Hi, I've read that the compiler is ready to take up to 2 steps of conversion , by the following ...
[5 replies] Last: MSVC++2010. (by hamsterman)
Return back to a line
 
Hi guys! I was programming a new game (text rpg) I need to go back in a line. I know the command g...
[6 replies] Last: Well, if you need goto , Donanza , I'd say you need to reconstruct... (by HenriK)
Array of objects with no default constructor workaround
 
I understand that only default constructors can be used to instantiate arrays. I'm working on a p...
[4 replies] Last: Thanks guys. Not able to use std for this, however, which means no ... (by Sythion)
stray \20 compiler error
 
I get these errors from a header page within my program: ScorePlayerMatch.h:20: error: stray '\20...
[2 replies] Last: thanks...there is some mystery space between the 8 & 0..3 & 0...7 & 0.... (by paulmcco)
Ways to take screenshots and analyze them through program?
 
Hey, I'm looking for a way that I can make a program that takes screenshots of a screen analyzes the...
[no replies]
XOR Checksum Question
 
Hi, I am trying to implement an XOR Checksum algorithm, which takes in a binary file and performs...
[2 replies] Last: If you want to stick to your algorithm, you could at least increase it... (by m4ster r0shi)
Help loop problem
 
please help me with this 1. Write a program to list the numbers from 0-25, their squares, 3rd pow...
[7 replies] Last: her homework.. (by Teddy16)
Vtables for a class
 
Hi From my understanding , every class that has at least one virtual function , or inherit virtua...
[7 replies] Last: It's not that asking questions is bad, it's just that we can't help yo... (by Disch)
August 2011 Pages: 1... 34567... 29
  Archived months: [jul2011] [sep2011]

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