well it looks like that solved it! I totally forgot about it being a string, even tho arg0 is just a srting with 1 element in it.
Type: Posts; User: fsu_altek
well it looks like that solved it! I totally forgot about it being a string, even tho arg0 is just a srting with 1 element in it.
switch(operation)
{
case 'R':
if(!strcmp(opcode, "add"))
{
machineLine[7] = '0';
machineLine[8] = '0';
machineLine[9] = '0';
}
/*next 3 switch statements set bits...
WHat is the best way to go about simplifying a fraction? I am working with 2 integers, numerator and denominator. if the fraction is in the form of 0/N then it will be set to 0/1. that is easy to...
can you give me a code example??
Hello everyone,
I am working on a date class program that manipulates dates and times and outputs them in different formats and such.
I have a simple question:
Say I have a date, which is an...