Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (-1) | Shanky.com
C coding begening

 
Post new topic   Reply to topic Printable version
 View previous topic  kickout delay exceeded Post :: Post Standard Revised Settings  View next topic  
Author Message
a_bug
Newbie


Age:36
Gender:Gender:Male
Joined: Jul 06 2004
Posts: 22
Location: USA-IA
Offline

PostPosted: Wed Jul 21, 2004 11:31 pm    Post subject: C coding begening Reply to topic Reply with quote

first i don think i know how to spell "begenning" or w/e it is. anyway i have taken up C programing like i said i would and i got a book here. its making a simple program (well its telling me how to make one) . anyway ive got ms visual C++ toolkit and turbo C++ for my compilers. only it says to like use the command tcc or operation or w/e u call it and it says "tcc" not found. so this command line for visual basic where do i type it in, i alreayd have a text file and all that other stuff made. so where do i type this C:>cl /AL /Zi /W1 hello.c it also said some stuff about IDE and how tod od that shit, this is relally ocnfusing and i need help... new_let_it_all_out.gif new_let_it_all_out.gif new_let_it_all_out.gif im so damn mad ima go kill the crap out of some ppl in vice city
Back to top
View users profile Send private message Add User to Ignore List AIM Address
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Thu Jul 22, 2004 2:20 am    Post subject: Reply to topic Reply with quote

It is spelled: Beginning.... you are 15, and live in the USA?
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:38
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Thu Jul 22, 2004 2:29 am    Post subject: Reply to topic Reply with quote

I was wondering the same...
Back to top
View users profile Send private message Add User to Ignore List
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:38
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Thu Jul 22, 2004 2:30 am    Post subject: Reply to topic Reply with quote

...about what Cypher asked in the last part of his message. icon_razz.gif
Back to top
View users profile Send private message Add User to Ignore List
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Thu Jul 22, 2004 4:03 am    Post subject: Reply to topic Reply with quote

IDE = Interactive Development Environment. It's a full Windows app. You edit, compile, link, debug, execute, all in the a single app. And you don't have to type commands, you click BUILD, and it does everything.
_________________
4,691 irradiated haggis!
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Thu Jul 22, 2004 5:39 am    Post subject: Reply to topic Reply with quote

*toast to ekted* aye! IDE.. May they ever bless this programing realm..


lol

yes i've seriously lost it biggrin.gif
Back to top
View users profile Send private message Add User to Ignore List
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Thu Jul 22, 2004 1:56 pm    Post subject: Reply to topic Reply with quote

Code: Show/Hide
#include <stdio.h>

int main()
{
    int counter;
    int age = 15;
    char name[20];

    printf("I am from the USA.\n");

    printf("I am %i years old.\n",age);

    sprintf(name,"a_bug");

    printf("My name is %s.\n",name);

    for (counter = 1; counter <= age; counter = counter + 1)
    {
        printf("I have had a birthday for when I was %i.\n",counter);
    }

    if (age >= 21)
        printf("I can legally drink alchol in the USA.\n");
    else if (age >= 18)
        printf("I can legally drink alcohol in Canada.\n");
    else if (age >= 12)
        printf("I can legally drink alcohol in France.\n");
    else
        printf("I can't legally drink alcohol anywhere.\n");

    return 0;
}
Back to top
View users profile Send private message Add User to Ignore List AIM Address
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Thu Jul 22, 2004 2:56 pm    Post subject: Reply to topic Reply with quote

rotfl

icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List
a_bug
Newbie


Age:36
Gender:Gender:Male
Joined: Jul 06 2004
Posts: 22
Location: USA-IA
Offline

PostPosted: Thu Jul 22, 2004 4:11 pm    Post subject: Reply to topic Reply with quote

thats just halarious, but to Mr Ekted who tried to help, where is the file that i click to open up the page so i can click build?
Back to top
View users profile Send private message Add User to Ignore List AIM Address
a_bug
Newbie


Age:36
Gender:Gender:Male
Joined: Jul 06 2004
Posts: 22
Location: USA-IA
Offline

PostPosted: Thu Jul 22, 2004 4:17 pm    Post subject: Reply to topic Reply with quote

sry i forgot to say this in ^^^^ that post, but anyway, i was wondering if i could look at like continuum's files, just look, no touch cuz im sure id screw it up
_________________
If you want an opinion, I'll give it to you
Back to top
View users profile Send private message Add User to Ignore List AIM Address
-Smong-
Guest


Offline

PostPosted: Thu Jul 22, 2004 4:42 pm    Post subject: Reply to topic Reply with quote

Make sure your 'path' is setup correctly, that may be why it can't find 'tcc'.
You can get a command prompt/console by doing start -> run "cmd" or "command" (depending on what version of windows you have).
Then you can use cd (change directory) to get to the same directory as the compiler:
> cd c:\where\you\installed\tcc
> tcc sample.c -o sample.exe (I'm just guessing with the parameters to tcc)

Or:
> cd c:\where\my\source\code\is (maybe c:\windows\desktop)
> c:\where\you\installed\tcc.exe sample.c -o sample.exe
> sample.exe (run the program)
(funky stuff gets displayed here)

Visual basic and C are two different languages.
I don't think anyone is going to get ctm source.
Please don't double post if both posts were within a few hours of each other (use the edit button).
Back to top
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:38
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Thu Jul 22, 2004 4:48 pm    Post subject: Reply to topic Reply with quote

Hey, drinking alcoholic drinks is legal in Holland at any age! icon_razz.gif
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> General Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 177 page(s) served in previous 5 minutes.

phpBB Created this page in 0.081817 seconds : 32 queries executed (62.4%): GZIP compression disabled