Jump to content

Hey everyone!

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
12 replies to this topic

#1
Holzinger

Holzinger

    Newbie

  • Members
  • Pip
  • 4 posts
Hi,
I'm a student Computer Systems Engineeer at Adelaide University. My programming experience is not exactly vast. Up unitl now I have been using JAVA and an Assembly language called DLX, used at my uni. This year I have had to learn C for a subject I am doing in my third year. It looked like it was going to be simple like JAVA but when I started trying to write, that theory went right out the window.
I have attached a copy of a C file I am working on for an assignment. It has 3 seperate tasks within it which are labelled. I know tasks 2 and 3 look horrible, I haven't really sat down for long on them. My first ever question is, what is wrong with my task 1??? I keep getting 0's for my temp variable at run time but I can't see a problem. I'm sure this will stick out like a sore thumb to almost anyone on here, but gotta learn somewhere right? :P

Sorry for the hefty first post...

Thanx
Michael

Attached Files



#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Hey Michael, welcome to CodeCall! You should ask your question in the C forum here: http://forum.codecall.net/c-c/

#3
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Welcome! My uncle's called Mıchael, but I'm sure you don't care. :)
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#4
chili5

chili5

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 7,247 posts
Welcome :D

My uncle's name is Micheal also really. :) not that anyone cares lol

#5
Holzinger

Holzinger

    Newbie

  • Members
  • Pip
  • 4 posts
Thanks for the welcome guys. And no, don't really care about people's uncles with the same name. But I'm glad that you all do. :P

#6
tecktalk

tecktalk

    Programmer

  • Members
  • PipPipPipPip
  • 175 posts
hii and welcoem here..to cc..!!

nice first post..!!


____________________
cuff bracelet for men Auburn real estate

#7
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts

chili5 said:

My uncle's name is Micheal also really. :)
Serıously? :D
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#8
chili5

chili5

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 7,247 posts

Xav said:

Serıously? :D

Yes :D

Holzinger said:

Thanks for the welcome guys. And no, don't really care about people's uncles with the same name. But I'm glad that you all do. :P


Your welcome, hope you enjoy yourself and have fun. :) :)

#9
Otringal

Otringal

    Newbie

  • Members
  • PipPip
  • 12 posts
wow ... u program using ASM and u say you're experience is not vast :D you're a modest one :) really, I would wish I'd knew at least C or C++ :)
Could you help me treat my injured Dino-Fly ???

#10
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts

chili5 said:

Yes :D
Scary...
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#11
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts
Hello Holzinger, Welcome to CodeCall!

#12
Chewie

Chewie

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,579 posts
Welcome to CC!

#!CrunchBang Linux ~$ apt-get into it | #!(Statler:R20101205): OpenBox | Like Linux?
“The cure for boredom is curiosity. There is no cure for curiosity.”