Flowerpower! Drawing in polar coordinates in C#. Programming Software Development by ddanbe …org/wiki/Polar_coordinate_system]here[/url]. I wanted to draw some polar functions myself, so I changed my [url=http://www.daniweb…/217204]plotting class [/url] a bit and added a polar struct to a new project.. Just posted code for the… Plot class and the polar point structure here. You can find an example of output… Re: Tenis Polar coder help Programming Software Development by funkey100 …else if (ccode[i]=='e') { //tenis and ncode[i]='o'; //polar letters } else if (ccode[i]=='n') { ncode[i]='l'; … if (ccode[i]=='E') { //tenis and ncode[i]='O'; //polar letters } else if (ccode[i]=='N') { ncode[i]='L'; … Re: Tenis Polar coder help Programming Software Development by funkey100 … input of "Tenis Polar" would get the output of "Polar" and not "Polar tenis". Can anyone help… Re: Tenis Polar coder help Programming Software Development by VernonDozier … be undefined for those characters, correct? I googled "tenis polar" and got some non-English hits, then google seemed…", so I still don't know what "tenis polar" is, but it seems from the code that those… Samsung, Toshiba Post Bi-Polar Earnings Community Center by Brian.oco … HD DVD and Samsung to cell phones - manifests itself in polar-opposite earning statements on the same day. It's a… Preserve Polar Bears, Don't Use Google During Copenhagen Week Digital Media Digital Marketing Search Engine Strategies by happygeek … Amazon rain forest (and therefore reduce global warming and save polar bears in case you were wondering) but it also reckons… Re: Preserve Polar Bears, Don't Use Google During Copenhagen Week Digital Media Digital Marketing Search Engine Strategies by MktgRob … of proportion based on the evidence available. Use Google, the polar bears could care less. Tenis Polar coder help Programming Software Development by funkey100 … to make a C++ scrit that decodes and encodes tenis polar (search it on Google if you don't know what… Re: Tenis Polar coder help Programming Software Development by JasonHippy …, tenis is portuguese for shoes! So the sentence "A polar bear wearing tennis shoes" would end up being encoded… Re: Tenis Polar coder help Programming Software Development by funkey100 Jason is right, that is tenis polar. Plus, I finished the encoder! Now I have to make a DOS window GUI and the decoder. I tryed it and it worked. Two questions... How can I make something go into the user's clipboard and how can I make it so when someone moves an arrow key or presses a key (without cin), it will do an action? Thanks Re: Tenis Polar coder help Programming Software Development by funkey100 Yes, I do mean copy/paste. And because the console GUI is too complicated, I'll stick to something like this: Tenis Polar Coder 1. Encode 2. Decode Selection: So, how do i do the copy/paste thing? Re: Tenis Polar coder help Programming Software Development by funkey100 … menu() { string scode; int sel; cout << "Tenis Polar Coder\n\n"; cout << "1. Encode… Re: Tenis Polar coder help Programming Software Development by Schol-R-LEA … menu() { string scode; int sel; cout << "Tenis Polar Coder\n\n"; cout << "1. Encode… Multiply Complex Numbers in Polar Form Programming Software Development by ThatBitchYeah … need to do the same for multiplication and division in polar form. #include<stdio.h> #include<stdlib.h… Re: Preserve Polar Bears, Don't Use Google During Copenhagen Week Digital Media Digital Marketing Search Engine Strategies by boattraveller78 Google is pretty green I think - please see www google com /green Re: Preserve Polar Bears, Don't Use Google During Copenhagen Week Digital Media Digital Marketing Search Engine Strategies by peterdublin Hmm... green search too eh? Re Copenhagen, These kind of gatherings generate a mass-hysteria for a common cause. Like George Orwell’s Animal Farm book, where mass hysteria meant one pig overtrumping another in self-sacrificial willingness - except here it’s always someone else (not the politicians) who has to make the sacrifice… “We … Re: Preserve Polar Bears, Don't Use Google During Copenhagen Week Digital Media Digital Marketing Search Engine Strategies by MktgRob In Copenhagen at the Climate summit they are using so many private planes and limos that they will leave a carbon footprint the size of a small nation. Today a political action group put out a wanted poster for the head of the US Chamber of Commerce because he questioned global warming. And two weeks ago a mass of e-mails were released that show … Re: Preserve Polar Bears, Don't Use Google During Copenhagen Week Digital Media Digital Marketing Search Engine Strategies by chandi786 I just couldn't understand the logic and idea behind that? why not to use google ? Re: Tenis Polar coder help Programming Software Development by Lucaci Andrew void encode(string str) { char * ccode = new char [str.size()+1], * ncode = new char [str.size()+1]; int str_size = str.size()+1; strcpy (ccode, str.c_str()); for (int i=0; i!=str_size; i++) { if (ccode[i]=='t') { ncode[i]='p'; } cout << ncode; }… Re: Tenis Polar coder help Programming Software Development by VernonDozier "DOS Window GUI"? Seems like a contradiction in terms. I assume "DOS" means "console" since no one uses DOS anymore. I assume you mean a GUI but not drawn in pixels with colors, but rather just displaying the regular old ASCII characters. cin is going to wait for that pesky newline character, so you can't use that.… Re: Tenis Polar coder help Programming Software Development by funkey100 Nevermind. Now I am using 'getline(cin,str)' instead of 'cin >> str'. The problem is that the program just crashes when it's time to enter the input... Re: Tenis Polar coder help Programming Software Development by funkey100 Forgot ALL OF THE ABOVE. I fixed everything. Now I just need two things. An alternitive to 'system("cls")' because everyone says it's bad with using a lot of \n. And a way to copy something to the copy/paste clipboard. In the meanwhile, I am adding file saving support. Thanks! Re: Tenis Polar coder help Programming Software Development by VernonDozier There's no alternative to system("cls") in C++, intentionally so. System calls are generally frowned on for a few reasons (one, they may be dependent on the operating system, so what works with Windows might not work with Mac or Linux, two they're not particularly efficient (generally not the biggest deal in the world), and three, … Re: Tenis Polar coder help Programming Software Development by Albino What happens if you don't type in an option on the menu and then try to exit? If you don't type a correct command in it calls main(), which is an integer. The exit command returns 0 so the function never returns anything. I suggest adding a `return 0;` after the main(). Re: Tenis Polar coder help Programming Software Development by Schol-R-LEA Calling `main()` explicitly is an extremely poor idea; in fact, it is actually forbidden in the C++ standard, and the compiler ought to be giving you an error message on that (not that all compilers do). The `main()` function is special in a number of ways - it performs a number of initializations steps which are hidden from the programmer, for … Re: Tenis Polar coder help Programming Software Development by funkey100 Well, I'm not very good with C++ and I just started. So can you explain that code to me? I won't learn anything and get better if I use other people's code and don't understand it, so I understand everything before I use it. Thanks. Re: Tenis Polar coder help Programming Software Development by funkey100 I researched about the isupper, islower and toupper and I think I understand... Just that that for loop would have to be in another loop because it only translates one character... And original and translated will have to have something like [var] at their end. Re: Tenis Polar coder help Programming Software Development by Schol-R-LEA Oh, and as for an alternative regarding clearing the console screen, [this article](http://www.cplusplus.com/articles/4z18T05o/) covers the subject in great detail, including th reasons why `system("cls")` is a Bad Idea. It includes a Windows API based function for this purpose, and I tested it with my version of your program and had no … Re: Multiply Complex Numbers in Polar Form Programming Software Development by tinstaafl Here's an [example in C++](http://en.literateprograms.org/Complex_numbers_%28C_Plus_Plus%29). Re: Multiply Complex Numbers in Polar Form Programming Software Development by Amir Muhammad multiplication of complex numbers (3-2i)*(-5-4i)