C Lessons


 
Thread Tools Search this Thread
Top Forums Programming C Lessons
# 1  
Old 02-15-2006
C Lessons

I started wrting c lessons for absoulute begginers to advanced users, I think material can be considered quality, and my students learn programming with this stuff. If you wish feel free to start reading it here:

www.visualcmaniac.com

its only 5 lessons for now so maybe could be easier for you to start following it now in the beginning. Hope I helped..materials will be published on daily base. Enjoy now, or later when I reach more advanced topics...
# 2  
Old 02-16-2006
its' really very useful

many thanks bro
# 3  
Old 02-18-2006
7th lesson up!
# 4  
Old 02-19-2006
can someone help me how to format my code so it doens all come up like this with no spaces and tabs? i use blogger. thank you!

if (d > 0)
{
/* results are real numbers */
q = pow (d, 1./2);
x1 = (-b + q)/(2*a);
x2 = (-b - q)/(2*a);
printf ("X1=%f X2=%f\n", x1, x2);
}
else if (d == 0)
{
/* there's only one result */
x1 = -b/(2*a);
printf ("X1=X2=%f\n", x1);
}
else
{
/* results are conjugated complex numbers */
q = pow(-d, 1./2);
x1r = -b/(2*a) ;
x2r = x1r;
x1i = q/(2*a);
x2i = -x1i;
printf ("X1 = (%f,%f)\n", x1r, x1i);
printf ("X2 = (%f,%f)\n", x2r, x2i);
}
}

____________________
http://www.visualcmaniac.com Daily Lessons for programming in Visual Studio, using C code.
# 5  
Old 02-21-2006
find out how to do it. just added PRE tags.

also i added to 9th lesson along with some conversions ASCII, Hex to decimal.. in my sidebar
__________________
http://www.visualcmaniac.com
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. What is on Your Mind?

vi/vim lessons 1 - 7

Basic Editing https://www.unix.com/members/neo-albums-forum-pics-picture525-vi-vim-tutorial-1-basic-editing.gif (9 Replies)
Discussion started by: Neo
9 Replies

2. What is on Your Mind?

The 5 Minute Management Course (Six Lessons)

Lesson 1: A man is getting into the shower just as his wife is finishing up her shower, when the doorbell rings. The wife quickly wraps herself in a towel and runs downstairs. When she opens the door, there stands Bob, the next-door neighbour. Before she says a word, Bob says, 'I'll... (2 Replies)
Discussion started by: Neo
2 Replies

3. Solaris

Private Lessons

Hi everyone, I'm looking to hire for private lessons a individual who is presently working as a unix system administrator or instructor in school who is teaching unix. I live in Clifton nj my nubmer is Cell **no phonenumbers on this forum** or email **no emails on this forum** please let me... (1 Reply)
Discussion started by: john furman
1 Replies
Login or Register to Ask a Question