Forum: C++ May 13th, 2009 |
| Replies: 7 Views: 298 You could be facing the problem at either of these lines :
cin >> User;
cin >> option;
Most probably, they would leave a newline behind, in the input stream. Hence, the first getline() used... |
Forum: C++ Dec 23rd, 2008 |
| Replies: 3 Views: 620 hey .i got my problem solved.thanks for help |
Forum: C++ Dec 22nd, 2008 |
| Replies: 3 Views: 620 I am dealing with multiple monitors in which i required to use EnumDisplayDevices() API.
However, the linker gives me following error log (i am using VC++ 6.0) :
Linking...
SourceCode.obj :... |
Forum: C++ Dec 20th, 2008 |
| Replies: 4 Views: 412 @salem :
i apologise for cross-posting. As such i was confused in which forum to post. Hence i did so. however i didnt read the forum rules which was my mistake.
@ cikara21 : i didnt say any... |
Forum: C++ Dec 19th, 2008 |
| Replies: 4 Views: 412 I have been working on a program which requires to retrieve the names of all the current windows on the desktop. I can retrieve the name using the Windows API function GetWindowText(). But i require... |
Forum: C++ Nov 13th, 2008 |
| Replies: 0 Views: 602 I am developing a peer-to-peer RAT tool.
The mechanism i use is as follows :
client-side : connect to the server.
server-side : listen and accept the incoming connection.
The related code is as... |
Forum: C++ Nov 13th, 2008 |
| Replies: 1 Views: 814 Hey i have got the solution to my problem.. :)
Moderators may delete this post. |
Forum: C++ Nov 12th, 2008 |
| Replies: 1 Views: 814 I am writing a RAT in which i have also included a keylogger as a DLL file.
here is my code in the keylogger.dll :
//function.h -- the file which will be referenced by my RAT project... |
Forum: C++ Nov 6th, 2008 |
| Replies: 1 Views: 371 My project is to develop a 2D LAN ( 2- player) game in MFC. Would anyone of you recommend a game which would be easier to develop? |
Forum: C++ Nov 2nd, 2008 |
| Replies: 2 Views: 333 You mean that its all the matter of remembering the handlers of which the base implementations are required to be called. And for the rest, its upon me whether to call or not. right?
OK then. I will... |
Forum: C++ Nov 1st, 2008 |
| Replies: 2 Views: 333 Well, this post might seem weird but as i am very much confused, i thought to seek some help from here.
My question is : When should i call a base class implementation of a message handler in my own... |
Forum: C++ Oct 25th, 2008 |
| Replies: 2 Views: 1,528 i think GetWindowRect() actually uses a rectangle based on screen co-ordinates. But my toolbars are also dockable on either sides, thus changing the co-ordinates. So i dont think GetWindowRect() can... |
Forum: C++ Oct 25th, 2008 |
| Replies: 2 Views: 1,528 Does CWnd::GetClientRect() include the toolbar region?
Whenever i use InvalidateRect(), i pass the entire client region for repaint, inorder to retain the client window contents :
... |
Forum: C++ Oct 9th, 2008 |
| Replies: 11 Views: 760 this code is not at all acceptable. First of all, no variable of your program can have a name which is a reserved keyword of C++. You have used 'while' as a variable.
Another thing is your while... |
Forum: C++ Oct 8th, 2008 |
| Replies: 11 Views: 760 :D
it was just in case if you use such words liberally (which a few of my classmates do ;) )
Anyways its fine that you know. So better i conclude. :) |
Forum: C++ Oct 8th, 2008 |
| Replies: 7 Views: 483 >>now whatever I change in the pointer of a, also gets changed in b. So they both are pointing to the same thing, is there anyway I can get the address of to what they are pointing ?
From what i... |
Forum: C++ Oct 8th, 2008 |
| Replies: 7 Views: 483 :|
umm..you mean the value?
for value, dereference it. *variable gives the value. |
Forum: C++ Oct 8th, 2008 |
| Replies: 11 Views: 760 You said that you want to do it through while loop (not 'command' :) ). For that, take some character/BOOL variable and assign to it the value Y/y/TRUE. Then, run the loop with the condition so that... |
Forum: C++ Oct 6th, 2008 |
| Replies: 1 Views: 287 yes..this is correct provided that the pointer
> struct node* LL
you are passing is the starting of the linked list. ;) |