SgtMe 46 Veteran Poster Featured Poster

we stopped on 623, so down to 621, up to 623 :)

SgtMe 46 Veteran Poster Featured Poster

Hmmm...well I have to go to school in a minute anyway, so fine we'll call it 623 until someone else comes along. BTW it's morning here :|

SgtMe 46 Veteran Poster Featured Poster

Please post your code so we can see what is wrong or how best to change it.

SgtMe 46 Veteran Poster Featured Poster

<urdu>six-hundred-and-twenty-four</urdu>
;)

SgtMe 46 Veteran Poster Featured Poster

six cent vingt-quatre

SgtMe 46 Veteran Poster Featured Poster

Nein. Es ist sechshundertvierundzwanzig (624).

SgtMe 46 Veteran Poster Featured Poster

Code tags please nikki33.
You will need to repeat what VernonDozier has said for lines 9 to 13 (I think, this is why you put code tags ;) ). Also, you don't need the brackets when doing addition on the bottom line. You can delete the args for your main function, so it's just:

int main()
{

}
SgtMe 46 Veteran Poster Featured Poster

That's more like it ;)
624

SgtMe 46 Veteran Poster Featured Poster

OK Jon.Kiparsky you've had your fun now let's play the game properly please ;)
624

SgtMe 46 Veteran Poster Featured Poster

morning -> tired

SgtMe 46 Veteran Poster Featured Poster

Is this thread solved? If so, mark solved and upvote the posts that helped. Thanks :)

SgtMe 46 Veteran Poster Featured Poster

Well you could put a blank line underneath in a text editor. It would save a lot of time. I take it your using a loop to keep reading the lines?

SgtMe 46 Veteran Poster Featured Poster

chicken -> eggs

SgtMe 46 Veteran Poster Featured Poster

Here's a page with a short, decent description. Should help you out a little. It's got a point or two that we haven't covered.
http://www.wikihow.com/Tell-if-a-Proper-Fraction-Is-Simplified

PS. Haven't seen you around lately Lerner :)
PPS. Who likes my new avatar?!

SgtMe 46 Veteran Poster Featured Poster

waffle -> tasty

SgtMe 46 Veteran Poster Featured Poster

You have described your problem well enough for us to help, but we won't, because you need to show us effort, as that will show us that you are committed to the task and want to learn, and you don't just want to cream code off of us.

SgtMe 46 Veteran Poster Featured Poster

Please press the code tags button before pasting code. So you would code simplification? The first thing you should probably do is to test whether the fraction is prime. If the test returns false, then you should check what numbers can divide into it. Use while/for loops to test. Obviously, if either the top or bottom number is one, then you won't be able to divide, so you don't need to do all the tests. Again, you should use loops to keep dividing until you get to a prime.

SgtMe 46 Veteran Poster Featured Poster

Maybe you should check out some basic C++ tutorials. If you could write out the logic in words, I would be able to give you some tips as to where you could go to learn the various bits and pieces :)

SgtMe 46 Veteran Poster Featured Poster

"Monster" - Skillet

SgtMe 46 Veteran Poster Featured Poster

cereal -> breakfast

SgtMe 46 Veteran Poster Featured Poster

OK. Do a google search for how to convert numbers to binary, hex, octal and so on.

SgtMe 46 Veteran Poster Featured Poster

Sweet code! May I recommend adding getchar(); at the end to pause? Just makes it a little easier for the user :)

SgtMe 46 Veteran Poster Featured Poster

Well if you could explain what you have to do, we could help you out.

SgtMe 46 Veteran Poster Featured Poster

danger -> death

SgtMe 46 Veteran Poster Featured Poster

618

SgtMe 46 Veteran Poster Featured Poster

Please provide more detail on the question. I'm not sure what's going on with the .,.,.. in the middle of the question, so please explain that. Furthermore, you must show effort (ie. your current code), before we will help.

SgtMe 46 Veteran Poster Featured Poster

614 (lets get it goin')

SgtMe 46 Veteran Poster Featured Poster

610...yeah...its um...gripping ;)

SgtMe 46 Veteran Poster Featured Poster

cake -> icing

SgtMe 46 Veteran Poster Featured Poster

I had a quick google, and I have to say, there really isn't much out there. In some place I saw something about using the Windows SDK? Do a little research and see if that will help.
Here's one of the place I saw it.
http://social.msdn.microsoft.com/Forums/en/xpwirelesssdk/thread/8bd08edc-d361-47f4-ad90-e29601cada7d

SgtMe 46 Veteran Poster Featured Poster

Please mark solved.

SgtMe 46 Veteran Poster Featured Poster

Welcome!

SgtMe 46 Veteran Poster Featured Poster

Anddddddddddddddddd...back to 608

SgtMe 46 Veteran Poster Featured Poster

608 :)

SgtMe 46 Veteran Poster Featured Poster

608

SgtMe 46 Veteran Poster Featured Poster

608

SgtMe 46 Veteran Poster Featured Poster

melt -> chocolate

SgtMe 46 Veteran Poster Featured Poster

Do you have a secret weapon? 0.o Though I guess it wouldn't be so secret if you told me ;)

SgtMe 46 Veteran Poster Featured Poster

Five times a week?! I only play once for an hour each week...although in the summer I get 3 hours a week across 2 days.

SgtMe 46 Veteran Poster Featured Poster

608

SgtMe 46 Veteran Poster Featured Poster

toast -> butter

SgtMe 46 Veteran Poster Featured Poster

You would want to read the line into an array, and split it at the spaces, so you have little blocks of data. Obviously the first array value (position 0) will be "123", so you can just leave that one, but the next bit would be "d52.55". You would want to read the first character of that string to determine a deposit or withdrawal, and put the value of "52.55" into a variable of type float.

Here's part of a program I made a while ago (The test string there was from someone else's project that I helped with a while back). It uses tokens with stringstream to split strings into arrays. Have a look through and see if you can adapt it to be put in your code.

#include <string>
#include <sstream>
#include <iostream>
using namespace std;
string SplitVerts(string data)
{
	string in_data=data;
	string array_data[20];
	stringstream split(in_data);
	string token = ",";
	int i = 0;
	while (split>>token){
		array_data[i] = token;
		i++;
	}
	int j = 0;
	while (j < 20){cout<<array_data[j]<<endl; j++;}
}

int Main(){
           cout<<"105:1:CME,20100601,07:34:22.796,GRC,GE,201009,FUT,XGGRC,0G4LHZ013,14ijpol1vsu7l7,Fill,0000D9DB,B,00000,99.155,2,99.155,20100601,07:27:34"<<endl;                                                                                                                              
}

Other than that, do a few google searches and see what you can turn out.
Hope this helps :) (If so, please upvote :P )

SgtMe 46 Veteran Poster Featured Poster

Please use code tags. What problem are you having? You can never describe to us a problem in 8 words. We need more detail.

SgtMe 46 Veteran Poster Featured Poster

^ Is relatively new here
< Has a horrible cough
V Is wondering whether or not to post a reply.

SgtMe 46 Veteran Poster Featured Poster

Please explain your question better. One sentence is not enough to describe a problem to us. It appears that English is not your main language, so I can understand that, but you have shown no effort, and have not given us enough detail to help you.

SgtMe 46 Veteran Poster Featured Poster

In Tokyo, a bicycle is faster than a car for most trips of less than 50 minutes!

SgtMe 46 Veteran Poster Featured Poster

I'm not quite sure what you are trying to get at. Dev-C++ has plenty of options on creating projects...what is your primary language?
EDIT: I love that site AncientDragon :)

SgtMe 46 Veteran Poster Featured Poster

I personally use Dev-C++. I believe it's no longer in development, but there are plenty of add-on packages that make it really simple to install new libraries. Apparently Code::Blocks is currently the best IDE.

SgtMe 46 Veteran Poster Featured Poster

Rugby and Tennis :D Not unusual but hey...

SgtMe 46 Veteran Poster Featured Poster

I ran your code in NetBeans:

ERROR 1:
SuitEnumerator(suit):
                        ^
SyntaxError: invalid syntax
(You have a random colon [:] on the end. Remove it)

ERROR 2:
card_list = [[ (rank, suit) for suit in range(4)] for rank in range(1, 14)]]
                                                                               ^
SyntaxError: invalid syntax
(You have one too many close square brackets on the end

ERROR 3:
Traceback (most recent call last):
  File "PATH", line 279, in <module>
    show_hand(card_list)
  File "PATH", line 263, in show_hand
    RankEnumerator(rank)
  File "PATH", line 71, in RankEnumerator
    if rank.isdigit():
AttributeError: 'tuple' object has no attribute 'isdigit'

(Not sure how to fix. Look through your code. It appears that rank is a tuple at the time that line is executed)

I'll have another look later.