Forum: C++ May 7th, 2009 |
| Replies: 2 Views: 241 OMG OMG....
>.<
thanks...
silly me |
Forum: C++ May 7th, 2009 |
| Replies: 2 Views: 241 Hi, I got homework about tree data structure
professor wrote his own tree stuff which are: binnode.h and bintree.h
the actual file is tree.cpp
binnode.h
#ifndef BINNODE_H
#define... |
Forum: C++ May 2nd, 2009 |
| Replies: 4 Views: 521 Hi, this is what i'm trying to do
class a
{
private:
string attribute;
string p_msg;
public:
string& getAttribute()
{ |
Forum: C++ Apr 23rd, 2009 |
| Replies: 1 Views: 776 Hi guys,
I need a help on my assignment.
Background
A data transmission system typically breaks a large message into smaller packets. In some
systems, the packets can arrive at the... |
Forum: C++ Apr 1st, 2009 |
| Replies: 24 Views: 1,439 Hi, I'm back >.<
Been busy with other assignment.
Hmm, Yea I realize that I should use array shifting.
But I still have problem in the input
... |
Forum: C++ Mar 28th, 2009 |
| Replies: 24 Views: 1,439 umm... thats right... lol sorry I didn't look close enough...
I'm frustrated with the output format, but I got it now.
So the next part is complete the movePuzzle function.
The project... |
Forum: C++ Mar 28th, 2009 |
| Replies: 24 Views: 1,439 Hmm,
but initPuzzle function is in the puzzle.h
void initPuzzle(int puzzle[][COLS], unsigned int seed)
{
/* Initialise the puzzle and scramble it around */
int x, y; |
Forum: C++ Mar 28th, 2009 |
| Replies: 24 Views: 1,439 The function initPuzzle suppose to populate array, setup the puzzle and scramble the order of number.
So it will be something like
| 0 1 2
--------
0 | 1 6 3
1 | 2 5 4
the movePuzzle... |
Forum: C++ Mar 27th, 2009 |
| Replies: 24 Views: 1,439 does anyone know how to make the initPuzzle works properly? |
Forum: C++ Mar 27th, 2009 |
| Replies: 24 Views: 1,439 Hi, umm... I appreciate the concern for using sstream. But the project specification requires me not to add any other library in the code. I'm not allowed to change the puzzle.h (that means no new... |
Forum: C++ Mar 27th, 2009 |
| Replies: 24 Views: 1,439 Hmm, I tried to print the 2D array:
#include "puzzle.h"
void printPuzzle(int puzzle[][COLS]);
int main(int argc, char *argv[])
{
unsigned int seed; |
Forum: C++ Mar 27th, 2009 |
| Replies: 24 Views: 1,439 Hi Jason,
thanks a lot for the explanation. However, I want the program to take only 1 parameters for the seed (argv[1] will be assign to seed).
So I want to get rid of the parse function. Can I do... |
Forum: C++ Mar 27th, 2009 |
| Replies: 24 Views: 1,439 Hmm, I've been working on it again for 2 hours now...
this all I got... When I tried to print the puzzle array, it just display some random memory. I have no idea what seem to be the problem.
... |
Forum: C++ Mar 27th, 2009 |
| Replies: 24 Views: 1,439 Can someone explain specifically about command line argument? |
Forum: C++ Mar 27th, 2009 |
| Replies: 24 Views: 1,439 I've been working on it for hours... >.<
So the program will take command line argument and pass it to initPuzzle right?
I'm a bit confused about the commandLineArguments function.
Can't I... |
Forum: C++ Mar 27th, 2009 |
| Replies: 24 Views: 1,439 Hmm, so the command line function is a new function that I should declare inside the int main(int argc, char *argv[])?
I tried something like this:
int main(int argc, char *argv[])
{
int... |
Forum: C++ Mar 27th, 2009 |
| Replies: 24 Views: 1,439 Hi, I've got a puzzle game program consist of 2D array 2 rows x 3 cols.
The professor wants no changes to be made in puzzle.h, which is:
#ifndef _PUZZLE_H
#define _PUZZLE_H
#include... |
Forum: C++ Mar 19th, 2009 |
| Replies: 1 Views: 302 Hi, I'm trying to work on a program to reverse string input upper case to lower case vice versa. I got that part working but the second thing is I have to count the number of graphical character from... |
Forum: C++ Mar 11th, 2009 |
| Replies: 2 Views: 414 jesuss............................
I've been working on this all day....
OMG!!!!!!!!!!!!!!!
I've should have noticed it earlier..............
THANKKKKKKSSSSSSS |
Forum: C++ Mar 11th, 2009 |
| Replies: 2 Views: 414 Hi, I know this kind of stuff been wandering around. I did have a look through the search function but I haven't got the answer.
This is the program to check whether the number inputted is a prime... |
Forum: Windows NT / 2000 / XP Jun 2nd, 2008 |
| Replies: 4 Views: 1,757 ok, i did buy norton ghost 12. but will it be able to make recovery cd to restore all my windows with setting and programs even if i can't get windows started?
can someone help with the step? i... |
Forum: Windows NT / 2000 / XP Jun 2nd, 2008 |
| Replies: 4 Views: 1,757 Hi guys, I really need your help. I'm Using windows XP SP2. I want to make a recovery CD for it, but I want it to include all my settings and application so that i don't need to install every single... |
Forum: Windows NT / 2000 / XP May 24th, 2008 |
| Replies: 1 Views: 732 How to copy the OS to new hardisk? |
Forum: Windows NT / 2000 / XP May 23rd, 2008 |
| Replies: 1 Views: 732 Hi, I'm using ASUS W5F T2300 1.66GHz.
Windows XP Home Edition SP2.
Hardisk HTS421280H9AT00 --> 2 Partitions: drive C: and D:
I got some registry issue that makes my windows need to be... |
Forum: Viruses, Spyware and other Nasties Mar 20th, 2008 |
| Replies: 0 Views: 677 Hi guys,
I'm experiencing windows explorer error everytime i open movies folder in my external Hardisk.
I tried to search google and found one person with exactly the same problem
... |
Forum: Windows NT / 2000 / XP Mar 19th, 2008 |
| Replies: 2 Views: 1,021 This is the error message
the instruction at "0x04681caf" referenced memory at "0x00000048". The memory could not be "read"
click on OK to terminate the program
click on Cancel to debug the program |
Forum: Windows NT / 2000 / XP Mar 19th, 2008 |
| Replies: 2 Views: 1,021 Hi, Im using windows XP home edition at the moment.
Recently I use bit torrent and download like 3GB files everyday which is stored in my C: drive.
2 days ago, when i tried to move the file i... |
Forum: Networking Hardware Configuration Mar 17th, 2008 |
| Replies: 0 Views: 1,045 I'm using TPG ADSL2+ broadband connection at home, since i use it for torrent purpose, so i did portforwarding and static IP.
Couple of days ago my IP got banned from 4chan.com, they said i post... |
Forum: Windows NT / 2000 / XP Mar 9th, 2008 |
| Replies: 2 Views: 437 Hi, Im using windows XP home edition right now. Couple of weeks ago I started using torrent. When I diagnose the computer using system mechanic professional. It says "error is detected in ur hard... |
Forum: Windows NT / 2000 / XP Nov 5th, 2007 |
| Replies: 1 Views: 862 hi techs...
I'm using norman virus control on XP right now...
last night... i got the spyware called IE DEFENDER... but now i already remove it manually and everything is working normal now... |
Forum: Viruses, Spyware and other Nasties Oct 28th, 2007 |
| Replies: 1 Views: 776 Hi techs... I'm currently using ASUS W5F now... and couple of days ago... I installed System Mechanic Pro 7. After the installation, i started using it... doing scan... and it found something that... |
Forum: Networking Hardware Configuration Oct 28th, 2007 |
| Replies: 1 Views: 1,193 Hi i'm using ASUS W5F rite now... and i got 2 antivirus active scan which are AVG Free edition and Norman Virus Control... and windows firewall activated...
about a week ago... i try to mess up... |
Forum: Viruses, Spyware and other Nasties Oct 28th, 2007 |
| Replies: 1 Views: 1,134 Hi i'm using ASUS W5F rite now... and i got 2 antivirus active scan which are AVG Free edition and Norman Virus Control... and windows firewall activated...
about a week ago... i try to mess up... |
Forum: Windows NT / 2000 / XP Oct 28th, 2007 |
| Replies: 0 Views: 1,658 Hi techs... I'm currently using ASUS W5F now... and couple of days ago... I installed System Mechanic Pro 7. After the installation, i started using it... doing scan... and it found something that... |