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

Then the problem might be the program you are trying to compile. Post it so we can see what you are trying to do.

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

It's been proven that a glass of wine a day will keep the doctor away -- it's heart healthy.

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

Nover heard of him

Who is Tim Cook

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

The difference is that boolean makes more sense to use when all you need is true/false, and boolean probably takes only one byte of memory instead of 4 or bytes for an int. It makes your program a lot easier for us mortal humans to read if you use boolean to represent true/false conditions instead of int.

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

will is compile a HelloWorld program?

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

because he is probably only half my age.

why does pizza taste sooo good?

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

Because you are a Panda Bear
Why do I like to drink water instead of Whisky?

tux4life commented: Lol :) +0
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

If you have a full prior version such as Windows 7 then you can upgrade to Windows 8.

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

MS-Windows can only be installed on either FAT32 or NTFS file systems. Your installation diskette should have given you the option to format the hard drive. Did you buy an upgrade version of Windows 8 or a new user version?

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

My biggest regret is reading this thread :)

LastMitch commented: Nice One! +0
<M/> commented: oh, how mean ;) +0
ddanbe commented: Indeed, never regret. It's a waste of time! +0
Reverend Jim commented: Yet another thing we share. +0
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Doesn't Alt-F4 work anymore?

Yes it does, I didn't know about that hotkey.

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

Are you using *nix or MS-Windows, how to get the folder contents depends on the os you are using. I have written a code snippet for each. boost has library that is os independent. Which ever you use it will not be as simple as it was in python.

_getcwd() is a win32 api function. Not sure the replacement for *nix

There is no similar function to os.path.exists. Instead, you can call stat() to see if the path exists. stat() will return an error is no such path or file.

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

I've been playing Diablo since it was first released Dec 31, 1996. You can download a free version to see if you like it before paying $60 for the full version. It's a role playing game very similar to Dungeons and Dragons -- kill the monster and grab the treasure. If you are looking to see blood and guts you will be disappointed, when you kill the monster(s) they just disappear.

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

I only drink Bud Light on tap, and then only on special occasions such as going to really nice restaurant. I bought two special edition cases (24 bottles/case) two years ago when St Louis Cardinals baseball team won the baseball World Series, I stll have all the bottles, but drank some of the beer. The bottles I have are dated 2011 instead of 2006 as shown in the picture.

I don't care much for other alcoholic beverages, never did.

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

One advantage of PFO being down -- no spammers tried to register :)

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

It was down since yesterday, thought you might be doing some server maintenace

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

Create a header file that contains all the function prototypes, which is how most DLLs do it. You can use the same header file for both the DLL and application program by creating a macro that is defined to be __dllexport in the DLL and __dllimport in the application program. This walkthrough will teach you how it's done. You can export entire classes like that if you want to.

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

Is PFO down permanently or just for some other reason?

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

becusse they don't have fur.

Why is Mike wearing tha funny-looking hat? He looks like a Viking.

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

According to this Microsoft article /clr may not be sufficient to make a managed-code DLL. Be sure to read the Remarks section of that aricle carefully.

The /clr option does not imply that classes, interfaces, or structs are managed; use __gc to explicitly specify when you want a construct to be managed

IMHO it would have been a lot easier to have just created a CLR/C++ DLL so that VS can set all flags correctly.

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

very simple to add parameters, assuming you named the structure product

void create_product(struct product*p)
{
printf("\nPlease Enter The Product No. of The Product \n");
scanf("%d",&p->pno);
printf(\n\nPlease Enter The Name of The Product \n");
fgets(p->name, sizeof(p->name), stdin);
printf("\nPlease Enter The Price of The Product \n");
scanf("%f",&p->price);
printf("\nPlease Enter The Discount (%) \n");
scanf("%f",&p->dis);
}
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

It's not, can be proven that 1+1=3

Why is snow white and not blue like the color of the sky from which it comes?

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

It snowed most of the day but no accumulation, ground too warm.

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

I found this ebook very helpful, it has a chapter on how to send email

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

Why did you post this in C# forum??? Have you tried googling for how to program robots? (link)

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

I spend a lot of time at the computer playing Diablo III. That's about the only computer game I really enjoy playing. I play it probably 4-5 hours/day.

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

How needs breaks? Any good programmer worth his/her salt can spend 24/7 at the computer.

Reverend Jim commented: Fer sher. +0
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

maybe this is what you want? It's written in php, but the sql code is the same in any language.

For example
SELECT COUNT(*) from [tablename] WHERE status = "OPEN"

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

Looks like all you have to do is call printf() instead of cout, replace cin with scanf(), change class to struct, and change the methods that are in the class to global functions. You may have to add a parameter or two to the functions in order to make that work.

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

It warmed up over night, all we got was some thunder and rain. No sight of the freezing rain we had earlier last evening.

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

It's sleeting and freezing rain right now.

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

extract the directory name from the xml file then use that instead of argv[1] in line 22.

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

The function main() is most likely named "main" because it is the first function that you write which is called by the program's startup code. There is a bunch of code that you do not write which is executed first, then when it's done it calls main(). If main() were not a required function then the startup code would not know what function to call.

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

Move line 31 outside the function so that it becomes global then it can be used any time you want it.

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

What part of that do you want help doing? We are not going to do it for you.

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

That's called sweat shops, we made child labor illegal many years ago. Children in less developed countries are not so fortunate (link)

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

Impossible, a 5-year-old's mind is just getting started. Kids' minds and bodies develop at the same pace the world over. It's just a fact human evolution. It's the nature of the beast.

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

people who ask questions like that are normally older (maybe in their 20s).

LOL, wait 10 years and see how old you think people in their 20 are :)

I don't think teens are lazy, just inexperienced and uneducated. But that is nothing new, same when I was a teenager. Their minds and bodies are not fully developed yet so we can't expect a 15-year-old to act the same as a 25 year-old.

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

I had another starbucks frappe :

Starbucks is overpriced and overrated. I'd rather have a cup of home brewed coffee for 1/10th the price of Starbucks and smells/tasts just as good.

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

Maybe this will help????

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

Maybe the real problem is that young people (high school age and younger) just don't have enough experience using computers to know how to google for their questions. Sure they are well versed in how to play games and post in Facebook, but how to do something useful may be another matter. I know how to boil water without burning it, but don't ask me to make a pot roast.

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

Programs can run other programs, for example I could write a program that runs PrimePackster's program. So if his program was supposed to hit jack in the head, but missed and returned an error number from main() instead of 0 then my program would know that and take some action. In that instance the operating system passes the return value of main() from PrimePackster's program to my program. The return value from main() can also be used in batch files (MS-Windows) or shello programs (*nix).

PrimePackster commented: OMG! Thats a wonderful addition. Thanks For that..... +3
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

On that line, the Code link could become a menu that indicates the language(s) supported. But I don't know if that's even feasible or possible.

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

I did not bought this. I just downloaded it from one torrent site, like

Interesting, you steal (pirate) software then complain because it does't work right. I think you are just SOL (Shit Out Of Luck). That's what you get for installing illegal copies of software. Maybe you need to reformat the hard drive and install a clean version of MS-Windows, assuming you have a legal copy of that.

adam_k commented: Why the downvote ? +9
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

what is the exact error message, maybe you misunderstood it?

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

Happy Birthday Michael, February is a great month for birthdays. Mine, my son and my daughter were also born during February.

The only memoriable thing I could find on my birthday was

  1. 4 chaplains drown after giving up their life jackets to others (WWII)
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

line 156: you are passing the wsrong type of data. selectionSort() wants an array of integers, not an asrray of structures. If you are tring to sort the class's data array (line 18) then remove the parameter to selectionSort() as it is not necessary. Just have selectionSort() sort data directly. If you want the array sorted by id then just use that field in the sort algorithm then when it's time to swap just swap the entire structure.

line 159: what is array a[]?

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

LOL I get it now! This old fart has a hard time keeping up with children playing children's games :) Back to Diablo 3 :)

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

I like that idea, have thought the same thing myself on occasion. But on the otherhand people would probably not use that feature, it's nearly impossible to get them to put code in code tags let alone think of matching up line numbers with error messages.

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

Chili made with ground turkey instead of hamburger. Great stuff, since I didn't have to make it.