49,761 Topics
| |
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 … | |
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 … | |
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 … | |
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] | |
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 … | |
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 . | |
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 … | |
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 … | |
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 | |
Hi… I want to use graphics and I don’t know how. All want is few lines… | |
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...) | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 | |
Could someone write an example program that opens up firefox? I would really like to see the syntax to do that. Thanks | |
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 … | |
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 … | |
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<<" * … |
The End.