Discuss about the latest news & interesting topics, real life experience or other out of topic discussions with locals & expatriates in Singapore.
-
Sergei82
- Editor
![Editor Editor]()
- Posts: 1456
- Joined: Mon, 02 Nov 2009 9:52 pm
-
Quote
-
0
login to like this post
Post
by Sergei82 » Mon, 18 Mar 2013 10:22 pm
rajagainstthemachine wrote:
every programmer knows c++ > c

You used a wrong programming language. The requirement was: C. Stop excusing yourself.

-
rajagainstthemachine
- Manager
![Manager Manager]()
- Posts: 2871
- Joined: Sat, 24 Nov 2012 10:45 am
- Location: Singapore
-
Quote
-
0
login to like this post
Post
by rajagainstthemachine » Mon, 18 Mar 2013 10:37 pm
Sergei82 wrote:rajagainstthemachine wrote:
every programmer knows c++ > c

You used a wrong programming language. The requirement was: C. Stop excusing yourself.

heh!
To get there early is on time and showing up on time is late
-
OracleOfQuantico
- Newbie
![Newbie Newbie]()
- Posts: 19
- Joined: Tue, 25 Dec 2012 9:54 pm
-
Quote
-
0
login to like this post
Post
by OracleOfQuantico » Mon, 18 Mar 2013 11:05 pm
Sergei82 wrote:rajagainstthemachine wrote:void main ()
{
cout<<"\n cool story bro ";
}
cout??? That is C++, not C. This piece of code is wrong and worthless.

+1
-
Mi Amigo
- Manager
![Manager Manager]()
- Posts: 1794
- Joined: Sat, 19 Jun 2004 10:23 pm
- Location: Kinto Pino
-
Quote
-
0
login to like this post
Post
by Mi Amigo » Mon, 18 Mar 2013 11:08 pm
Well I reckon both C and C++ are for wimps, having cut my teeth on 6800 (no, there are no missing zeros

) and Z80 assembly language programming.

Be careful what you wish for
-
JR8
- Immortal
![Immortal Immortal]()
- Posts: 16522
- Joined: Wed, 24 Mar 2010 12:43 pm
- Location: K. Puki Manis
-
Quote
-
0
login to like this post
Post
by JR8 » Tue, 19 Mar 2013 12:20 am
Mi Amigo wrote:and Z80 assembly language programming.

Blast from the past! I seem to recall typing DOS line-code into my Z80.
> 10 Do something
> 20 Then do this
...
> 100 Then Run
> 110 Then Print
Oh and producing ASCII-art via machine readable paper tape! We'd spend
hours in school 'Computer club' producing those...
http://en.wikipedia.org/wiki/Ascii_art
-
x9200
- Moderator
![Moderator Moderator]()
- Posts: 10067
- Joined: Mon, 07 Sep 2009 4:06 pm
- Location: Singapore
-
Quote
-
0
login to like this post
Post
by x9200 » Tue, 19 Mar 2013 8:10 am
rajagainstthemachine wrote:nakatago wrote:
then you've never handled embedded systems.
i have worked with embedded systems believe me, but I've used Micro-controller assembly code not C or C++
man this is years ago in engineering school.
I have not, but isn't it very architecture specific? Putting substantial effort in place you would probably like to have something portable.
-
nakatago
- Moderator
![Moderator Moderator]()
- Posts: 8363
- Joined: Tue, 01 Sep 2009 11:23 pm
- Location: Sister Margaret’s School for Wayward Children
-
Quote
-
0
login to like this post
Post
by nakatago » Tue, 19 Mar 2013 8:28 am
rajagainstthemachine wrote:
i have worked with embedded systems believe me, but I've used Micro-controller assembly code not C or C++
man this is years ago in engineering school.
You misunderstand the power of C.
"A quokka is what would happen if there was an anime about kangaroos."
-
rajagainstthemachine
- Manager
![Manager Manager]()
- Posts: 2871
- Joined: Sat, 24 Nov 2012 10:45 am
- Location: Singapore
-
Quote
-
0
login to like this post
Post
by rajagainstthemachine » Tue, 19 Mar 2013 8:50 am
x9200 wrote:rajagainstthemachine wrote:nakatago wrote:
then you've never handled embedded systems.
i have worked with embedded systems believe me, but I've used Micro-controller assembly code not C or C++
man this is years ago in engineering school.
I have not, but isn't it very architecture specific? Putting substantial effort in place you would probably like to have something portable.
It is architecture specific yes and thats one of the drawbacks of microcontroller code.
For Intel its different, for ARM its different for Motorola the memory addressing used to be the exact opposite of Intel. I used a fair amount of assembly code back in the day to build an antenna that could pick up signals from polar orbiting satellites, build small receivers that could decipher RC5 code from remote controls and so on.
To get there early is on time and showing up on time is late
-
rajagainstthemachine
- Manager
![Manager Manager]()
- Posts: 2871
- Joined: Sat, 24 Nov 2012 10:45 am
- Location: Singapore
-
Quote
-
0
login to like this post
Post
by rajagainstthemachine » Tue, 19 Mar 2013 8:52 am
nakatago wrote:rajagainstthemachine wrote:
i have worked with embedded systems believe me, but I've used Micro-controller assembly code not C or C++
man this is years ago in engineering school.
You misunderstand the power of C.
how exactly did I misunderstand the power of C ? by using cout instead of printf ?
*shakes head*
To get there early is on time and showing up on time is late
-
zzm9980
- Governor
![Governor Governor]()
- Posts: 6869
- Joined: Wed, 06 Jul 2011 1:35 pm
- Location: Once more unto the breach
-
Quote
-
0
login to like this post
Post
by zzm9980 » Tue, 19 Mar 2013 8:54 am
rajagainstthemachine wrote:
every programmer knows c++ > c

C++ is like jamming a helicopter inside a Miata and expecting some sort of improvement. —
-
rajagainstthemachine
- Manager
![Manager Manager]()
- Posts: 2871
- Joined: Sat, 24 Nov 2012 10:45 am
- Location: Singapore
-
Quote
-
0
login to like this post
Post
by rajagainstthemachine » Tue, 19 Mar 2013 8:57 am
zzm9980 wrote:rajagainstthemachine wrote:
every programmer knows c++ > c

C++ is like jamming a helicopter inside a Miata and expecting some sort of improvement. —
To get there early is on time and showing up on time is late
-
rajagainstthemachine
- Manager
![Manager Manager]()
- Posts: 2871
- Joined: Sat, 24 Nov 2012 10:45 am
- Location: Singapore
-
Quote
-
0
login to like this post
Post
by rajagainstthemachine » Tue, 19 Mar 2013 9:09 am
programmers heaven was one of the sites I used to visit for all my school and college projects on C and C++
I don't know if it still offers all latest and greatest anymore, I used to find a ton of useful info on there.
http://www.programmersheaven.com/
To get there early is on time and showing up on time is late
-
Sergei82
- Editor
![Editor Editor]()
- Posts: 1456
- Joined: Mon, 02 Nov 2009 9:52 pm
-
Quote
-
0
login to like this post
Post
by Sergei82 » Tue, 19 Mar 2013 9:38 am
The irony is Java and C# did not replace C++ completely as predicted, and both of them may die off in the future. With such a trend soon industry will get back from C++ to C to get competitive advantage (for high frequency trading, for example, every nanosecond counts). I will not be surprised is within the next decade I will have to recall Assembler.

-
-
EP pass rejected and applying company not helping anymore
Replies: 2
First post
Hi People,
I am currently on S-pass and a software engineer by profession. So here is what the case is:
My new company applied for an EP pass which...
Last post
HR in some companies aren’t really that good, despite their ‘internal clients’ asking them to process the hiring with MOM, or appeal. You may take...
- 2 Replies
- 3936 Views
-
Last post by talk007
Tue, 02 Jul 2019 8:41 am
-
-
- 0 Replies
- 3896 Views
-
Last post by Pal
Thu, 04 Jun 2020 2:03 pm
-
-
- 0 Replies
- 3323 Views
-
Last post by Pal
Wed, 01 Jul 2020 5:17 pm
-
-
Helping Hawkers Go Digital
OG1597826077hawkerjSLuF.jpg
Since 19 June, Singapore has made the transition into Phase 2 of its reopening plan where people are once again...
- 0 Replies
- 4961 Views
-
Last post by Pal
Wed, 19 Aug 2020 4:37 pm
-
-
- 0 Replies
- 2230 Views
-
Last post by ProjectStillYoung
Wed, 10 Apr 2019 8:30 pm
Users browsing this forum: No registered users and 0 guests