49,761 Topics

Member Avatar for
Member Avatar for shaunkuro

I got some ploblem when i was doing smth here are the codes: // Wallhack.cpp : Defines the exported functions for the DLL application. // [code=cplusplus] #include "stdafx.h" /*creds to me,Roverturbo,Azorbix,Frit0 ,unreal*/ #include <windows.h> #include <detours.h> #include <d3d8.h> #include <d3dx8.h> #include "log.h" #include <fstream> #include <iostream> #pragma comment(lib, "d3dx8.lib") #pragma …

Member Avatar for mitrmkar
0
310
Member Avatar for jasonperez

Hi all. I need to read a .txt document with my c++ program. My .txt is data that I take from a GPS and it has different kind of data i.e. <timeStamp> <status> <latitude> <longitude> <altitude> <numSatellites> <HDOP> <X> <Y> <Z> <X2D> <Y2D> <Xdiff3D-2D> <Ydiff3D-2D> <NMEA_GGAstring><CR> and the information is …

Member Avatar for jasonperez
0
125
Member Avatar for winterx

Hello, I have a question. i have to write a program that cvalculates the average number of days a company's employees are absent. The program should have the following functions: A functcion called by main that asks teh user for the number of employees in the company. this value should …

Member Avatar for winterx
0
243
Member Avatar for camproject

I have written the below code to create a modaless dialog.what to do to view the dialog?it just blinks and goes away... [code]combodlg cd= new combodlg(this); cd.Create(IDD_DIALOG1, this); cd.ShowWindow(SW_SHOW);[/code]

Member Avatar for mitrmkar
0
75
Member Avatar for Q8iEnG

Hi :) I have a question, if you don't mind =] (What is the situation where quadratic probing is better than chaining?) I guess (as I'm thinking) while searching? maybe? because if the Hashtable have a lot of elements in chaining it'll take a lot of time searching the Hashtable …

Member Avatar for Q8iEnG
0
115
Member Avatar for faisaly

Dear All, Write the pseudo code for inserting a node in threaded binary tree. You code should describe how you will, 1. Set right and left child node pointers during insertion 2. Set right and left flags during insertion. Kindly guide me .

Member Avatar for Alex Edwards
0
309
Member Avatar for jack1234

I have seen SubclassDlgItem() at [url]http://functionx.com/visualc/controls/bmpbtn.htm[/url] It mentioned "The suggestion is to "subclass" your button class so the messages sent to the bitmap button would be applied effectively." I am not very clear with this statement...thus I go and find msdn [url]http://msdn.microsoft.com/en-us/library/0wx11zk9(VS.80).aspx[/url] but still not very clear. My question is …

0
78
Member Avatar for Misterguitar

Alright, the code im working on looks like this: [code] ... cin >> x; cout << ":"; cin >> y; ... [/code] and everything works fine, however when the user presses enter, it starts a new line, which ends up making everything looks wierd. Is there any way so that …

Member Avatar for Misterguitar
0
76
Member Avatar for sambafriends

Hi, guys I need good program in procedural programming language which shows there is no importance to the data It should explain the exact drawback of the procedural programming language

Member Avatar for CoolGamer48
0
139
Member Avatar for stewie griffin

Hi… I want to use graphics and I don’t know how. All want is few lines…

Member Avatar for stewie griffin
0
156
Member Avatar for jack1234

I have seen a lot of type LPSTR(and other like LPCSTR, etc) when coding using MFC. I just know it is equivalent to char*, but what LPSTR exactly is? (ie, is it a native type in C++, or a macro in C++, or a typedef in C++, or...)

Member Avatar for CoolGamer48
0
125
Member Avatar for amit1701

Hi, probably a stupid question, but I haven't been able to find anything. Is there a istream related function that let me read exactly one keystroke from the keyboard through cin? What I need it to do is this: - remove all characters currently in the input buffer - block …

Member Avatar for iamthwee
0
154
Member Avatar for justinclev

well i wanted to see if i could make a secruity program i got it set up but i wanted to make it restart the computer if the wrong passwords entered im using dev C++ please can you help

Member Avatar for Duoas
0
103
Member Avatar for originaldaemon

I am trying to create a simple database. Here is the code: [code=C++] #include <iostream> #include <fstream> #include "conio.h" #include <string> using namespace std; struct Station{ string url; string name; string genre; }temp; char userInput; string output; int fileSize; string searchParameter; int index; int results[1000]; int j;//temporary storage for a …

Member Avatar for Salem
0
97
Member Avatar for omarelmasry

I am making a c++ program and i need a function that does the following: IF u have an n (e.g: 4) digit number (IN THE FORM OF AN ARRAY) , each digit can take the vlaue from 0 to m (e.g: 5) and can exist more than once in …

Member Avatar for Alex Edwards
0
147
Member Avatar for SonxQ7

I get this error in the following code [code] //Error... error C2679: binary '>>' : no operator found which takes a right-hand operand of type 'int' (or there is no acceptable conversion) void Menu::readDates(istream& in, Date& dates) { in >> dates.getDay() >> dates.getMonth() >> dates.getYear(); } [/code] Thought '>>' can …

Member Avatar for CoolGamer48
0
115
Member Avatar for guy40az

I am using Visual C++ version 6. I need to know how to add a .lib file to a project. I want to add it as a static lib file.

Member Avatar for guy40az
0
129
Member Avatar for gangsta gama

Hello I am new at c++ and I was wondering, how would I write variables to a file so I can open them later on. I was wondering this because I was going to make a text based game to start out with, in c++. Also I was wondering how …

Member Avatar for gangsta gama
0
173
Member Avatar for Nemoticchigga

In vs2005 there is a winsock component, how do you receive data using the component? I found a ->SendData(blah), but cant find a receive. Does anyone know how to receive with this component? Thanks.

0
53
Member Avatar for Q8iEnG

Hi my friends, how do you do? I hope everything is alright.. :) Please may I have a few mins. from your time? It'll be much more appreciated :) I have this question (Write a member function to check whether two singly linked lists have the same contents.) anyone can …

Member Avatar for Q8iEnG
0
143
Member Avatar for camproject

I have two dialogs as I told before.there is a combo box in the first dialog.i have a text box in the second dialog.when i click a button, i get the second dialog in which the text box is present.i get the data in the text box in the combo …

Member Avatar for mitrmkar
0
117
Member Avatar for SonxQ7

Hi friends, trying to pass an ifstream to a function expecting an ostream...Should this be a problem? [code] ifstream fleetin; fleetin.open (filename); read(fleetin); //Error.... : cannot convert parameter 1 from 'std::ifstream' to 'std::ostream &' [/code] My parameter is declared as ostream&, or maybe i should just remove the '&', but …

Member Avatar for Ancient Dragon
0
82
Member Avatar for sangham

friends, i am new to c++ here is my prob. how can i map a string to an object of particular class.?? eg. mapping "abc" to obj of class PQR

Member Avatar for ArkM
0
58
Member Avatar for TheBeast32

Hi, I have bought [U]Programming Windows Fifth Edition[/U] by Charles Petzold. I was wondering if there are any differences between the Win32 API talked about in this book and the one that applies to Vista or anything newer than Windows 2000. Also, my book didn't come with the CD (I …

Member Avatar for TheBeast32
0
84
Member Avatar for TheBeast32

Hi, I have been making a macro building program. I am trying to handle mouse events right now. I have made a program that hooks the mouse, then puts information into a text file which is then read by another program. The recorder writes the delay in milliseconds, so the …

Member Avatar for TheBeast32
0
340
Member Avatar for justinclev

im sorry to bother you but i wanted to know BUT I AM USEING DEV C++ I WANT TO SEE HOW TO ADD A BACKGROUND TO A PROGRAM IS THERE ANY WAY YOU COULD HELP ME THANK YOU

Member Avatar for CoolGamer48
0
145
Member Avatar for Shadoninja

Could someone write an example program that opens up firefox? I would really like to see the syntax to do that. Thanks

Member Avatar for mengqing
0
114
Member Avatar for Code Shark

Hello, I read in a thread that you could use [CODE=C++]system("start http://www.daniweb.com/");[/CODE] to get the page [URL="http://www.daniweb.com"]Daniweb[/URL] but I am wanting to write a program that the user can enter a website that he wishes to go to then the program takes the user there. I got this so far …

Member Avatar for Ancient Dragon
0
185
Member Avatar for Alex Edwards

I'd like an opinion, although it will probably be biased since I'm asking the members of the C++ forum and not the members of Java. I'd also like to apologize in advance if this topic has been done before, but I don't like bumping old topics from years ago. I …

Member Avatar for sciwizeh
0
282
Member Avatar for anuizath2007

does anyone know what the error is?????.......... [code=cpp] #include<iostream.h> #include<conio.h> #include<math.h> void main() { void mtable(int ,int); int num,n,prod; cout<<"\n\n\tEnter the no"; cin>>num; mtable(num,n) ; cout<<"\n\n\tEnter the limit"; cin>>n; cout<<"\n After one call "; mtable(5,10); mtable(7,10); getch(); } void mtable(int num,int n) int prod=1; for(int i=0;i<=n;i++) { prod=num*i; cout<<"\n"<<num<<" * …

Member Avatar for anuizath2007
0
94

The End.