Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


freitasm

BDFL - Memuneh
79263 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

#110942 19-Oct-2012 21:50
Send private message

This might make some happy around here... After a while I've decided to implement the encoding needed to allow posting code. Please use the existing [code] tags (BBCODE guide here):


using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;

namespace MvcDemo.Models
{
public class MovieDB
{
public int ID { get; set; }
public string Title { get; set; }
public string Director { get; set; }
public DateTime Date { get; set; }

}
public class MovieDBContext : DbContext
{
public DbSet<MovieDB> Movies { get; set; } 
}
}

<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
</head>

<body>
The content of the document......
</body>

</html>

<img src="pulpit.jpg" alt="Pulpit rock" width="304" height="228">





Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup


Create new topic
mattRSK
822 posts

Ultimate Geek

Trusted

  #703808 19-Oct-2012 22:45
Send private message

 

#include

main()
{
printf("Hello World");

}





Behodar
10504 posts

Uber Geek

Trusted
Lifetime subscriber

  #703809 19-Oct-2012 22:52
Send private message

That looks suspiciously like the Microsoft example of how to use MVC ;)

mjb

mjb
996 posts

Ultimate Geek

Trusted

  #703840 19-Oct-2012 23:50
Send private message

mattRSK:
  
main()



In the words of a good friend,

int main(); int main(); int main(); int main(); int main(); int main(); dammit!

(also, you're missing argc and argv, but I'll let you off)




contentsofsignaturemaysettleduringshipping




michaelmurfy
meow
13242 posts

Uber Geek

Moderator
ID Verified
Trusted
Lifetime subscriber

  #703849 20-Oct-2012 00:11
Send private message

About time :)

Good Job, now go outside, it's dark cold and raining at the moment but the fresh air is good for you I've heard.




Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)

Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.


mattRSK
822 posts

Ultimate Geek

Trusted

  #703966 20-Oct-2012 11:22
Send private message

mjb:
mattRSK:
   
main()



In the words of a good friend,

int main(); int main(); int main(); int main(); int main(); int main(); dammit!

(also, you're missing argc and argv, but I'll let you off)


I'll admit it was a terrible rushed job.

Zeon
3916 posts

Uber Geek

Trusted

  #703973 20-Oct-2012 11:36
Send private message

 
if (1 = 1) { echo 'Zeon is obviously l33t h@x0r programmer' };




Speedtest 2019-10-14


freitasm

BDFL - Memuneh
79263 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #703999 20-Oct-2012 12:58
Send private message

mattRSK:
mjb:
mattRSK:
    
main()



In the words of a good friend,

int main(); int main(); int main(); int main(); int main(); int main(); dammit!

(also, you're missing argc and argv, but I'll let you off)


I'll admit it was a terrible rushed job.


Wheedle style?




Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup


 
 
 

Shop now on AliExpress (affiliate link).
Behodar
10504 posts

Uber Geek

Trusted
Lifetime subscriber

  #704001 20-Oct-2012 13:00
Send private message

freitasm: Wheedle style?

After seeing Zeon's example above using assignment instead of equality... ;)

mjb

mjb
996 posts

Ultimate Geek

Trusted

  #704080 20-Oct-2012 18:12
Send private message

Behodar:
freitasm: Wheedle style?

After seeing Zeon's example above using assignment instead of equality... ;)


That's fine, in some languages... but the combination of that, braces, and 'echo', I'm not sure which language it is!




contentsofsignaturemaysettleduringshipping


gzt

gzt
17111 posts

Uber Geek

Lifetime subscriber

  #706327 25-Oct-2012 15:32
Send private message

Just noticed the code tag does not escape bbcode.

Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.