Forum: Geeks' Lounge 19 Days Ago |
| Replies: 9 Views: 481 mmm thanks (: So what would you say is the main factor in Windows becoming the leader in the market? |
Forum: Geeks' Lounge 19 Days Ago |
| Replies: 9 Views: 481 I guess, it's a hard to say. Personally, I thought it was wrong to say that the sole reason why Microsoft become so dominant was because of OOP if NexT came before or atleast was working on it before... |
Forum: Geeks' Lounge 19 Days Ago |
| Replies: 9 Views: 481 Which introduced OOP in their operating systems first? For example, I'm working on an assignment and writing about OOP and I'm going to say something like:
"Microsoft, introduced OOP on their... |
Forum: C++ 23 Days Ago |
| Replies: 2 Views: 299 If you were asked to describe the techniques to C++ would you talk about like, Inheritence, Re-use etc or something else? I don't understand :(
Help please! |
Forum: C++ 24 Days Ago |
| Replies: 3 Views: 271 :o seriously? Thank you :) Are you sure though? (: |
Forum: C++ 24 Days Ago |
| Replies: 3 Views: 271 Hey, I need to create some pseudo code for a class and I dunno if I've done it right or not. Any help?
Begin class Employee
Initialise empty constructor Employee
Initialise constructor... |
Forum: C++ 24 Days Ago |
| Replies: 0 Views: 229 Hey there, please could you tell me if the CRC cards that I've created for my classes are alright please?
There are 4 classes:
Employee
Manager
Game
Platform
Manager inherits from Employee |
Forum: Computer Science 32 Days Ago |
| Replies: 3 Views: 658 Hey, I'm applying to University to study Computer science and need your opinion on my personal statement:
From an early age I have always been extremely interested in computing. From playing... |
Forum: C++ 34 Days Ago |
| Replies: 2 Views: 299 Hey, I'm trying to put all the objects of my class into an array so it will be easier to display.. It doesn't work though! Here is the code:
#include <cstdlib>
#include <iostream>
#include... |
Forum: C++ Nov 12th, 2009 |
| Replies: 4 Views: 221 |
Forum: C++ Nov 12th, 2009 |
| Replies: 4 Views: 221 Can you do that in C++? I mean, connect to a database online using MYSQL?
Thanks for your help :) |
Forum: C++ Nov 12th, 2009 |
| Replies: 4 Views: 221 Hey there, I'm wondering if it is possible to read a PHP file (on the web)
through C++?
For example, I have a system that allows people to enter some information online (stored in a database) I... |
Forum: PHP Nov 12th, 2009 |
| Replies: 3 Views: 231 |
Forum: PHP Nov 12th, 2009 |
| Replies: 3 Views: 231 That I can get the street name from a post code in PHP? For example, someone enters their post code and it comes up with the street name rather than them having to type the whole thing out?
... |
Forum: C++ Nov 10th, 2009 |
| Replies: 1 Views: 185 Hey there, wonder if you can help me..
I have three classes:
1. Person
2. Accounts
3. Purchases
(Accounts and Purchases both inherit from Person)
You don't need an account to make a... |
Forum: C++ Nov 5th, 2009 |
| Replies: 3 Views: 122 Hey, I've created this class, it compiles OK but when I go to use the class it fails. It comes up with a pop-up saying something like 'Unexpected Error'
'Class'
class Person
{
public:
... |
Forum: C++ Nov 5th, 2009 |
| Replies: 4 Views: 257 Ahh, thanks but I'm still really confused :(
If I had a teacher and a classroom what could I use as the association because there needs to be 1 :( |
Forum: C++ Nov 4th, 2009 |
| Replies: 4 Views: 257 Right, you're going to think I'm crazy but is Association like "Has is"
For example:
I have 2 classes, Teacher and Classroom, to create association would be:
Teacher has a Classroom?
Thanks |
Forum: PHP Oct 26th, 2009 |
| Replies: 7 Views: 301 Hey, I need to create a search engine that searchs through a database but the wild card doesn't work for me:
<?php
include ('header.php');
$s = $_POST['search_term'];
$by =... |
Forum: C++ Oct 25th, 2009 |
| Replies: 1 Views: 117 |
Forum: C++ Oct 24th, 2009 |
| Replies: 3 Views: 153 Don't rush things but on the other hand set yourself goals (As long as they're manageable) Obviously, saying I'll develop a operating system that will beat windows 7 within 3 months is a little bit... |
Forum: C++ Oct 23rd, 2009 |
| Replies: 12 Views: 854 int to return value:
int main()
{
// code
// code
return 0;
} |
Forum: C++ Oct 23rd, 2009 |
| Replies: 6 Views: 279 It really depends on what you want to do, software development, web development etc.. I know, that it isn't "healthy" to think about what you will do in 10-20 years time as a job. A lot of software... |
Forum: C++ Oct 23rd, 2009 |
| Replies: 12 Views: 854 I'm not allowed to give any code away.. What are the errors? |
Forum: C++ Oct 23rd, 2009 |
| Replies: 3 Views: 155 comment it?
// line of code
or have I missed the point? :P |
Forum: C++ Oct 23rd, 2009 |
| Replies: 4 Views: 160 This is not an adequate effort. I'm sorry but your place of study wouldn't have sent you away with this kind of assignment only teaching you half-done simple syntax.. |
Forum: C++ Oct 23rd, 2009 |
| Replies: 12 Views: 854 The reason your switch statement isn't working is because the syntax is incorrect. I'll describe your problem(s) the best way I can:
switch (option); // Shouldn't have the semi-colon, delete it... |
Forum: C++ Oct 23rd, 2009 |
| Replies: 12 Views: 854 Hey, first off:
1. Your code isn't in code tags.
2. Your code layout is... mediocre
3. Why are you voiding main?
4. You haven't said what the error(s) are. |
Forum: C++ Oct 22nd, 2009 |
| Replies: 11 Views: 334 Please post your code in tags. |
Forum: C++ Oct 22nd, 2009 |
| Replies: 3 Views: 170 Off the top of my head:
A class is a type of abstract data type that enables you to store things in arrays, it enables you to re-use code without having to create new code for the same things. It... |
Forum: C++ Oct 22nd, 2009 |
| Replies: 3 Views: 170 Off the top of my head:
A class is a type of abstract data type that enables you to store things in arrays, it enables you to re-use code without having to create new code for the same things. It... |
Forum: C++ Oct 22nd, 2009 |
| Replies: 10 Views: 347 Hey (I usually get shouted at for giving code) But wouldn't you just put it in a cout statement? For example:
string code;
code = "// the code";
cout << code;
I think that's what you... |
Forum: C++ Oct 21st, 2009 |
| Replies: 3 Views: 170 Hey, I have to create class diagrams for each of class that I have created. I have currently create 4.. Please could you have a look at the example class diagram and tell me if it looks alright or... |
Forum: C++ Oct 21st, 2009 |
| Replies: 3 Views: 201 Thank you :) So in theory, this should work:
Classes:
class Person
{
public:
Person();
Person(int theID, char theName[], int theAge, char theAddress[], char... |
Forum: C++ Oct 21st, 2009 |
| Replies: 8 Views: 250 Ahh, my bad. I should have thought before editing it again with the quotation marks :P I will take the time to compile it before I submit next time (Y) |
Forum: C++ Oct 21st, 2009 |
| Replies: 8 Views: 250 My bad :) I didn't give him any free code neither did I compile it. |
Forum: C++ Oct 21st, 2009 |
| Replies: 8 Views: 250 As for your other question about waiting between each line.. Not recommended but...
Sleep(3000); |
Forum: C++ Oct 21st, 2009 |
| Replies: 8 Views: 250 #include <iostream>
#include <iomanip>
#include <string>
using namespace std;
int main()
{
system("cls");
//int Object; why are you declaring Object twice?
string Object;
cout << "Enter the... |
Forum: C++ Oct 21st, 2009 |
| Replies: 3 Views: 201 Hey, I'm currently learning about classes and I am wondering how to implement a sub-class into a class.
I have a class atm called "Person" but I want to create a sub-class called administrators.... |
Forum: C++ Oct 20th, 2009 |
| Replies: 1 Views: 189 This might seem really, really cheeky (shout at me if you want) but if anyone has the time and wouldn't mind reading through my assignment, telling me if the information looks OK (it's only for a... |