473,327 Members | 1,919 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

KDE or GNOME?

using System;
using System.Collections;

class Test
{
[STAThread]
static void Main()
{
ArrayList replies = new ArrayList();

foreach (Poster p in Newsgroup.Instance.Posters) {
string reply = p.PoseQuestion("Do you prefer KDE or GNOME?");
replies.Add(reply);
}

foreach (string reply in replies) {
BrainHelper.ProcessReply(reply);
}
}
}
Nov 14 '05 #1
8 1619
In article <82**************************@posting.google.com >, "Simon"
<so***********@yahoo.com> wrote:
using System;
using System.Collections;
class Test


This does not belong in comp.lang.c, we don't have classes.
Nov 14 '05 #2
Mark A. Odell wrote:
In article <82**************************@posting.google.com >, "Simon"
<so***********@yahoo.com> wrote:
using System;
using System.Collections;
class Test


This does not belong in comp.lang.c, we don't have classes.


That's OK, Linux users don't have class either.
Nov 14 '05 #3
"Simon" <so***********@yahoo.com> wrote in message
news:82**************************@posting.google.c om...
using System;
using System.Collections;

class Test
{
[STAThread]
static void Main()
{
ArrayList replies = new ArrayList();

foreach (Poster p in Newsgroup.Instance.Posters) {
string reply = p.PoseQuestion("Do you prefer KDE or GNOME?");
replies.Add(reply);
}

foreach (string reply in replies) {
BrainHelper.ProcessReply(reply);
}
}
}

What language is that. The using statements above resemble strongly the .net
namespaces so i assume C# or VB. Anyway this message is off topic in
comp.lang.c.


Ioannis Vranos


Nov 14 '05 #4
Ioannis Vranos wrote:
"Simon" <so***********@yahoo.com> wrote in message
news:82**************************@posting.google.c om...
using System;
using System.Collections;

class Test
{
[STAThread]
static void Main()
{
ArrayList replies = new ArrayList();

foreach (Poster p in Newsgroup.Instance.Posters) {
string reply = p.PoseQuestion("Do you prefer KDE or GNOME?");
replies.Add(reply);
}

foreach (string reply in replies) {
BrainHelper.ProcessReply(reply);
}
}
}


What language is that. The using statements above resemble strongly the .net
namespaces so i assume C# or VB. Anyway this message is off topic in
comp.lang.c.


I'm convinced that with a number of -D... CPPFLAGS this code could
be obfuscated into valid C.
Nov 14 '05 #5
"Mark A. Odell" wrote:

In article <82**************************@posting.google.com >, "Simon"
<so***********@yahoo.com> wrote:
using System;
using System.Collections;
class Test


This does not belong in comp.lang.c, we don't have classes.


What do you mean? I see classes in C given at local schools all the time.

--
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody | www.hvcomputer.com | |
| kenbrody at spamcop.net | www.fptech.com | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+

Nov 14 '05 #6
Simon wrote:
using System;
using System.Collections;

class Test
{
[STAThread]
static void Main()
{
ArrayList replies = new ArrayList();

foreach (Poster p in Newsgroup.Instance.Posters) {
string reply = p.PoseQuestion("Do you prefer KDE or GNOME?");
replies.Add(reply);
}

foreach (string reply in replies) {
BrainHelper.ProcessReply(reply);
}
}
}


this is C#
i think it's a joke. but i don't understand it.

Nov 14 '05 #7
Error BR-549: MS DRM 1.0 rejects the following post from Mark A. Odell:
In article <82**************************@posting.google.com >, "Simon"
<so***********@yahoo.com> wrote:
using System;
using System.Collections;
class Test


This does not belong in comp.lang.c, we don't have classes.


Sure you do. Just go to The Learning Tree.

--
Close source, closed society
Open source, open society
Free source, Free society
Nov 14 '05 #8
|lobo| wrote:
Simon wrote:
using System;
using System.Collections;

class Test
{
[STAThread]
static void Main()
{
ArrayList replies = new ArrayList();

foreach (Poster p in Newsgroup.Instance.Posters) {
string reply = p.PoseQuestion("Do you prefer KDE or GNOME?");
replies.Add(reply);
}

foreach (string reply in replies) {
BrainHelper.ProcessReply(reply);
}
}
}

this is C#
i think it's a joke. but i don't understand it.


C# is a joke, like all other Micro$oft products.
Just kidding.
Just kidding.

Case

Nov 14 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Charlie Kim | last post by:
Here is gnome applet source of mine. -------------------------------------------------- #!/usr/bin/env python import pydic import gtk import gnome.applet
0
by: Dan Nawara | last post by:
when installing gnome-python I get the following error.... *** 'pkg-config --modversion gtk+-2.0' returned 2.2.4, but GTK+ (2.2.1) *** was found! If pkg-config was correct, then it is best ***...
1
by: Vincent Montressor | last post by:
I'm playing around with writing my own panel applets, and I'm trying to figure out how to get my panel applets to be restored when I log in. As an experiment, I'm using the simple clock applet...
1
by: Jeremy C. Reed | last post by:
Configuring gramps (genealogy software) says: checking Python bindings for gtk... ok checking Python bindings for GNOME... ok checking Python bindings for gconf... Traceback (most recent call...
4
by: Dave Anderson | last post by:
I love using Idle as my IDE for python on Windows. I've briefly tried some other IDE's, but the clean and simple nature of Idle keeps me coming back to it. Recently, I tried out Idle on Fedora....
3
by: bruce | last post by:
hi... i'm running rh8.0 with gnome.. i'm not sure of the version (it's whatever rh shipped). i've recently updated (or tried to update) python to the latest version. when i try to run the...
2
by: Mulac | last post by:
Is Tkinter also compatible wih GNOME? I wrote a program in python that displays 2 buttons for starting and stopping the execution of a program. I used Tkinter for the gui. I want the program to...
2
by: egbert | last post by:
When I start the following script in a gnome-terminal: #!/usr/bin/env python import os print "hello gnome-terminal" print os.environ I see the expected results in the same gnome-terminal...
1
by: combas | last post by:
Customizing can be interesting and of course there is no shortage of things you can customize. Here is an example: #launch gnome-terminal, resize to 80 wide 12 tall, then launch irb ...
2
by: veronikadoo | last post by:
can anybody tell me in detail about GNOME or perfect website from where i get everything about GNOME thanks in advance veronika
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.