Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C trouble

Name: C_expert 2007-08-23 6:45 ID:994U8aXD

Hey fellas.

I can't work out why this code i've been writing doesn't work:
its a calculator ;)

#include <stdio.h>

int main(int argc, char * argv)
  {
  int myint = 2;
  int myint2 = 3;
  int result;
  myint + myint2 = result;
  printf("%d", result)
  }

is it because of the FORCED INDENTATION OF CODE lol?
 

 

Name: Anonymous 2007-08-23 8:04 ID:Heaven

>>5
Well, >>1 indented just like in Python ;)  Thread over.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List