Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

You mean you wanted until the day before the assignment is due to get started?? Good luck.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

ListBox has a FindString() method. When you enter text in the textbox, pass the text on to ListBox.FindString(). If you need anything more complex searching then that, I'm afraid you will have to do the work yourself as deceptikon said.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

I think the problem is line 36. freenode is the new node to add to the head of the linked list. all you have to do is this:

freenode->next = top;
top = freenode;

line 45: you need a break statement before the next case.

line 11: main() always always, always returns int. Some compilers will allow void return but that is a compiler extension.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Or just simply cin.get()

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

delete line 2, conio.h is not needed.

replace line 36 with cin.get().

what data did you enter? Your program worked correctly for me

#include<iostream>
using namespace std;
int main()
{
    int a[10] = { 5, 2, 10, 25, 4, 9, 7, 6, 8, 3 };
    int largest_1 = 0, largest_2 = 0, largest_3 = 0;

    for (int i = 0; i<10; i++)
    {
        if (a[i] > largest_3 && a[i] < largest_2)
        {
            largest_3 = a[i];
        }
        else if (a[i] > largest_2 && a[i] < largest_1)
        {
            largest_3 = largest_2;
            largest_2 = a[i];
        }
        else if (a[i] > largest_1)
        {
            largest_3 = largest_2;
            largest_2 = largest_1;
            largest_1 = a[i];
        }
    }
    cout << "largest :" << largest_1 << endl;
    cout << "2nd largest :" << largest_2 << endl;
    cout << "3rd largest :" << largest_3 << endl;
    cin.get();
    return 0;
}
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

If they stand up they are also more likely to freeze in the winter.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

you mean after your program exists? run your program in a console window instead of from within the IDE.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

That is still a very simple select statement as I posted earlier, just add the columns you want to the where clause.

WHERE client is not null and project manager is not null

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

i am just curious to know if there are any at home remedies that I can make for him

Use a pair of sizzers and cut them off.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

You don't compile each module down to *.exe, but instead just to object module then use the linker to link both object modules together at the same time. And you should be creating a console project, not a Windows project. The error you posted indicates you created the wrong kind of project.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

can't help you without the code you wrote.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Move the include statement down below to line 4, after the ifdef statement. Yes, you can put include statements in header files, it's done all the time.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

How much different is that then the pollution caused during normal car manufacturing?

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

The error you posted is a compile-time error, not link-time.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

And if you use QT compiler you can have one set of source code for both *nix and Windows, AFAIK you won't have to rewrite anything to change from one os to the other, just recompile.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Post your code, the diagram you posted is not very helpful to find the problem in your program. My guess is that the pointer you used was not initialized to a specific address before dereferencing it. For example

int k = 123; // original integer
int* p = &k; // initialize a pointer
int q = *p;  // dereference the pointer
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

You started with the right approach, just that you are reading the data wrong. Read the data an entire word at a time. Note that you will need a 3 dim array instead of 2d array.

void read()
{
    int const SIZE = 100;
    char s1[SIZE][SIZE][40] = {0};
    int i = 0, k = 0, num = 0;
    char temp[SIZE];

    ifstream myfile ("paragraphwordsub.txt");

    if (myfile.is_open())
    {
        num = 0;
        whyile(myfile >> s1[num][0] >> s1[num][1] )
        {
           if( s1[num[1][0] == '$')
              break;
           num++;
        }
    }
    else
    {
        cout << "Unable to open file";
        return 1;
    }

    return 0;
}
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Post code here in your thread so that we get line numbers. The links you gave do not give enough info to know where the problem might be.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

The arrays are declared as two-dimensional arrays and line 26 is trying to treat them as one-dimensional arrays. Why are they two-dimensional instead of one dimensional arrays?

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Can't help you if you don't post code.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Post the code you have written so that we can see where your "issues" are.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

why read it one character at a time. You can read it a whole word at a time and save yourself a lot of grief.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

I don't think some of that came out right -- what is �$� ?

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Very very difficult, but they can be read easily in C# and VB.NET due to the .NET functions that are not available to standard c++. In C++ it's a lot easier to create a CSV text file and let Word import it. Or use Office Automation software.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

You can't. You need a 32-bit or 64-bit compiler to do that. Turbo C++ is just too old

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

The Prius battery in US is warrented for 8 years/100,000 miles (link).

Toyota has a comprehensive battery recycling program in place and has been recycling nickel-metal hydride batteries since the RAV4 Electric Vehicle was introduced in 1998. Every part of the battery, from the precious metals to the plastic, plates, steel case and the wiring, is recycled. To ensure that batteries come back to Toyota, each battery has a phone number on it to call for recycling information and dealers are paid a $200 "bounty" for each battery.
</quote>

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Read this page, which is a windows port of the library. Since you are already using it in Ubuntu you should have little or no difficulty using it in Windows. As for VS2010, there is nothing different about it than there is about using any other 3d party library. It's all in Project settings.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

They are correct -- you can't duel boot both. But you can use a VirtualBox and install it there.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

I'm using IE11 and I see that but in a circle, it's a square like you showed in the member's Profile page. It looks like that on Chrome too. My guess is that's the way it's supposed to be.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

how about SELECT * from table where projectNumber is not NULL

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

sorry sir,for mistakes i have made

Take 10 lashes with a wet noodle :)

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

why not ask that on their forums?

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

try this

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

In this list the Prius is the most fuel efficient car of the non-electric cars.

But I'm under no illusion it's "good for the environment" compared to other cars in the same price range as it's not.

And why isn't it? The cost has no effect on the environment.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

If you want the implementation code in the header file then you have to make them inline methods of the class, not coded outside the class as you would in *.cpp file. The implementation code cannot usually be separate from the template class declaration because the type can be different for each instance of the template. For example:

emplate <class L>
class RainfallList
{

public:
    RainfallList()
    {
        head = NULL; // Establishes empty linked list
    }

    ~RainfallList();
    // Linked list operations
    void appendNode(L)
    {
        ListNode *newNode; // To point to a new node
        ListNode *nodePtr; // To move through the list 

        // Allocate a new node and store num there
        newNode = new ListNode;
        newNode->value = num;
        newNode->next = NULL;

        // If there are no nodes in the list make
        // newNode the first node
        if (!head)
        {
            head = newNode;
        }
        else // Otherwise, insert newNode at end
        {
            // Intialize nodePtr to head of list
            nodePtr = head;

            // Find the last node in the list
            while (nodePtr->next)
            {
                nodePtr = nodePtr->next;
            }

            // Insert newNode as the last node
            nodePtr->next = newNode;
        }
}       
    void insertNode(L);
    void deleteNode(L);
    void displayList() const;
    Rainfall getLargest();
    Rainfall getSmallest();

private:
    struct ListNode
    {
        L value;                    // The value in this node
        struct ListNode *next;      // To point to the next node 
    };

    ListNode *head;   // List head pointer
};
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

The basic difference between int( keyword of integer) and char(keyword of character) is the first is integer that is includes numbers(without float values),whereas character includes (a to z and A to Z and sometimes 0 t0 9,some special chars like .,+-!?,...),char may be string also that is group of chars.

Not true. The only difference is the range of values that each can contain. An int can contain characters just as easily as char. And most of the C functions that return characters (e.g. getc()) from the keyboard return int not char. You have to look them up in limits.h header file to find out the ranges for your compiler.

And also int requires 2 bytes of memory while char requires only one byte of memory

That incorrect also. char takes only one byte but the standard say very little about the others. In ancient 16-bit Tubo C compiler an int may be 2 bytes but with most modern 32-bit compilers it is 4 bytes, which is the same as long int.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

how to creat recovery softwear?

Study c or c++ for a couple years and you might be ready to answer that question yourself.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

My guess -- define RainfallListNode before RainfallList because RainfallList uses RainfallListNode which has not been declared yet.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

I've been using two android devices for over 2 years now and have never encountered such a problem. One is a Samsung tablet and the other a Samsung smart phone (just purchased about 6 months ago).

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

what kind of images -- gui or text? If gui then you would be better off using a library suited for that such as OpenGL -- all the hard work is already done.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Then go to court and have his name changed, his parents weren't funny giving him that name.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Why do you need to do that? Just have an array of max possible size, then have a variable, such as arrsz, that contains the size you want (either SIZE_10 or SIZE_20). It won't matter if you have extra elements in the array that aren't used.

extern unsigned char marray[arrsz];

You can't declare an array until you know how big it is. The value of arrsz has to be known before that array can be declared, and using a c++11 compliant compiler. extern assumed a global variable, so that won't work.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Actually I didn't have in mind summing them all up into one of three bins (as ddanbe called them). If that is the case then his approach would be more efficient.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

We can all help you and it will be for free. But Dani would sure appreciate any donation you want to give her.

If the class is too high for you then maybe you should think about dropping it and enrolling in a lower level class.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Look at that line very carefully -- the while statement is an infinite loop.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Program doesn't reach line 75.

That's because of the problem on line 70. Sorry, my previous post was incorrect, it should have said line 70 not line 75.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

It can get even more complicated than that -- for a complete discussion see this article. At one time the MAC used CR as line terminator, don't know if that' changed in recent years or not.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

He meant i < j in the above post

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

They are all really chars.

There really is no such thing as a char in C and C++ languages, the data type char is just a one-byte integer with a range of values from 0 to 255 (unsigned) or -127 to 127 (signed). The compiler treats 'A' as an integer, not as a character.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

That's a new feature of c++11 iso standards. Some compilers such as Visual Studio have not implemented it yet, while others such as g++ may need special flags.

For compiles that don't support that, just change line 81 to this:

string* boardWithPieces = new string[rowLength*columnLenght];

As for the freezing problem -- look at line 75 and see if you can figure out what's wrong with it (Note: very common error)