My new toy; patent pending of course ;)
Good work.but when i enter non numerical letters i don't error or any message,rather i get '*'.I don't like ppl attaching html,you can use javascript and do lots of malicious works.
good work ^^
u used trigonometry on it? ^^
well; I didnt account for the non.numerics .... good catch :) and yes, there can be bad people who program ... i perfer not to be one of them tho ;)
i did use the trig. I could have keep the x and y values parametric, but was trying to work out a "function" based approach.
i tihnk its harder to draw elipse by using trig to circle^^
there usually are easier ways to do things; but I tend to go for the knuckle dragging efforts ;)
#include <stdio.h> #include <conio.h> int main() { float y,x,b,a; printf("please enter 2 values:\n"); scanf("%f%f",&a,&b); for(x=-a;x<=a;x++) { for(y=-b;y<=b;y++) { if((((x*x)/(a*a))+(y*y/(b*b))<=1)&&(((x*x)/(a*a))+((y*y)/(b*b))>=(0.9))) printf("*"); else printf(" "); } printf("\n"); } getch(); return 0; }
well here what about that one ^^
that looks like a doable approach :)
the format is unfamiliar to me ... is it scripting or other?
just copy the code write on c
no its a c code ^^
wihtout a compiler handy, I tend to amuse my kids with javascripts in html lol
xd just dl a compiler as i do right now ^^ but i tihnk the code works well ^^
ill look into doing that, thnx
i think Shell can be used for that ^^ becuase we use Linux Shell to compile .c exploits
gotta take 2 compter classes while getting by bachelors in math; i thik they go with what.. VB and C++ these days
i think so, i think you should learn QBASIC firstly then you can learn VB.NET and you can learn the .NET framework, then C and C++ and C# i kno them all ^^
i played with the qbasic as a kid; 10 years ago got into VB with VB4, but my carpentry job ate up most of me time back then
oh nice ^^ then you should learn C, its the base, and after thatC# and C++ will looks like easy and etter, you should work with C#, its really a good thecnology ^^
ill consider it :) thanx again
amistre here is the exe format of the code have a look at it, and please enter small values like 1 or 2 ^^
amistre u there?
cute :) that traces an ellipse, but needs more debugging
when the values inputed are too large, i got that ..
ncie toy, I want one :D
well yes, i can overcome of this problem but ill need a lot of work, many if and else's ... but i think the one you made better... but ill code it in C++ with better mechanic i think :D
lol ... good luck with it :)
i think i will not sleep this night lol :P
and thanx
Join our real-time social learning platform and learn together with your friends!