Go to Post It's still not about the robots. FIRST is about doing the right thing. - DonRotolo [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 15-04-2008, 15:12
berkanbaba berkanbaba is offline
Registered User
no team
 
Join Date: Apr 2008
Location: turkey
Posts: 6
berkanbaba is infamous around these partsberkanbaba is infamous around these partsberkanbaba is infamous around these parts
Re: C Programming Homework Help Needed

i don't need to know your advertisements or whatever you are working in just ask a question and reading some blank messages..

so thank you dave for your kind message.i can write the program but one step is required.

you said

3a Convert the number to binary

in your message.and i don't know how to find the binary of the number on a program.i can do the others bur the main problem is this part because i don't know it.i want to say it again this is not a homework or assignment because in highschool there is no lesson about programming.i will see c programming on the college next year and i started learning it 3 months ago.i'm new at this and i'm saying that i need help but some of you writing me messages with no knowledge in them..

one step is needed dave waiting your message..thank you..
  #2   Spotlight this post!  
Unread 15-04-2008, 15:26
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: C Programming Homework Help Needed

Berkanbaba,

Often the best way to answer a question is to first ask a few in return. Before anyone can help you, I think we need to know:



Do you know what binary numbers are?



Here's a quick warning: Your profile says you're from Turkey, which in itself is not a problem at all. Understand that in North America we often have different perspectives on what "learning" is. I say this having had family and friends educated overseas, where "learning" centres around memorizing and repetition. Not so much emphasis is put on understanding.

You will not find anyone here who will write your program for you.

You will find dozens willing to teach you and direct you to source where you will 100% learn and understand how to write your own program.

That's approximately infinitely more valuable in my opinion.
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
  #3   Spotlight this post!  
Unread 15-04-2008, 15:47
berkanbaba berkanbaba is offline
Registered User
no team
 
Join Date: Apr 2008
Location: turkey
Posts: 6
berkanbaba is infamous around these partsberkanbaba is infamous around these partsberkanbaba is infamous around these parts
Re: C Programming Homework Help Needed

my genius friend slimbo jones

yes i know the binary numbers but don't know how to write on C.

Do you know how to write binary numbers in a C program ?

i don't know where are you from but think that toronto is not your real town.i don't need your education knowledge or your learning perspective.and i think in your hometown you don't know anythink about helping..but as an engineer you should know this ethic i think.

thank you for your genious decisions and opinions but you answered my question with another question and that is your answer i think lol
  #4   Spotlight this post!  
Unread 15-04-2008, 16:17
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: C Programming Homework Help Needed

My genius friend Berkanbaba,

Toronto is indeed my hometown, and I have been consistently recognized as one of the best engineers in my profession, one of the best business people in my industry, one of the best mentors in FIRST, and one of the best teachers in both computer science and mathematics in my area.

I challenge my students, colleagues, and peers at every opportunity, and will now challenge you in the same way.

I actually don't believe you know binary numbers.

Prove me wrong.

Take the number 188, and show us all, step by step, how you would convert it into binary representation.

Whether you realize it or not, if you can successfully do this, you'll end up getting the help you so desperately need with your assignment. But only after you do this can the community here help you code each of your steps into C.

...urgently waiting on your reply berkanbaba...
__________________
In life, what you give, you keep. What you fail to give, you lose forever...

Last edited by Mr. Lim : 15-04-2008 at 16:51.
  #5   Spotlight this post!  
Unread 15-04-2008, 17:11
berkanbaba berkanbaba is offline
Registered User
no team
 
Join Date: Apr 2008
Location: turkey
Posts: 6
berkanbaba is infamous around these partsberkanbaba is infamous around these partsberkanbaba is infamous around these parts
Re: C Programming Homework Help Needed

@ genius slimbo jones

you look like not a toronto people korean or chinese or like that..you are the king congratulations or you think that you are the best,nice for you.you said you have challanged with your students what a genius man you are challenging with students huh!

take your number or whatever you want..

@dave

thanks again man you really helped me to make the program.


#include<stdio.h>
int main(void)
{
int sayi,bolum,kalan,sonuc=0,counter=0,p=1,i;
for(i=0;i>-1;i++)
{
do
{ printf("Enter a positive integer:");
scanf("%d",&sayi);}
while(sayi<0);
if(sayi==0)
{
printf("Stop... Bye..");
break;}
else
{do
{bolum=sayi/2;
kalan=sayi-(bolum*2);
sayi=bolum;
p=1;
for(i=0;i<counter;i++)
{p=p*10;
}sonuc=sonuc+(kalan*p);
counter++;}
while(bolum!=0);
printf("It is %d. At least %d digits required.\n",sonuc,counter);}
sonuc=0;
counter=0;}
getchar();
getchar();
return 0;
}


@ indiana jones

take your number and write it.or just run it in your ..head.

take your community and go higher the flying man..

best wishes super genius indiana jones.
  #6   Spotlight this post!  
Unread 15-04-2008, 17:26
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
Re: C Programming Homework Help Needed

Wow, just wow....

I'm glad that my post helped you, but from this point on I will be silent in this thread. The disrespect and immaturity that you have shown clearly demonstrates that you have more to learn than C programming. Slimbo made a valid point and you have chosen to take that as an attack for whatever reason.
  #7   Spotlight this post!  
Unread 15-04-2008, 17:44
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: C Programming Homework Help Needed

Quote:
Originally Posted by berkanbaba View Post
@ genius slimbo jones

you look like not a toronto people korean or chinese or like that..you are the king congratulations or you think that you are the best,nice for you.you said you have challanged with your students what a genius man you are challenging with students huh!
Mister berkanbaba,

either you failed to understand what jones meant or you seriously need to realize something: We are completely willing to help you, but instead of just telling you what to do we want you to learn the method behind it so that you can better yourself and your programming.

As the proverb says:

"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime."
__________________
  #8   Spotlight this post!  
Unread 15-04-2008, 15:41
JamesBrown JamesBrown is offline
Back after 4 years off
FRC #5279
Team Role: Engineer
 
Join Date: Nov 2004
Rookie Year: 2005
Location: Lynchburg VA
Posts: 1,277
JamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond repute
Re: C Programming Homework Help Needed

Quote:
Originally Posted by berkanbaba View Post
i don't know how to find the binary of the number on a program.
I outlined an algorithm to find binary numbers in my post above, do you understand what i said to do? If you don't what do you need more advice on. If you understood what i said then where are you getting stuck.

Honestly from what you have said the only thing that would seem to satisfy what you are looking for would be for us to write the program for you which quite frankly i am not going to do. All we ask is that you ask more specific questions.
__________________
I'm Back


5279 (2015-Present)
3594 (2011)
3280 (2010)
1665 (2009)
1350 (2008-2009)
1493 (2007-2008)
1568 (2005-2007)
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
C Programming Homework Help Needed Pat McCarthy Programming 53 27-09-2008 22:15
programming help needed krunal Programming 3 29-01-2007 00:18
HELP-URGENT PROGRAMMING HELP NEEDED Rohith Surampudi Lego Mindstorm Discussion 1 24-03-2006 23:05
URgent Programming Help needed rcubes85 Programming 4 15-02-2005 23:21


All times are GMT -5. The time now is 08:00.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi