thanks,
it work.............
User Profile
Collapse
-
Code:............. .............. ............ if(counter%2 == 0) { printf("$"); } else { printf("&"); } } printf("\n"); }
Leave a comment:
-
wrong output
i am trying to write a programm with the output
$$$$$$$$
$$$$$$$$
&&&&&&
$$$$$$$
$$$$$$$
&&&&&&
but instead i got
$$$$$$$
&&&&&
can somethere help me out.
thanks -
-
a programm is aready be given i just to write the correct format in.
here is what i have do so far
[code=cpp]
{
case TRANSLATION:
m[][] =transformation _value[0];
m[][] =transformation _value[0];
case ROTATION:
m[][] = -sin(degree_angl e);
m[][] = cos (degree_angle);
case SCALING:
m[][] =transformation _value[0];
m[][] =transformation _value[1];
...Last edited by sicarie; Mar 17 '08, 02:04 PM. Reason: Code tags are for code, please use them on CODE, not textLeave a comment:
-
i have gotting the linear transformation using translation,rot ation and tha scaling transformation, but my problem now is how to
get the general matrix and the concatenate transformation. please can you give the format to parform these....Leave a comment:
-
general matrix and the concatenate transformation
hello,
i am have a little problem
.how do i write a programm(Geomet ric Transformation) of linear Transformation in Translation,sca lling and rotation -
a little programm
can someone give me a hint on how to write C programm with this output.
0
00000000 00000000 00000000 00000000
cammand
1
00000000 00000000 00000000 00000001
and so on
i ve try this but it doent work
scanf("%d",inte ger)
printf("\n wert war: %d,integer")
return 0;Leave a comment:
-
a little programm
can someone give my a hint on how to write a c programm with this output.
0
00000000 00000000 00000000 00000000
and if i give a command it print out
1
00000000 00000000 00000000 00000001
command
2
and so on -
the programm work but i still have one problem,
i am surpose to have
+++++++
* * * * * * *
to
10 times
but i only got
+
*
where could the problem come from....Leave a comment:
-
-
but i have declared it aready at the begining of the programm...Leave a comment:
-
'
'Code:' line 6: expected identifer line 7: expecting ( before h, line 7: h undeclerd (first use in this function), line 7 (each undeclerd identifer is reported only once) line 7 expected expresion before = line 7 be undeclared (first use in this function) line 25:expected declaration of statement at end the input
Leave a comment:
-
[QUOTE=DumRat]Code tags mean, anywhere you put code, you have to start with '[CODE]' (without quotes) and end with '[\CODE]'.
You should include stdio.h like #include <stdio.h> or #include"stdio. h"
'Code:' it works but i still have problem with the rest error.
Leave a comment:
-
[QUOTE=zodilla58]What is the error? Please paste it here. Also use CODE tags around your code:
[CODE line 1:"stdio.h"no such file or directory
line 6: expected identifer
line 7: expecting ( before h,
line 7: h undeclerd (first use in this function),
line 14,20,24:warnin g: incompatible implicit declaration of built-in function printf,
line 25:expected declaration...Leave a comment:
-
fehler in compiler
i try to compile this programm useing pluto,it shows me error .where schould the fehler be?
#include <"stdio.h">
int main()
{
int counter;
int even=0;
int b= 7,int h= 10;
if h+ = b % 10;
b /= 10;
for( counter = 1; counter <= 10; counter++);
{
if (even == 1)
for( b = 1; b <= 7; b++);
{
printf("+\n");... -
-
[QUOTE=zodilla58]First of all Use CODE tags around your code:
[ CODE=C ]..code goes here..[ /CODE ] (without space between [ and CODE )
You can do something like this:
[CODE=C]
for( counter = 1; counter <= 14; counter++);
{
for( i = 1; i <= b; i++);
printf("+\n");
for( j = 1; j <= b; j++);
printf(" * ");
counter++;
...Leave a comment:
-
did u mean in this way.
#include <"stdio.h">
int main()
{
int b,h = 8,14;
if h+ = b % 14;
b /= 14;
for( counter = 1; counter <= 14; counter++);
{
printf("+++++++ +%d\n; counter");
else
printf(" ********%d\n"; counter);
counter++;
}
return 0;
}
sorry i m have problem...Leave a comment:
-
#include <"stdio.h">
int main()
{
int b,h = 8,14;
if h+ = b % 14;
b /= 14;
for( counter = 1; counter <= 14; counter++);
{
printf("+++++++ +%d,********%d\ n"; counter)
counter++;
}
return 0;
}
can the programm look like this....Leave a comment:
No activity results to display
Show More
Leave a comment: