I think this is that i was looking for :)
Ok.I will start from here :)
Thanks a lot :)
Type: Posts; User: sk8harddiefast
I think this is that i was looking for :)
Ok.I will start from here :)
Thanks a lot :)
But i dont know what other "projects" to create.I have created a calc,a converter from euro to dollar,from Fahrenheit to Celsius.Now?I have not any other idea from simple programs and i am stack here...
Hi.I am new to C and i am trying to create some small apps just for learning.
How to create a simple browser just to open a url that i will give to him?
i can not do it :(
i tried everything but i can not :(
please if you can help me :(
also i make this little program only to open and read the file but is not reading it!!!!
ok.I will google it and make a try.If i can't do it i will write back
and how to do that???because i don't know C very well.only basics like scanf,printf,if else and i know fprintf & fscanf but i have a little syntax problem!!!
i am doing it for 2 reason.First off all i am full in love with C so practice with small and easy projects is one way to learn C!!!!The second reason is that on my university they tell as to do...
hi.I am a gentoo user.I want to create a little tool that will give to me stats of my computer.
On gentoo command:
cat /proc/cpuinfo give me this:
processor : 0
vendor_id :...
hi.i really want to learn C.Not only to learn.I want to be an expert on C!!!!!!!!!
But i can't :( when i start learning it was "simple" I learn to sum 2 numbers,to print to screen a message.But now...
i dont know programming even C.i try to make something simple only for learn how to use if,char,int.the first steps =]
so a=sk8; is not needed because i initialize it into if.wright?
sk8 is the password.i initialize it char because is a character.sorry for my english but i dont know to speak verry well =[
#include <stdio.h>
main()
{
char a,sk8;
printf("give password:");
scanf("%c",&a);
a=sk8;
if (a==sk8)
printf("well done\n");
else
#include <stdio.h>
main()
{
char a,sk8;
printf("give password:");
scanf("%c",&a);
a=sk8;
if (a=sk8)
printf("well done\n");
else
we have writen scanf("operator"); too.what is wrong???
#include <stdio.h>
main()
{
char operator;
int a,b,c;
printf("give the operator:");
scanf("operator");
if (operator='+')
{
printf("give first number:");
#include <stdio.h>
main()
{
int a,b,c;
c=a+b;
printf("give first number:");
scanf("%d",&a);
printf("give second number:");
scanf("%d",&b);
printf("the result is:");
so i could tell int c; ?
ok.i wrote printf ("%.0f",c); and now i have result 13!!!!thanks :) :)
i try ("%d", c); but the result was zero and i try ("%f", c); and the result is 13.00000.why with so much zero?
i want to make my first program in C.A program that will calculate two numbers , and show me the result.
this is my code.
#include <stdio.h>
main()
{
int a,b;