got it. i made the hello world example on it successfully. many thanks. could you tell me where is the hello.c file in?
Type: Posts; User: runeveryday
got it. i made the hello world example on it successfully. many thanks. could you tell me where is the hello.c file in?
i have installed CentOS on vmware with text style,now i want to write the c programme on it. what software shoud i install? and how to install them? after installed those necassary tools, what are...
I have learned over some basic knowledge of some program languages like c php javascript. But still couldn't write complex function or program,only able to write simple functions or programs.
So...
i want to learn programming,some people around me said C is the best language to begin with.so i choose it and intend to learn it.
i am a newbie of C language,now,i want to learn to it. the operating system i used is windows. so if i want to write a c code. what 's the tool i should use and install. any tips would be appreciated.
LOL, i think this is a trick way to get the result.
still don't how to do it.
#include<stdio.h>
define M char * lines[] = {
" *\n",
" * * *\n",
"*******\n",
}
for(i = 1; i <= 7; i++) {
for(j = 1; j <= 15; j++) {
res += (i * j) % 8 ? ' ' : '*';
}
res+= '\n';
}
this is the main code in javascript to get the thing done,don't know how to use it in C.
how to write the function, hope you can give me some tips.
when i first see this problem. the nested for loops starts in my head. but the inner loop and the loop body which i can't know how to write.
want to print the red asterisk like the Attach Files display. first when you 're given this problem,how to think about it and make it done,
many thanks to your very cool tips, i'll start up gedit and get coding. i know on the way of making my c ability perfect, there will be lots of hard time waiting for me. but i think i am able to...
,thanks for all you replies.what is the best editor for writeing C code on linux, i am only want to make my C ability perfect .for the moment, don't learn linux OS
i am also a beginner to learn about C programming , lots of people tell me the best platform to learn C is on linux. so i want to do this. i don't know where to write C code and compiling, linking...
i want to learn how to develop C on linux, now i have installed two styles linux system(ubantu ,debian).i am a newbie, don't know where i should write my c programme in ? and what tool to compile my...