Post: C Language help please! :)
04-13-2011, 12:10 PM #1
Outlasted Wolf
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({}); Hi,
I recently picked up programming and have been doing html, bat, bit of JavaScript.. and wanted to learn a "proper" language.Winky Winky
I'm starting to do C and am looking for some help too learn it.
So if somebody knows a book or tut.. Happy Please help me Smile
Oh, i've searched the forum and haven't found anything on C and if this already is a post could you redirect me Smile
Thanks
Last edited by Outlasted Wolf ; 04-13-2011 at 12:47 PM.
04-13-2011, 02:30 PM #2
Ritztro
I am a Game Developer
I wouldnt recommend looking on this forum for tuts. Try getting an ebook on it or going on ctutorials.com or something.
04-13-2011, 02:31 PM #3
Josh_ox3
Treasure hunter
You must login or register to view this content.



^^ Get that and Learn VB.NET or C# First
04-13-2011, 04:03 PM #4
Outlasted Wolf
Do a barrel roll!
Ok thanks a lot guys Smile !!!

---------- Post added at 11:03 AM ---------- Previous post was at 11:00 AM ----------

Originally posted by ox3 View Post
You must login or register to view this content.



^^ Get that and Learn VB.NET or C# First


But i heard that vb.net wasn't very good to learn? and what is the difference in between C#, C and C++?
04-13-2011, 05:38 PM #5
Josh_ox3
Treasure hunter
Originally posted by Outlasted
Ok thanks a lot guys Smile !!!

---------- Post added at 11:03 AM ---------- Previous post was at 11:00 AM ----------



But i heard that vb.net wasn't very good to learn? and what is the difference in between C#, C and C++?




VB.NET is simple (You just do the code and the buttons can be added in the toolbox)

C# Its quite easy to switch from VB.NET to this

C++ Its complicated shit, Im not evan going to attempt it

F# is all manual (I quite like it)

The following user thanked Josh_ox3 for this useful post:

Outlasted Wolf
04-13-2011, 06:38 PM #6
Outlasted Wolf
Do a barrel roll!
Well thaks a lot Smile and I'll take a look at VB.NET later then!
Oh and btw, this is how far ive got in C, its for calculating the area of a circle where you input the radius:


#include<stdio.h>
#include<math.h>

int main()
{
int a;
float pi;
pi = M_PI;
printf("\t\vThe Area of The Circle\n");
printf("\n");
printf("\n");
printf ("This will also save as a file named Results");
printf ("\n");
printf("\tWhat is the Radius?\n");
scanf("%d",&a);
a = pi * (a*a);
printf("The answer is %d",a);
printf("\n");
FILE *f;
f = fopen("Results.txt","w");
fprintf(f,"Test 01: %d\n",a);
return 0;
}


Is it well written? I've got 2 questions two plz Smile how do you make it print the real value (with something point etc) and when it saves it as a text file, each time i restart the programm it rewrites, so how could i make it continue in the same file?
04-15-2011, 08:35 AM #7
vSaBoTeuR x
< ^ > < ^ >
Originally posted by ox3 View Post
VB.NET is simple (You just do the code and the buttons can be added in the toolbox)

C# Its quite easy to switch from VB.NET to this

C++ Its complicated shit, Im not evan going to attempt it

F# is all manual (I quite like it)


If you're not going to attempt C++, why the **** are you in the programming forums?
04-15-2011, 03:53 PM #8
Josh_ox3
Treasure hunter
Originally posted by xNCK View Post
If you're not going to attempt C++, why the **** are you in the programming forums?


Your actually f****g dopey, why should i have to do a language that looks hard as ****? im trying to get good at C# so GTFO and go learn a language yourself
04-15-2011, 03:56 PM #9
vSaBoTeuR x
< ^ > < ^ >
Originally posted by ox3 View Post
Your actually f****g dopey, why should i have to do a language that looks hard as ****? im trying to get good at C# so GTFO and go learn a language yourself


Learn Assembly, you mother****ing cocksucking maggot sack!
04-15-2011, 05:05 PM #10
Outlasted Wolf
Do a barrel roll!
+
Originally posted by xNCK View Post
Learn Assembly, you mother****ing cocksucking maggot sack!


Hey guys, everybody learns what he wants to for f*** sake! No
If u want to learn C# or C++, do it!

The following user thanked Outlasted Wolf for this useful post:

Josh_ox3

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo