- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 25
- Posts with Upvotes
- 17
- Upvoting Members
- 14
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Re:
A program that uses hooks to detect keypresses and write them to a file. |
|
Re:
What is the difference between "int main(void)" and simply "int main()"? Is "int main()" acceptable? |
|
Re:
2 Questions: 1. How is the windows cursor drawn? ddraw? I don't understand and I can't find any information on it. 2. When you control alt delete in windows 7 how is that screen drawn? Thanks |
|
Re:
Hello everyone. Is there any MFC function to get my own window handle? I'm creating window with Dialog box without title, so i can't use FindWindow(); Maybe there is something like AfxGetInstanceHandle() but i could get window handle? Thank you |
|
Re:
Hello, Please tell me how can i generate an array in mfc, how can push element and how can initialize array? I want to make dynamic array of hexadecimal values. Thanks. |
|
Re:
First off, sorry if this is the wrong section, but sense I'm working with graphics, I thought it would be more appropriate for the game dev topic. Okay, whenever I start debugging from VC++, I segfault. But when I run my program outside of VC++, it runs perfectly fine. If … |
|
Re:
I have a custom .Ini file that looks like this : [QUOTE] [Main props] lives=3 name=danny [Mommy props] lives=2[/QUOTE] I want to know how to read from the "Main props" section and assign a new value to the "lives" key and also reading from the "name" key. I dont know … |
|
Re:
Hi, I'm using Borland C++Builder V5.0. I simply want to pass a variable between two C++ TThreads. I searched a lot on the Internet but can't find anything like that. Simply copying by calling another threads function or property is no option. The compiler thinks it's okay but when executing … |
|
Re:
I want to optimize the following small integer program in speed. My g++ compiler version is 4.3.4 on 32 bit linux. Please suggest or comment the following ideas. Some ideas are: 1. use compile flag such as -O3 2. rewrite the bigger function with function object [CODE]#include <algorithm> #include <cstdlib> … |
|
Re:
Well I have a gui and I want to change its process name or dont display it on process at all how do I do it? |
|
Re:
I was wondering if its possible to embed c++ into an Html website. Is there some engine that does it for you, or is it just not possible? Thanks. |
|
Re:
chk this piece of code [CODE]#include<iostream.h> using namespace std; class hi { public: void print() { cout<<"hi"; } }obj; int main() { hi *h; h->print(); } [/CODE] output---> hi -------------------------------------------------------- [CODE]#include<iostream.h> using namespace std; class hi { public: void print() { cout<<"hi"; } }obj; int main() { obj.print(); } [/CODE] … |
|
Re:
Hi there, I am new to C++ and trying to get my head around it. I am writing really simple and small programs and I have Visual C++. Now, can anybody summarize how I can run a program I wrote with C++ on Visual? The guide that comes with the … |
|
Re:
I know how to make 64 bit integers but how do I make 64 megabit integers? That is a bit rate of (1024^3)*64 bits. Is this a simple job as I don't know where to begin. I thought somebody might know of a library/script that will allow custom bit rates … |
|
Re:
Hi, I'm just learning win32 and i wanna know: is it really necessary that i memorize all of the syntax. Is that what professionals do? Or can I just copy and paste it every time and just know what it does. Thanks, Hawkpath |
|
Re:
I am relatively new to C++ and am currently taking a course for it. One of my assignments is to make a calculator for hourly wages and figure gross and net pay based on a fixed percentage for taxes. I am able to compile the code if I change the … |
|
Re:
If I have a void pointer that needs to point to a struct. I'm not sure how to access the struct through the pointer. Can I even do that? If so, how? [CODE] #include <iostream> struct test { int var1; int var2; }; int main() { void *pPointer; pPointer = … |
|
Re:
I am trying to find the best cmplier for the C++ program. All answer will accepted. |
|
Re:
Hi... I'm trying to study graphs but I cant find a good tutorial on it. I googled it, but couldn't find what I needed. Can you please suggest me a good tutorial on graphs in c++. I am basically looking for how a graph class is implemented in c++, an … |
|
Re:
I have a problem with this topic ..Solution to algorithm using static and dynamic data structure |
|
Re:
Ok, straight to the point here's the code: [code=cpp]#define UWM_KEYBOARDHOOK_MSG \ _T("UMW_KEYBOARDHOOK-" \ "{B30856F0-D3DD-11d4-A00B-006067718D04}") UWM_KEYBOARDHOOK = RegisterWindowMessage(UWM_KEYBOARDHOOK_MSG); [/code] I put only 2 lines which makes the error Compiler output [code]1>.\DLLMain.cpp(25) : error C3861: '_T': identifier not found[/code] I tried to insert the _T to different places and search internet and … |
|
Re:
Hello Helper, This is my code. I want to compress the file encrypted and then decrypt the same original file.Can you help ? /* [CODE]#include<iostream.h> #include<conio.h> #include<fstream.h> #include<stdio.h> #define ENCRYPTION_FORMULA (int)Byte+25 #define DECRYPTION_FORMULA (int)Byte-25 int Encrypt(char *FILENAME,char *NEW_FILENAME) { ifstream fin; ofstream fout; char Byte; char NewByte; fin.open(FILENAME,ios::in,ios::binary); fout.open(NEW_FILENAME,ios::out,ios::binary); if(!fin) … |
|
Re:
This is my program, it causes memoryleaks. I show only a small part where the problem exist. Starts with the header then the cpp. ParticipatorRegister.h [CODE] #ifndef PARTICIPATORREGISTER_H #define PARTICIPATORREGISTER_H #include "Participator.h" class ParticipatorRegister{ private: Participator **arr; int inc, init, elem; void initiate(); //void expand(); public: ParticipatorRegister(); ~ParticipatorRegister(); //void save(ofstream&); … |
|
Re:
Hi, i'm using VC++ 6.0. I'm having some activity in my program(e.g. moving object in a timer). If this object gets to the end of the screen and i press a key(doesn't matter which) a message shows up - MessageBox("You won"); or something like that. But if i do not … |
|
Re:
i DO have searched the google to do multithreaded programming using c++ and found there were few like the ones supported in BOOST libraries and zthreads .. I would be glad if u guys could help me in suggesting much better ways in doing so . |
|
Re:
This shows how to get the size of all the files in a folder, and all its sub-folders on MS-Windows operating system. It uses recursion to transverse all the directories, and return a 64-bit integer. It was compiled with VC++ 2008 Express and Code::Blocks Version 8.02 with MinGW compiler. |
|
Re:
I finished my tic tac toe game program, I`d like to know if anyone can tell me what I need to do in order to send the .exe file to someone and make it so the file executes without problems. Thanks guys |
|
Re:
// Samy1.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "math.h" using namespace std; int main() { float c; c = log10(100.0)* 10 ; cout<<c; int a; cin>>a; return 0; } Hi All, I tried above program in VC6, and compiled fine in both debug … |
|
Re:
Hi guys, Im doing this project in VC++ 2005. I cannot seem to get the size for my directory. No error is returned when I use GetLastError(); Both Low and High are coming out as 0. I do get a handle value for MF ( dunno how to verify if … |