expected primary-expression before ')' token

When I compile, the only problem i get is: expected primary-expression before ‘)’ token
#include <IRremote.h>
#include <IRremoteTools.h>
int receiver = 9;
int acker = 7;
const int ledpin1 = 2;
const int ledpin2 = 3;
const int ledpin3 = 4;
const int ledpin4 = 5;
const int ledpin5 = 6;
const int ledpin6 = 7;
const int ledpin7 = 8;
const int ledpin8 = 9;
const int ledpin9 = 10;

void setup() {
IRrecv enableIRIn();
pinMode(ledpin1, OUTPUT);
pinMode(ledpin2, OUTPUT);
pinMode(ledpin3, OUTPUT);
pinMode(ledpin4, OUTPUT);
pinMode(ledpin5, OUTPUT);
pinMode(ledpin6, OUTPUT);
pinMode(ledpin7, OUTPUT);
pinMode(ledpin8, OUTPUT);
pinMode(ledpin9, OUTPUT);
}

void loop() {
translateIR;
IRrecv resume();
}
void translateIR()
{
switch(decode_results)

{
case 0xFF30CF:
digitalWrite(ledpin9, LOW);
digitalWrite(ledpin2, LOW);
digitalWrite(ledpin3, LOW);
digitalWrite(ledpin4, LOW);
digitalWrite(ledpin5, LOW);
digitalWrite(ledpin6, LOW);
digitalWrite(ledpin7, LOW);
digitalWrite(ledpin8, LOW);
digitalWrite(ledpin1, HIGH);

case 0xFF18E7:
digitalWrite(ledpin1, LOW);
digitalWrite(ledpin9, LOW);
digitalWrite(ledpin3, LOW);
digitalWrite(ledpin4, LOW);
digitalWrite(ledpin5, LOW);
digitalWrite(ledpin6, LOW);
digitalWrite(ledpin7, LOW);
digitalWrite(ledpin8, LOW);
digitalWrite(ledpin2,HIGH);

case 0xFF7A85:
digitalWrite(ledpin1, LOW);
digitalWrite(ledpin2, LOW);
digitalWrite(ledpin9, LOW);
digitalWrite(ledpin4, LOW);
digitalWrite(ledpin5, LOW);
digitalWrite(ledpin6, LOW);
digitalWrite(ledpin7, LOW);
digitalWrite(ledpin8, LOW);
digitalWrite(ledpin3, HIGH);

case 0xFF10EF:
digitalWrite(ledpin1, LOW);
digitalWrite(ledpin2, LOW);
digitalWrite(ledpin3, LOW);
digitalWrite(ledpin9, LOW);
digitalWrite(ledpin5, LOW);
digitalWrite(ledpin6, LOW);
digitalWrite(ledpin7, LOW);
digitalWrite(ledpin8, LOW);
digitalWrite(ledpin4, HIGH);

case 0x38C7:
digitalWrite(ledpin1, LOW);
digitalWrite(ledpin2, LOW);
digitalWrite(ledpin3, LOW);
digitalWrite(ledpin4, LOW);
digitalWrite(ledpin9, LOW);
digitalWrite(ledpin6, LOW);
digitalWrite(ledpin7, LOW);
digitalWrite(ledpin8, LOW);
digitalWrite(ledpin5, HIGH);

case 0xFF5AA5:
digitalWrite(ledpin1, LOW);
digitalWrite(ledpin2, LOW);
digitalWrite(ledpin3, LOW);
digitalWrite(ledpin4, LOW);
digitalWrite(ledpin5, LOW);
digitalWrite(ledpin9, LOW);
digitalWrite(ledpin7, LOW);
digitalWrite(ledpin8, LOW);
digitalWrite(ledpin6, HIGH);

case 0xFF42BD:
digitalWrite(ledpin1, LOW);
digitalWrite(ledpin2, LOW);
digitalWrite(ledpin3, LOW);
digitalWrite(ledpin4, LOW);
digitalWrite(ledpin5, LOW);
digitalWrite(ledpin6, LOW);
digitalWrite(ledpin9, LOW);
digitalWrite(ledpin8, LOW);
digitalWrite(ledpin7, HIGH);

case 0xFF4AB5:
digitalWrite(ledpin1, LOW);
digitalWrite(ledpin2, LOW);
digitalWrite(ledpin3, LOW);
digitalWrite(ledpin4, LOW);
digitalWrite(ledpin5, LOW);
digitalWrite(ledpin6, LOW);
digitalWrite(ledpin7, LOW);
digitalWrite(ledpin9, LOW);
digitalWrite(ledpin8, HIGH);

case 0xFF52AD:
digitalWrite(ledpin1, LOW);
digitalWrite(ledpin2, LOW);
digitalWrite(ledpin3, LOW);
digitalWrite(ledpin4, LOW);
digitalWrite(ledpin5, LOW);
digitalWrite(ledpin6, LOW);
digitalWrite(ledpin7, LOW);
digitalWrite(ledpin8, LOW);
digitalWrite(ledpin9, HIGH);

default:
digitalWrite(ledpin1, LOW);
digitalWrite(ledpin2, LOW);
digitalWrite(ledpin3, LOW);
digitalWrite(ledpin4, LOW);
digitalWrite(ledpin5, LOW);
digitalWrite(ledpin6, LOW);
digitalWrite(ledpin7, LOW);
digitalWrite(ledpin8, LOW);
digitalWrite(ledpin9, LOW);
}
}

void loop() {
    translateIR;
    IRrecv resume();
}

What comes before the (? Is that all valid code?

What do you think the translateIR; is going to do? It is NOT going to call the function...

    translateIR;Did you forget a couple of things?

i mean i get it for here: void translateIR() { switch(decode_results)

{

void setup() {
  IRrecv enableIRIn();

Again.

You're also (probably) missing a bunch of "break;" and of course, a pair of code tags.

Can u explain this what is a break and what is a code tag?

Code tags are explained in the sticky titled "Read this before posting a programming question..." Specifically section 6 http://forum.arduino.cc/index.php?topic=97455.0

Break here: https://www.arduino.cc/en/Reference/Break

can u also help me on the function error 34: error: expected primary-expression before ')' token

    IRrecv resume();

resume() is a member of the class that IRrecv is an instance of. When calling a method, a dot is REQUIRED between the instance name and the method name. The DOT is not just to look pretty.

can u also help me on the function error
34: error: expected primary-expression before ‘)’ token

There have been several problems pointed out where you fat-fingered typing 4 lines of code. You have done nothing to address those issues, so, no, apparently you can’t be helped.

 switch(decode_results)

Are we missing something here too?

(still can't see the new code)

what am i missing?

When you wrote a basic test sketch, or used the example code for the IR library, did it compile OK?

yes it did, when i started the secondary codes it didnt compiled and gave me the error, 34: error: expected primary-expression before ')' token

Have you tried comparing the differences between the code which compiles, and the code which doesn't? Have you tried fixing any of the other problems pointed out? Post your code, but use code tags this time, please.

all the problems but this are fixed:

 #include <IRremote.h>
#include <IRremoteTools.h>
int receiver = 9;
int acker = 7;
const int ledpin1 = 2;
const int ledpin2 = 3;
const int ledpin3 = 4;
const int ledpin4 = 5;
const int ledpin5 = 6;
const int ledpin6 = 7;
const int ledpin7 = 8;
const int ledpin8 = 9;
const int ledpin9 = 10;

void setup() {
  IRrecv enableIRIn();
pinMode(ledpin1, OUTPUT);
    pinMode(ledpin2, OUTPUT);
    pinMode(ledpin3, OUTPUT);
    pinMode(ledpin4, OUTPUT);
    pinMode(ledpin5, OUTPUT);
    pinMode(ledpin6, OUTPUT);
    pinMode(ledpin7, OUTPUT);
    pinMode(ledpin8, OUTPUT);
    pinMode(ledpin9, OUTPUT);
}

void loop() {
    translateIR;
    IRrecv resume();
}
void translateIR()
{
  switch(decode_results)

  {
    case 0xFF30CF:
     digitalWrite(ledpin9, LOW);
    digitalWrite(ledpin2, LOW);
    digitalWrite(ledpin3, LOW);
    digitalWrite(ledpin4, LOW);
    digitalWrite(ledpin5, LOW);
    digitalWrite(ledpin6, LOW);
    digitalWrite(ledpin7, LOW);
    digitalWrite(ledpin8, LOW);
    digitalWrite(ledpin1, HIGH);

    case 0xFF18E7:
     digitalWrite(ledpin1, LOW);
    digitalWrite(ledpin9, LOW);
    digitalWrite(ledpin3, LOW);
    digitalWrite(ledpin4, LOW);
    digitalWrite(ledpin5, LOW);
    digitalWrite(ledpin6, LOW);
    digitalWrite(ledpin7, LOW);
    digitalWrite(ledpin8, LOW);
    digitalWrite(ledpin2,HIGH);

    case 0xFF7A85:
     digitalWrite(ledpin1, LOW);
    digitalWrite(ledpin2, LOW);
    digitalWrite(ledpin9, LOW);
    digitalWrite(ledpin4, LOW);
    digitalWrite(ledpin5, LOW);
    digitalWrite(ledpin6, LOW);
    digitalWrite(ledpin7, LOW);
    digitalWrite(ledpin8, LOW);
    digitalWrite(ledpin3, HIGH);

    case 0xFF10EF:
     digitalWrite(ledpin1, LOW);
    digitalWrite(ledpin2, LOW);
    digitalWrite(ledpin3, LOW);
    digitalWrite(ledpin9, LOW);
    digitalWrite(ledpin5, LOW);
    digitalWrite(ledpin6, LOW);
    digitalWrite(ledpin7, LOW);
    digitalWrite(ledpin8, LOW);
    digitalWrite(ledpin4, HIGH);

    case 0x38C7:
     digitalWrite(ledpin1, LOW);
    digitalWrite(ledpin2, LOW);
    digitalWrite(ledpin3, LOW);
    digitalWrite(ledpin4, LOW);
    digitalWrite(ledpin9, LOW);
    digitalWrite(ledpin6, LOW);
    digitalWrite(ledpin7, LOW);
    digitalWrite(ledpin8, LOW);
    digitalWrite(ledpin5, HIGH);

    case 0xFF5AA5:
     digitalWrite(ledpin1, LOW);
    digitalWrite(ledpin2, LOW);
    digitalWrite(ledpin3, LOW);
    digitalWrite(ledpin4, LOW);
    digitalWrite(ledpin5, LOW);
    digitalWrite(ledpin9, LOW);
    digitalWrite(ledpin7, LOW);
    digitalWrite(ledpin8, LOW);
    digitalWrite(ledpin6, HIGH);

    case 0xFF42BD:
     digitalWrite(ledpin1, LOW);
    digitalWrite(ledpin2, LOW);
    digitalWrite(ledpin3, LOW);
    digitalWrite(ledpin4, LOW);
    digitalWrite(ledpin5, LOW);
    digitalWrite(ledpin6, LOW);
    digitalWrite(ledpin9, LOW);
    digitalWrite(ledpin8, LOW);
    digitalWrite(ledpin7, HIGH);

    case 0xFF4AB5:
     digitalWrite(ledpin1, LOW);
    digitalWrite(ledpin2, LOW);
    digitalWrite(ledpin3, LOW);
    digitalWrite(ledpin4, LOW);
    digitalWrite(ledpin5, LOW);
    digitalWrite(ledpin6, LOW);
    digitalWrite(ledpin7, LOW);
    digitalWrite(ledpin9, LOW);
    digitalWrite(ledpin8, HIGH);

    case 0xFF52AD:
    digitalWrite(ledpin1, LOW);
    digitalWrite(ledpin2, LOW);
    digitalWrite(ledpin3, LOW);
    digitalWrite(ledpin4, LOW);
    digitalWrite(ledpin5, LOW);
    digitalWrite(ledpin6, LOW);
    digitalWrite(ledpin7, LOW);
    digitalWrite(ledpin8, LOW);
    digitalWrite(ledpin9, HIGH);

    default: 
    digitalWrite(ledpin1, LOW);
    digitalWrite(ledpin2, LOW);
    digitalWrite(ledpin3, LOW);
    digitalWrite(ledpin4, LOW);
    digitalWrite(ledpin5, LOW);
    digitalWrite(ledpin6, LOW);
    digitalWrite(ledpin7, LOW);
    digitalWrite(ledpin8, LOW);
    digitalWrite(ledpin9, LOW);
  }
}
  translateIR;
    IRrecv resume();
}
void translateIR()
{
  switch(decode_results)

All the problems?

And the "break"s ?

You’ve got five minutes between posts; why not put it to better use?

can u tell me what to put to fix it? i don't know how to fix it because i haven't coded for two years.

  IRrecv enableIRIn();

Another missing dot. Pay attention when you write (or copy) code!

  switch(decode_results)

There is supposed to be a dot there, not an underscore.

can u tell me what to put to fix it?

Stop making stupid typing mistakes. The compiler is telling you precisely which line it doesn't like. Count lines until you get to the proper line. Take your shoes off if you need to.

now it says it needs an unqualified id behind the periods i put in