I've been a member since February and this is the first thread I have created -- now I finally get to see where that solve button is!

Anyway on a more serious -- who maintains the code templates for daniweb's programming forums? I post a lot in the C# and MSSQL forums and a lot of the words aren't colored with syntax highlighting. Can daniweb open up those templates to allow contributions to them (obviously moderator approved or what have you) with either source control or a new forum mechanism?

Recommended Answers

All 2 Replies

You mean like this: Color coding requires the language option in to code tags

#include <iostream>
int main()
{
   std::cout << "Hello World\n";
}

You mean like this:

#include <iostream>
int main()
{
   std::cout << "Hello World\n";
}

Yes, like that. Or:

Declare @Tab Table
(
  PK int identity(1000, 1) PRIMARY KEY NONCLUSTERED,
  string varchar(20)
)

Declare @pk int
Insert Into @Tab (string) Values ('hello, daniweb.')
Set @pk = Cast(SCOPE_IDENTITY() as int)

Select @PK
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.