126 Posted Topics
Re: I don't really understand, this is a rather large project for someone who doesn't know how to use classes. I'm guessing this is for homework, surly they taught you the basics of developing such a system for you to even begin. Please tell us what it is for, I've given … | |
Re: What's your question? Or do you want someone to do the program for you? | |
Re: [code] int numbers[10]; for(int i=0; (i<10); i++) { cout << "Please enter number " << i << endl; cin >> numbers[i]; } cout << numbers[3]; cout << numbers[5]; cout << numbers[2]; [/code] Something like that? | |
Hey, I'm confused... Are Static references the same as Static variables? Thanks | |
What are instance variables please? Also, is this a good explanation for Encapsulation: Encapsulation or information hiding is all about hiding the details of the implementation of the interface. Encapsulation is used to prevent users from viewing the inner workings of the interface. A real life example of Encapsulation is … | |
Hey, I'm just wondering if it's possible to run an if statement through a class? The thing is, I wanna store users details and then when you search for a user, i.e "Phill" it returns all the information on that user. I'm using something like: [CODE] c1.GetName(); [/CODE] So something … | |
Hey, I'm trying to do a class for a games program, basically it will allow me to enter games into the class. Here is the code (It won't work) [CODE]#include <iostream> #include <windows.h> using namespace std; class Games { private: char game_title; char game_cost; char name; public: void set_values(char name, … | |
| |
Hey, am trying to create an application that displays a text box and a submit button, so that the user can type text into the text box, click submit and it saves it into a txt file. Could you help me please? Thanks in advanced | |
Hey, I'm new to win32 and basically, I want to create a program that reads commands from a text file and then does the command. So, say if I wanted to write some text on an application window, i'd just have to write: [CODE] lable.caption huuhaa [/CODE] I have done, … | |
Re: Couldn't use you [CODE] #define print(s) printf(s); [/CODE] dunno though :) | |
Hey, could I have a little help please. What I'm trying to do is display a message if the user clicks their mouse, I have: [CODE] int main() { mouse_event(MOUSEEVENTF_LEFTDOWN, x, y,0,0); } [/CODE] How would I get it to display a message? I'm thinking an if statement but dunno.. … | |
Hey there, the problem that I am having is that I'm trying to make a simple scripting language that is coded in notepad, then opens the Engine and it displays the code in a console window. I am currently stuck at displaying text on the screen, if I enter a … | |
Hey what I am trying to do is convert the total amount into Euros, what would the calculation be please? The user enters the current rate of Euro Thank you :) | |
Hey I need to create a test plan, I am using Black Box and White Box testing, what is the difference between the two please? | |
So basically, I'm creating a switch statement that if the user enters a p or if they enter a P it will still work, any ideas? Thank you | |
Basically what I am trying to do is get the width and height of the doors in a room. The user enters the number of doors in the room, it then goes into a for loop which then asks for the width and height of each wall. The problem is … | |
Hey, what I am trying to do is change the way I assign a title on a dos command prompt, so basically change the title input from: [CODE] system("TITLE welcome to my page"); [/CODE] to: [CODE] title("Welcome to my page"); [/CODE] I have tried to code it however there are … | |
Ok, so I am working on a project that changes: [CODE] cout << "this is a test script"; cin >> test [/CODE] to [CODE] say ("hiya"); input (name); [/CODE] It works fine but theres one problem, I don't want to code it into a complier like dev c++ I want … | |
Hey, I am trying to create something like Lua but c++. What I want to do is create an Engine that calls a txt file and then outputs it in c++ so that I do not have to compile it every time and I can edit my source in notepad … | |
Hey, what I am trying to do is change the way people open text files in c++. What I want to do is: open("example.txt"); which will then open the text file "example.txt" and have a header file that displays like: [code] string line; ifstream file ("example.txt"); if (file.is_open()) { while … | |
What I am trying to do is change the cin >> varible; into something different so when I find it easier when I code. The line that I am changing it to is input (varible); i am using this: #define input(i) cin >> (i); it works, however it will only … | |
Hey, I'm trying to make a basic engine in Lua that prints out "Hello World" now I have downloaded lua and put the files include files into the same folder. But it won't compile. Is there a linker I need? Please help :( thanks | |
Hey, I'm trying to upload a file to a FTP server using c++. The code works fine but it just will not connect / upload the file. I am using tripod, could this be the issue? Does anyone know any FTP sites that will allow me to upload please? Thank … | |
Hey, I want to create a new project in c++ that allows me to retrieve the files stored at college at home. What would be the best way to do this? Thank you :) | |
Hey, I am creating a project that writes to a file. The problem is that I don't want it to write to a file on my computer but to a file on my server. I am using this [CODE]ofstream myfile ("www.myurl.com/test.txt");[/CODE] What I want to do is open that file … |
The End.