English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Programming & Design - August 2007

[Selected]: All categories Computers & Internet Programming & Design

//in c programming
main()
{
int a,b,c;int flag=0;
printf("enter the sides of triangle");
scanf("%d%d%d",&a,&b,&c);
while(flag==0)
{
if(a==b&b==c)
{
printf("triangle is equilateral");
break;
}
if(a==b||b==c||c==a)
{
printf(triangle is isoceles");
break;
}
if(a!=b&&b!=c&&c!=a)
{
printf("triangle is scalene");
break;
}
}//while closes
getch();
}
but compiler shows error in break says misplaced break

2007-08-14 06:40:55 · 5 answers · asked by nikhil k 1

Obfuscated code is source code that is (usually intentionally) very hard to read and understand. Some languages are more prone to obfuscation than others. C, C++ and Perl are most often cited as easily obfuscatable languages. Macro preprocessors are often used to create hard to read code by masking the standard language syntax and grammar from the main body of code. The term shrouded code has also been used.

this was one of the definitions found by me for obfuscation

2007-08-14 06:22:36 · 2 answers · asked by sai kiran 1

is there a command simmilar to awk that instead of printing colums, as awk does, prints rows?

2007-08-14 06:17:16 · 5 answers · asked by toodles_1399 1

such as qualities in written communication. elements meaning qualities.

2007-08-14 06:08:22 · 1 answers · asked by mm87clark 1

Hi, i have a software in jav, it is using class files..i know alittle about jave, i have decopiled the class file..and did some output changes in the messeges..now i want to know the following..........
(1)which copiler should i use to recompile? (2)..shoudl it be same as the compiler of application..(3) if yes, who can i know which compiler was used to write the code ? please help

2007-08-14 05:59:37 · 5 answers · asked by TheCurious 4

I am trying to make a logo in word or publisher or something. I have an original logo I am working with but just want to add address and phone number information.... Help?

2007-08-14 05:51:02 · 4 answers · asked by starr32 1

I am interested in becoming a web designer. I dont have the money for school right now, so I want to teach myself as much as i possibly can untill i can get to school.

My questions to you.

1. If you are a web designer, what school did u go to, or how did you learn what you know.
2. what books/programs/languages would you recomend learning.

Im already pretty good with photoshop and dreamweaver. I want to learn flash but it seems so difficult to self teach. any good books or tutorials out there?

Im really just looking for some good advice and some help in where i should get started. what are some things i can do now, untill i get to school so i can be as prepared as possible.

2007-08-14 05:29:01 · 3 answers · asked by Mindless 3

Are website critiques allowed on yahoo answers?

2007-08-14 05:14:00 · 3 answers · asked by Creative 1

if (matchedNo.getValue())==1{
Integer.parseInt(jTextFieldWinnings.getText)+1
}

It doesn't like the "==1" bit, I have no idea why.

2007-08-14 03:56:55 · 3 answers · asked by Night_nurse 2

2007-08-14 03:46:26 · 7 answers · asked by rowell_sk 1

Assume that readInt reads and returns one integer value

int x, sumNeg=0, sumPos=0;
x=readInt();
while ( x != 0)
{
if (x<0)
sumNeg += x;
if (x>0)
sumPos +=x;
}

if (sumNeg < -8)
S.O.P.ln("negative sum: " + sumNeg);
if (sumPos > 8)
S.O.P.ln("positive sum: " + sumPos);

which of the following inputs would cause every line of code to be executed at least once?

0

2 4 6 8

2 -2 4 -4 0

4 -4 6 -6 0
-2 -4 -6- -8 0

2007-08-14 02:58:41 · 2 answers · asked by dingdong 1

When will the output of the two code segments be different considering y is an initialized int variable?

SEGMENT 1

int x=0
while (y>0)
{
y--;
x++;
}
S.O.P.ln("x =" + x);


SEGMENT 2

for (int x=0; y>0; y--)
{
x++;
}
S.O.P.ln("x= " + x);

2007-08-14 01:50:18 · 2 answers · asked by dingdong 1

I don't mind what web language it is coded in, but I would like to be able to edit it slightly.

I would like it to have a full membership feature with checkout and lists of products which can be clicked on for greater information. And any other features would be a welcomed bonus.

2007-08-14 00:53:50 · 2 answers · asked by Anonymous

2007-08-14 00:47:42 · 3 answers · asked by Anonymous

please i need it !!!!!
like a thermometer that show the raiting of a something
who is winning you know?!?!?!?

2007-08-13 17:57:18 · 1 answers · asked by jvm 1

I need to do a binary compare to compare two data files in C. I am not sure how to do this. Can I use memcmp for this? Thank you very much for the answer

2007-08-13 16:50:47 · 2 answers · asked by Anonymous

I am designing a logo and need a name and a design please?? The logo can be about anything. I am out of ideas!! Please help..

2007-08-13 16:21:25 · 6 answers · asked by Anonymous

I have linux. Can anyone tell me what to do with it?
I want to learn how to program computers and someone said that Linux would be the best way to go. Well I'm here, now what do I do? :)

2007-08-13 16:05:22 · 5 answers · asked by Dr. C∂ƒƒee £ips :} 4

I cannot seem to get this formula to copy from one cell to several cells thru the column without getting errors. The "/" (division) aspect of it will not stay static. It changes with the cell reference.

2007-08-13 16:04:26 · 3 answers · asked by sapper 1

quick! how do you change your working directory in DOS command prompt? Please!

need to change it to a particular folder in my directory!

Thanks alot

2007-08-13 15:48:26 · 3 answers · asked by Anonymous

I am having problems with sql and php. Well rather the people I am working with to build a website. I have no clue what either of those things are or what they do. HELP ME PLEASE!!

2007-08-13 15:34:07 · 4 answers · asked by Anonymous

I'm only 13 but I'm very good with computers. Is there a web site I can go to that has a list of people that need to hire someone to make a website or something?

2007-08-13 15:17:36 · 4 answers · asked by joshme17 3

What kind of code.

2007-08-13 14:21:46 · 4 answers · asked by zac2k4 1

I want to define an XML namespace. I know what is an XML namespace and I know how to declare them in my XML file but I don't know how to create my own namespace? What should be in an XML namespace?

2007-08-13 11:57:47 · 3 answers · asked by ali_fatolahi 2

hi,

on my site there is a php coding error. it is showing a blank page.

any idea why this would be happening? would it show this because the database is not connecting to it?

matt

2007-08-13 10:36:52 · 4 answers · asked by Matt 1

external links are also helpful

2007-08-13 10:17:06 · 3 answers · asked by mortifiedpengn 3

I need to be be able to create a sort of "quiz" where a user can select one option at a time and based upon their answer they are asked a different question. At the end, they will be presented with the results. (Much like the "find the dog food" quiz on Petsmart.com, where it asks the age of your dog, it's breed, it's activity level, etc, and the quiz dynamically changes which questions are asked based on your previous answers, and then at the end presents you with the "best" dog food for your dog.)

Does anyone have a website with a tutorial where I can learn how to use this?

No flash, it needs to work without a plug in.

2007-08-13 09:52:15 · 5 answers · asked by Maber 4

2007-08-13 09:51:08 · 2 answers · asked by ccppjava 1

fedest.com, questions and answers