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

what is a TnTinMn?

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

There is an airport about 7 miles away and they said they had to scrape 2 inches of ice from the runways. But I don't care because I don't have to go anywhere until Tuesday.

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

i cant seem to find the "advanced settings" you mentioned,

Huh? Did you post that in the right thread? Can you be more specific about who you are talking about?

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

Just got up from a nap and I see it is now snowing a little bit. Just enough to cover the green grass.

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

It's almost 9:00 am now and not a snowflake in sight. In fact the sun is shinning in onw area.

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

Since both client and server are aparently working together right now the id values shold make no difference.

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

By revealing the base that you construct your password from, you have just weakened it considerably despite the use of mixed case, numericals and special characters

I doubt it, there aren't any other keys or characters available to use. There's 126 possible printable characters in the English (American) keyboard), if the password is 10 characters long, that means where are 126!/(10!*116!) possible combinations (assuming no duplicates).

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

I lived 3 years in San Bernardino and my sister lived 20+ years in Tustin located a little south of LA. I'm glad I moved to Illinois many years ago, too many people in California.

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

Remember what I posted a week ago about St Louis weather? Well, it's happening all over again. Weather reports 1-3 inches of show tomarrow, so all the schools in the St Louis area are closing tomorrow.

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

Are you able to change the table schema? If yes, then use one or more fields as the unique key. Auto id is nice, but not very usefor for preventing duplicate records.

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

Hamburger Helper Spagetti, salad, and Youplay yogurt.

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

It has to know what kind of file system your computer is using. How on earth do you expect it to install the os without that knowledge? If your intent is to duel boot then you have to first install MS-Windows then the other operating system(s).

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

I use almost the same password for everything, very strong with upper case, lower case, numbers and special characters. And it's very easy for me to remember :)

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

You don't have to do anything in your code to prevent adding rows that contain duplicate key field(s), the database server to do that if you designed the table to require key fields to be unique values. All your program needs to do is catch the db server's exception. If the record already exists then an exception is thrown, line 32 will not get executed.

IMO you have too many checks inside the try/catch block. Inside the try/catch block all you need are the lines that actualy do the insertion, the database server will do the rest.

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

Do you mean CSplitter from MFC (link)? AFAIK you change the size of each pain by drag-and-drop, not by double clicking or other key combinations. That's all build into the CSplitter class, you need to do nothing.

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

Sorry, I don't have the time or inclination to do your work for you. Have you read this page?

The static library is named mysqlclient and the dynamic library is named libmysql.

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

The Man With The Iron Fists -- lots of gory action, but not much of a plot. Many well-known actors.

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

Since client and server run on different computers how do you think the client is going to be able to use an ocx that's on the server computer? Since we know nothing about either program we don't know if the two ocx files are needed or not. You might be able to do away with both of them if you rewrite the two programs, and that's probably not possible if they are already in production.

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

I heard it is illegal to convert YouTube to mp3 most likely because YouTube has a license to use those videos.

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

I'm confused why you didn't just remove the extra spaces. :(

Because I didn't know that was the problem until after I posted in this thread. I eventually figured it out but it should not have been that difficult for me to do.

riahc3 commented: Well written: "it should not have been that difficult for me to do" Sums up the editor right there +0
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

I can't tell you how to check for spam in email, but StopForumSpam has an API that lets you can search by ip address, email address or username. This has stopped probably 99% of the spam I got before I started checking on that site. I see no reason why it won't work for emails as well as web sites.

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

It thinks -1 is the name of a function. You can't code an algorithm like that. Do you mean -1* (exp(double (n))) / n; ?? (multiplication)

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

Why did you put the entire thing in code tags like that?? ...

Beczuse it wouldn't let me make the post without them. The text under Static Functions contained 5 spaces between sentences, which triggerfed the algorithm to think it was code. I started putting each of the paragraphs in code tags until the system would accept the post without error. Put 5 spaces back between sentences and you will probbly see the error too.

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

Actually, I occasionally have problems too. Like this post, I had to put the entire thing in code tags because it didn't like some of the comments I made without them. None of the text contains tabs or curly braces{ and } It shouldn't be so difficult to format the text. If the algorithm wants to look for 4 spaces then check for them at the beginning of the line, not somewhere in the middle of the line. If I want to put 5 spaces between sentences I should be able to do that as long as the spaces are not at the beginning of the line. I just found out that was actually the problem with the link I posted above.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
c++ has static functions just like the ones on C language, and it also has static class methods, which one do you mean?

Static Functions
Static functions are visible to only the *.cpp file in which it is defined. This is only really useful in programs that have two or more *.cpp files in the project. A static function in one *.cpp file can not be called from functions in other *.cpp files. Static functions are probably most useful in libraries and DLLs where you don't want application programs calling them.

Static Methods

A static class method is one in which there is one, and only one instance regardless of the number of instances of the class itself.  A static method can not access any of the instance variables of the class or call any of the instance class methods.  This means that if a class has two methods, foo() and bar(), and foo() is a static method and bar() is not, then foo() can not call bar(), but bar() can call foo().





class MyClass
{
public:
    static int foo() {return 0;}
    int bar() { return foo(); }
};
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

He at the end doesnt care if its formatted correctly to the standards of Daniweb

Other people do, most won't bother to read unformatted code. If the poster could care less why should we?

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

Seems to me you have too many if statements. All you need is something on the order of this: Note: I just write this off the top of my head so it might not be completly correct. It also assumes all the nodes have unique values, there are no duplicates.

oid remove(struct node **q, int num)
{
  struct node *temp, *old;
  old = temp=*q;
  while( temp && temp->data != num)
  {
      old = temp;
      temp = temp->next;
  }
  if( temp != NULL)
  {
      if(temp == *q)
      {
          // delete the first noded in the list?
          *q = temp->next;
      }
      else
      {
          old->next = temp->next;
      }
      free(temp);
  }
}
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Did you try one of these tutorials?

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

With Crystal Reports you have a choice of a variety of data sources such as standard SQL databases (MS SQL, MySQL, SqLite, etc), Excel worksheets, text files etc. So in your case it might depend on how much data there might be and do you need to frequently query the data so that it can be displayed on the screen rather than in a report. If you made an Excel worksheet out of the data how many rows and columns would it have? If it has hundreds or thousands of rows then you might want to choose one of the formal SQL-compliant databases.

As for what programming language to use, I recommend whatever language you already know. You could write the program is most languages so choose the one that is easiest for you.

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

Example: Lets say you want to print out a multiplication table that has 10 rows and 5 columns. Rows are numbered 1 through 10 and columns numbered 1 through 5. The value in each column is the row number times the column number.

To print such a table you have to loop through each row, then inside that loop you have to loop through each column. It would be next to impossible to print the table if the two loops were reversed.

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

Since both are the same, it will probably depend on what "<lines of code>" contains.

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

We will be happy to help you if you post the code you have written so far.

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

Are you kidding? The only thing kids know how to do nowdays is play on the computer. I don't think I'd trust some kid to shovel snow off the driveway or rake the leaves, they might get a heart attack from lack of exercise.

AndreRet commented: lmao, indeed ancient. If they hear the word shovel they are already mia!! +0
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

This is NOT a c++ program, but a language called CLR/C++, they are not the same nor do they use the same header files/libraries. CLR/C++ is more closely related to C# then C++. You cannot use iostream or cmath, or any other of the libraries/functions from standard c++ library or header files. Instead, you have to use the .NET functions and classes. Delete the iostream and cmath header files.

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

A csv file format is just comma or tab separated fields. If a field may contain commas or tabs then the field should be enclosed in quotes

For example:

Joe,90,100,50,95,98
Mark,40,50,60,70,80,90

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

This is my favorite tutorial. And while you are looking for tutorials you should upgrade to Visual Studio 2012 Express, still free.

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

This might work for you.

But then again, maybe not. You don't know beforehand how many leading 0s there are. And there is no way to find out unless it's a string.

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

The limit is probably the maximum size of an executable imposed by the file and operating systems. On 32-bit os it's probably 4gb.

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

Attach the first file to your post instead of posting a link to it on some other server.

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

How do you know which items in the other two list boxes belong to the one you select in item_name? Are the positions in the list boxes the same so that if you select the 5th item in item_name then you will need to get the 5th item in each of the other two list boxes? That will only work if none of the list boxes are sorted.

Is there a reason you need three list boxes instead of just one? If there is only one then you can have an array of structure or class that contains all three items. When you select an item from item_name search the array for an entry with the same item_name and populate the three text boxes with the information in that structure/class. That is a much safer and easier way to do it, and makes the window look clearner because it has only one list box instead of three.

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

just use normal tar. WinZip for MS-Wiondows knows how to uncompress it.

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

He was also the only president to be eldected for four terms and is what prompted the 22nd amendment.

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

nothing of any import can be achieved by a visionary leader. Bloody ridiculous.

Oh, you mean one like Adolf Hitler or Joe Stalian? We don't need those kinds of visionary leaders. AFAIK both England and France have similar governments as the USA.

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

new and delete do not change the value of pointers, that's your responsibility. And if you delete a pointer then allocate it again with new there is no guarentee that new will return a pointer to the same memory that was previously deleted. If you wish that to happen you can override the new operator with your own algorithm to make it work however you want it to work. An alternative is to use inplace new where you control the memory addresses returned by new.

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

The President can not introduce bills nor does he pass laws or the budget. He has to get someone in the house or senate to do it for him.

How does he get anything done?

Very little all by himself. That's why he has a lot of meetings with congress, to try and persuade them tp vote the way he wants them to. The President has very little power to do anything on his own (military action being the exception). The President can't spend a penny without congressional approval.

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

you are right, he did say internet. I guess I just wanted to hear LAN. I know of no way to access MS Access on the internet, that doesn't mean there isn't a way to do it. MS Access was never intended to be accessed like that.

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

You probably won't find any tutorials, you might have to actually THINK out of the box.

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

. What would be the ideal system?

Election of the President by popular vote only. Whoever gets the most popular votes nationwide gets elected. Every voter in every state gets the same vote as every other voter. Since the EC is abolished there would, by definition, be no electorial votes. The EC is as obsolete as the horse & buggy.

I would like to think electronic voting could be implemented, but computers are far to prone to hacking for that to be feasible.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Is BBC still commercial-free like it was when I was there in the 1970s? At that time everyone with a TV had to have a license to watch bbc and a government vehicle would drive around the neighborhoods with radar detectors checking on who has and has not a license.