General C++ Programming - September 2010 (Page 11)

by DLNOOP
Convert textBox entry to char
 
This is a Windows Forms Application. Using MS Visual Studio 2008 I would like to know how to conver...
[10 replies] Last: Eh... yeah, I sorta forgot that there was that bit about how to transl... (by Albatross)
I/O array of integer
 
hi, im trying to read and write an array of integer to/from a file. i use this to write to a fil...
[no replies]
Create an exe from an exe.
 
Hi everybody. I have a question, how could i create an exe from my project ? I'm opening the file ...
[5 replies] Last: Yeah something like that, i have to make the builder (like program win... (by krosty4782)
by kaduuk
devc++
 
Hey guys! I just saw there's a wxdevc++ version.. The only version I knew of was the bloodshed v...
[2 replies] Last: ok thanks! (btw is it just here, or is wiki not working this whole eve... (by kaduuk)
by Null
Problems with vectors and pointers
 
Hello, Here's the code: struct object_t { int n; // ... }; struct action_t { ...
[9 replies] Last: If you do insist on implementing your own solution, like above, consid... (by moorecm)
EXTRACT_BIT
 
Hello everybody, could anyone kindly explain to me how does this line of code work step by step?...
[1 reply] : (1<<i) left shifts one by i places. (n&(1<<i)) performs a logical AND... (by kbw)
Problem creating and using template
 
#include <iostream> using namespace std; template<class T, int size = 100> class Array { T ar...
[3 replies] Last: You shouldn't. Does it compile if you change the line to h[ i ] ... (by jsmith)
by mTy
[C++] Convention
 
Hey, i like to convent this code into BYTE . //Patch is a funktion. DWORD JMPAdr = 0xE9 + (DW...
[10 replies] Last: What do you mean? I have always been here :P lol, I guess I'm the one... (by blackcoder41)
by Creak
Duplicate inherited class
 
Hi! I often get to this problem, so I'm asking here if anyone has a nice, sexy and OO way to do i...
[9 replies] Last: Thanks for the link jsmith. It's also named the Protoype pattern: htt... (by Creak)
allows the user to enter his Family name,given name, middle name;
 
allows the user to enter his Family name,given name, middle name; this format: Family Name: CEMENT...
[1 reply] : and the question is? (by coder777)
How to store an object as a RAM in program?
 
Hi All, I need your help regarding VC++ chi2 statistical test take lot of time in calculations...
[3 replies] Last: hm, variables are always in RAM aka memory. Maybe you want them in ... (by coder777)
Assertion error
 
I have another dialog called Login Dialog. Basically it has two text boxes. One is Username_Box and...
[19 replies] Last: thanks for trying to help me anyway (by carlsum1986)
how to read multiple columns of data from file
 
hi guys i am having a trouble to read multiple columns of data from file. for e.g. 2 3 4 5 6 8 9...
[5 replies] Last: Something I don't really like about C++ iostream and stringstream rela... (by sohguanh)
by Uni616
Matrix Multiplication using multi-threads gets segmentation fault
 
Hello, I'm trying to write a program that calculates up to a 1024 x 1024 matrix using multi-threadin...
[1 reply] : The main problem is that you're overflowing the stack by allocating a ... (by helios)
Stack around variable corrupted
 
I keep getting this error Run-Time Check Failure #2 - Stack around the variable 'chTemp' was corrupt...
[2 replies] Last: thanks alot that worked wonders....i could be wasting hours before fin... (by carlsum1986)
Dynamic memory management
 
Hello.My Problem is that if I new an object in a function, say to create a character string on the h...
[17 replies] Last: That is all that my example was meant to show. Clearly, std::string... (by sohguanh)
registry and bad pointer problem
 
hi I have a function which returns me a variable then I use that variable to write to the registry.....
[2 replies] Last: yay it passed the exception...now my conversions has a bit of a proble... (by carlsum1986)
by LB
How do I clear a file?
 
Is there any way to clear a file on/immediately after opening it with ofstream? When I use ios_base:...
[3 replies] Last: remove ios_base::app (by blackcoder41)
problem of inheriting from a STL function class
 
My program can't be compiled through by GCC 4.3.3. The part of the program causing the problem is si...
[11 replies] Last: A call of operator() method of object o within func function will caus... (by breadbread1984)
Two Basic Questions !
 
Hi. I have 2 Basic Questions. One. What's difference between these codes? 1. char ch; 2. c...
[5 replies] Last: You meant for the array to be ch1 , otherwise you have two variables w... (by LB)
September 2010 Pages: 1... 910111213... 20
  Archived months: [aug2010] [oct2010]

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