Welcome, Guest. Please login or register.

Author Topic: Learning C with the Amiga  (Read 32483 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: Learning C with the Amiga
« Reply #29 from previous page: February 13, 2007, 02:07:40 PM »
Precisely.

That's not parsing text, that's building text. String concatenation may be a viable option there, but even then there are other solutions.

Most database stuff I've had to do that wasn't from a basic LAMP/ASP perspective has all been in C++ anyway and there the basic string class has proved more than adequate for said purposes.
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: Learning C with the Amiga
« Reply #30 on: February 13, 2007, 04:43:43 PM »
@lou_dias

#include

More search/match/replace power than you can throw a very large stick at ;-)
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: Learning C with the Amiga
« Reply #31 on: February 14, 2007, 12:53:02 PM »
Quote

lou_dias wrote:

Stop being ignorant, I was giving Karlos an example where string concacting becomes useful and saves time.


Do you really think I needed an example?

As I'd already said, I either used the C++ string class (which supports concatenation) or found other solutions for C. For PHP, ASP, Java etc., I used the inbuilt concatenation.

The point being that if a language doesn't have string concatenation built in it may be annoying but it's hardly a serious limitation provided it gives alternatives.
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: Learning C with the Amiga
« Reply #32 on: February 21, 2007, 10:22:08 PM »
Quote

mel_zoom wrote:

Perhaps I can use certain culinary skills to lure a personal C tutor that happens to be fond of spicy food... Except he seems to have vanished under a landslide of work ;-)


Moi?

I'm very easily bribed by the promise of a good hot curry... :lol:
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: Learning C with the Amiga
« Reply #33 on: February 22, 2007, 03:45:29 PM »
That's easily the least appetising looking curry I have ever seen :lol:
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: Learning C with the Amiga
« Reply #34 on: February 23, 2007, 07:38:05 PM »
Quote

NattyBoh wrote:
Be careful Melanie, Karlos is a Muslim, for sure he will beat you and force you to wear the burka.


Length.
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: Learning C with the Amiga
« Reply #35 on: February 24, 2007, 05:45:56 PM »
Somewhat off topic here...

Quote

CannonFodder wrote:
Quote

NattyBoh wrote:
Be careful Melanie, Karlos is a Muslim, for sure he will beat you and force you to wear the burka.


I think you'll find Mel is also Muslim.


Not that it's really anybody's business but hers but I don't recall her saying that she is or not. Only that some of her family are.
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: Learning C with the Amiga
« Reply #36 on: February 24, 2007, 05:52:26 PM »
Quote

Hyperspeed wrote:
Yeah, let's forget about C and have a FIGHT!



That's easy, even without forgetting about C:

Watch closely....

C is the best procedural language bar none, C++ the best all round multiparadigm language and VB.net is soley the province of those unable to realise the aspiration of being real developers. Lastly, java, whilst being syntactically clean and nice is for workshy pseudo developers that are afraid of implementing absolutely anything for themselves or having to know the first thing about system level development.

:-P

(incidentally, I'm just winding you all up)
int p; // A