News:

Holy shit, it's 2018 2019 2020 2021 2022 2023 2024, and the US isn't a fascist country! What a time to be alive.

Main Menu

C Shell :)

Started by rabbit, May 11, 2005, 10:33:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rabbit

I decided to learn C, mostly because I didn't feel like studying.  I got MingW and MSYS as a compiling system/shell, and I'm wondering if any of you have good tutorials?

PS:

My world program is sexy :)

Newby

The hell does C shell have to do with learning C?

If you're gonna learn to use a shell, use one in Linux. Windows shell emulators are dumb.

And if you're gonna use a C-oriented shell, use tcsh.
- Newby
http://www.x86labs.org

Quote[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

Quote from: Rule on June 30, 2008, 01:13:20 PM
Quote from: CrAz3D on June 30, 2008, 10:38:22 AM
I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Warrior

Losers, DJGPP + makefile.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

rabbit

#3
Quote from: Newby on May 12, 2005, 10:24:03 AM
The hell does C shell have to do with learning C?

If you're gonna learn to use a shell, use one in Linux. Windows shell emulators are dumb.

And if you're gonna use a C-oriented shell, use tcsh.
It's msys, a shell designed for cross platform C, C++, Ada, etc... compiling.  I wanted to get into C for no reason at all and downloaded it, then asked if anyone had any tutorials, so go die.  The reason I asked for tutorials is because I was writing my Hello program and realized I had nothing else to work with, and I wanted to learn.

MSYS supports grep, sh, etc.. and I do feel like I'm back using my good ol' Slackware 9.1 Install Disc Linux Kernel [of Doom], the only difference is that I haven't (and thankfully can't) wiped my HDs twice yet.

@Warrior: I used DJGPP and makefile for a while, but I didn't like them for whatever reason (it was a while ago).  I also used rhide and GNU++, but they are ew and designed for Win95 DOS.

Joe

Quoteso go die.
And this kid wants to join x86? Hrm..

Also, she sells sea shells by the sea shore. You might want to go talk to her.
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


Warrior

..and this kid is in x86?

Useless non productive, non funny, non important comments.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Joe

Hey, when did I tell the queen to die? Thats right, Mr. BLS.
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


Warrior

Whatever, I have full on Dark-Elements which is good.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Joe

Quote...she sells sea shells by the sea shore...

Say it out loud! I can't!
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


Blaze

And like a fool I believed myself, and thought I was somebody else...

rabbit

I KNOW C++ YOU MONKEY!!

I want to learn C because making DLLs and whatnot is SOOOOOOOOOOOOOOOOO much easier.

drka

heres a nice tutorial. hello world :P. #include <iostream>

using namespace std;

int main (int argc, char *argv[])
{
  cout << "Hello World!" << endl;
  cout << "Press ENTER to continue..." << endl;
  cin.get();
  return 0;
}

Sidoh

Quote from: R.a.B.B.i.T on May 13, 2005, 02:36:18 PM
I KNOW C++ YOU MONKEY!!

I want to learn C because making DLLs and whatnot is SOOOOOOOOOOOOOOOOO much easier.

If you know C++, you know C. Take out the OOP stuff and you have C.

rabbit

Quote from: Mangix on May 21, 2005, 12:17:55 AM
heres a nice tutorial. hello world :P. #include <iostream>

using namespace std;

int main (int argc, char *argv[])
{
  cout << "Hello World!" << endl;
  cout << "Press ENTER to continue..." << endl;
  cin.get();
  return 0;
}

A. That's retarded.
B. cin.get()?  That serves no purpose.
C. You're using a namespace you douche.
D. You use namespace std but don't use stdio, smart one.

Warrior

afaik C doesn't utilize the cout/cin functions and they also afaik don't have namespaces.

C isn't object oriented so the closest thing to OO you can do in C is linked lists
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling